diff --git a/tests/Makefile b/tests/Makefile index 7439b5835..b06b11286 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -76,12 +76,8 @@ optical_prop_unit_tests : $(LIB_DEPS) mo_testing_utils.o optical_prop_unit_test .PHONY: tests tests: cp ${RRTMGP_DATA}/examples/rfmip-clear-sky/inputs/multiple_input4MIPs_radiation_RFMIP_UColorado-RFMIP-1-2_none.nc ./test_atmospheres.nc - $(RUN_CMD) (./optical_prop_unit_tests && ./rte_unit_tests && \ - ./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g128.nc && \ - ./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g224.nc && \ - ./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g112.nc && \ - ./check_variants test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g256.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g128.nc && \ - ./check_variants test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g224.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g112.nc ) + $(RUN_CMD) bash all_tests.sh + check: echo "Nothing to check in tests/" diff --git a/tests/all_tests.sh b/tests/all_tests.sh new file mode 100644 index 000000000..8c25d354a --- /dev/null +++ b/tests/all_tests.sh @@ -0,0 +1,8 @@ +set -e +./optical_prop_unit_tests +./rte_unit_tests +./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g128.nc +./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g224.nc +./check_equivalence test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g112.nc +./check_variants test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g256.nc ${RRTMGP_DATA}/rrtmgp-gas-lw-g128.nc +./check_variants test_atmospheres.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g224.nc ${RRTMGP_DATA}/rrtmgp-gas-sw-g112.nc \ No newline at end of file