Skip to content

Commit

Permalink
Add last_test depends properties
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 25, 2023
1 parent 87a188c commit 7849c0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/test/misc/CMakeTestsClear.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
-D "TEST_REFERENCE=${resultfile}.ddl"
-P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
if (last_test)
set_tests_properties (H5CLEAR_CMP-${testname} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "H5CLEAR_CMP-${testname}")
endif ()
endmacro ()

Expand All @@ -117,6 +121,10 @@
-D "TEST_ERRREF=${resultfile}.err"
-P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
if (last_test)
set_tests_properties (H5CLEAR_CMP-${testname} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "H5CLEAR_CMP-${testname}")
endif ()
endmacro ()

Expand Down

0 comments on commit 7849c0b

Please sign in to comment.