From ac6b6230dee1ddcbc7e2dc01b287c938994b91ca Mon Sep 17 00:00:00 2001 From: Alexander Soklev Date: Fri, 10 Jan 2025 15:28:58 +0200 Subject: [PATCH] Updated the tests and removed the outputs --- recipes/rte-rrtmgp/meta.yaml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/recipes/rte-rrtmgp/meta.yaml b/recipes/rte-rrtmgp/meta.yaml index d006782af3748..55c21f13fd1f4 100644 --- a/recipes/rte-rrtmgp/meta.yaml +++ b/recipes/rte-rrtmgp/meta.yaml @@ -48,22 +48,18 @@ requirements: test: commands: # Check if the files exists - # Unix & Win (we build with mingw, so it generates .a files) - - test -f $PREFIX/include/rrtmgp_kernels.h - - test -f $PREFIX/include/rte_kernels.h - - test -f $PREFIX/include/rte_types.h - - test -f $PREFIX/lib/librrtmgp.a - - test -f $PREFIX/lib/librte.a - -outputs: - - name: rte_rrtmgp - files: - # Unix & Win - - include/rrtmgp_kernels.h - - include/rte_kernels.h - - include/rte_types.h - - lib/librrtmgp.a - - lib/librte.a + # Unix + - test -f $PREFIX/include/rrtmgp_kernels.h # [unix] + - test -f $PREFIX/include/rte_kernels.h # [unix] + - test -f $PREFIX/include/rte_types.h # [unix] + - test -f $PREFIX/lib/librte.a # [unix] + - test -f $PREFIX/lib/librrtmgp.a # [unix] + # Win (we build with mingw, so it generates .a files) + - if exist "%PREFIX%\include\rrtmgp_kernels.h" (exit /b 0) else (exit /b 1) # [win] + - if exist "%PREFIX%\include\rte_kernels.h" (exit /b 0) else (exit /b 1) # [win] + - if exist "%PREFIX%\include\rte_types.h" (exit /b 0) else (exit /b 1) # [win] + - if exist "%PREFIX%\lib\librte.a" (exit /b 0) else (exit /b 1) # [win] + - if exist "%PREFIX%\lib\librrtmgp.a" (exit /b 0) else (exit /b 1) # [win] about: home: https://github.com/earth-system-radiation/rte-rrtmgp