Skip to content

Commit

Permalink
Updated the tests and removed the outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
makepath-alex committed Jan 10, 2025
1 parent 2de1982 commit ac6b623
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions recipes/rte-rrtmgp/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac6b623

Please sign in to comment.