mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-07 17:08:02 +08:00
Changed test order to resolve dependency which caused an issue on centos platforms.
This commit is contained in:
parent
92121f5ad5
commit
534d24c689
@ -20,6 +20,7 @@ ENDIF()
|
||||
|
||||
# If the v2 API was built, add the test program.
|
||||
IF(ENABLE_V2_API)
|
||||
|
||||
build_bin_test(tst_v2)
|
||||
ENDIF()
|
||||
|
||||
@ -30,14 +31,6 @@ ENDIF()
|
||||
|
||||
IF(USE_HDF4)
|
||||
SET(NC4_TESTS ${NC4_TESTS} tst_interops2)
|
||||
|
||||
IF(USE_HDF4_FILE_TESTS AND NOT MSVC)
|
||||
add_sh_test(nc_test4 run_get_hdf4_files)
|
||||
add_bin_test(nc_test4 tst_interops3)
|
||||
add_sh_test(nc_test4 tst_formatx_hdf4)
|
||||
build_bin_test(tst_chunk_hdf4)
|
||||
add_sh_test(nc_test4 run_chunk_hdf4)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
IF(BUILD_BENCHMARKS)
|
||||
@ -66,6 +59,17 @@ FOREACH(CTEST ${NC4_TESTS})
|
||||
add_bin_test(nc_test4 ${CTEST})
|
||||
ENDFOREACH()
|
||||
|
||||
# This must go after the 'foreach' stanza
|
||||
# immediately above this comment.
|
||||
IF(USE_HDF4_FILE_TESTS AND NOT MSVC)
|
||||
add_sh_test(nc_test4 run_get_hdf4_files)
|
||||
add_bin_test(nc_test4 tst_interops3)
|
||||
add_sh_test(nc_test4 tst_formatx_hdf4)
|
||||
build_bin_test(tst_chunk_hdf4)
|
||||
add_sh_test(nc_test4 run_chunk_hdf4)
|
||||
ENDIF()
|
||||
|
||||
|
||||
IF(TEST_PARALLEL)
|
||||
build_bin_test(tst_mpi_parallel)
|
||||
build_bin_test(tst_parallel)
|
||||
|
Loading…
Reference in New Issue
Block a user