mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r23412] Add test depends on clear test. Occasional failures.
This commit is contained in:
parent
e7ced517bc
commit
0596de6267
@ -31,6 +31,9 @@ MACRO (HL_ADD_TEST hl_name files)
|
||||
SET_TARGET_PROPERTIES (hl_${hl_name} PROPERTIES FOLDER test/hl)
|
||||
|
||||
ADD_TEST (NAME hl_${hl_name} COMMAND $<TARGET_FILE:hl_${hl_name}>)
|
||||
IF (NOT "${last_test}" STREQUAL "")
|
||||
SET_TESTS_PROPERTIES (hl_${hl_name} PROPERTIES DEPENDS ${last_test})
|
||||
ENDIF (NOT "${last_test}" STREQUAL "")
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
#-- Copy the necessary files.
|
||||
@ -75,6 +78,10 @@ ADD_TEST (
|
||||
test_packet_table.h5
|
||||
test_table.h5
|
||||
)
|
||||
IF (NOT "${last_test}" STREQUAL "")
|
||||
SET_TESTS_PROPERTIES (hl_test-clear-objects PROPERTIES DEPENDS ${last_test})
|
||||
ENDIF (NOT "${last_test}" STREQUAL "")
|
||||
SET (last_test "hl_test-clear-objects")
|
||||
|
||||
HL_ADD_TEST (test_ds "dsdata.txt;dslat.txt;dslon.txt;test_ds_be.h5;test_ds_le.h5")
|
||||
HL_ADD_TEST (test_dset_opt "")
|
||||
|
Loading…
Reference in New Issue
Block a user