mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Getting tests to run in parallel under cmake
This commit is contained in:
parent
f14b988ee9
commit
136a717d26
@ -7,12 +7,7 @@ FOREACH(F ${CDL_EXAMPLE_TESTS})
|
||||
add_sh_test(cdl ${F})
|
||||
ENDFOREACH()
|
||||
|
||||
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.sh)
|
||||
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} simple_xy.cdl sfc_pres_temp.cdl pres_temp_4D.cdl CMakeLists.txt Makefile.am create_sample_files.sh do_comps.sh)
|
||||
|
||||
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|
||||
|
||||
SET_TESTS_PROPERTIES(cdl_do_comps PROPERTIES DEPENDS cdo_create_sample_files)
|
||||
|
||||
SET(CLEANFILES simple_xy.nc sfc_pres_temp.nc pres_temp_4D.nc)
|
||||
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}")
|
||||
|
||||
|
@ -176,7 +176,7 @@ ENDIF()
|
||||
# is different, but the result is actually correct.
|
||||
#IF(NOT MSVC)
|
||||
add_sh_test(ncdump tst_netcdf4)
|
||||
add_bin_test_no_prefix(tst_h_rdc0)
|
||||
build_bin_test_no_prefix(tst_h_rdc0)
|
||||
#ENDIF()
|
||||
|
||||
add_bin_test_no_prefix(tst_unicode)
|
||||
|
Loading…
Reference in New Issue
Block a user