Merge test output file clearing into runTest.cmake
This commit is contained in:
@@ -90,17 +90,6 @@ ENDMACRO (ADD_H5_TEST file)
|
||||
|
||||
if (BUILD_TESTING)
|
||||
foreach (example ${HDF_JAVA_EXAMPLES})
|
||||
add_test (
|
||||
NAME JAVA_groups-${example}-clear-objects
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-E remove
|
||||
${example}.out
|
||||
${example}.out.err
|
||||
)
|
||||
if (NOT "${last_test}" STREQUAL "")
|
||||
set_tests_properties (JAVA_groups-${example}-clear-objects PROPERTIES DEPENDS ${last_test})
|
||||
endif (NOT "${last_test}" STREQUAL "")
|
||||
set (last_test "JAVA_groups-${example}-clear-objects")
|
||||
if (NOT ${example} STREQUAL "H5Ex_G_Iterate" AND NOT ${example} STREQUAL "H5Ex_G_Visit")
|
||||
if (${example} STREQUAL "H5Ex_G_Compact")
|
||||
add_test (
|
||||
|
||||
Reference in New Issue
Block a user