2012-08-29 06:31:07 +08:00
|
|
|
SET(exam_C_tests simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd)
|
2013-06-04 00:42:04 +08:00
|
|
|
SET(exam_C_tests_source "")
|
2014-06-12 05:51:31 +08:00
|
|
|
FOREACH(F ${exam_C_tests})
|
2013-06-04 00:42:04 +08:00
|
|
|
set(exam_C_tests_source ${exam_C_test_source} ${F}.c)
|
|
|
|
ENDFOREACH()
|
2012-08-29 06:31:07 +08:00
|
|
|
|
|
|
|
FOREACH(F ${exam_C_tests})
|
2014-04-22 01:15:33 +08:00
|
|
|
add_bin_test(C_tests ${F})
|
2012-08-29 06:31:07 +08:00
|
|
|
ENDFOREACH()
|
|
|
|
|
2017-11-23 03:10:58 +08:00
|
|
|
SET_TESTS_PROPERTIES(C_tests_simple_xy_rd PROPERTIES DEPENDS C_tests_simple_xy_wr)
|
|
|
|
SET_TESTS_PROPERTIES(C_tests_sfc_pres_temp_rd PROPERTIES DEPENDS C_tests_sfc_pres_temp_wr)
|
|
|
|
SET_TESTS_PROPERTIES(C_tests_pres_temp_4D_rd PROPERTIES DEPENDS C_tests_pres_temp_4D_wr)
|
2013-06-04 00:42:04 +08:00
|
|
|
|
2012-08-29 06:31:07 +08:00
|
|
|
SET(CLEANFILES sfc_pres_temp.nc simple_xy.nc pres_temp_4D.nc simple_nc4.nc simple_xy_nc4.nc)
|
|
|
|
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}")
|