HDFFV-10703 Update CMake commands to latest standard
This commit is contained in:
@@ -178,10 +178,10 @@
|
||||
if (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
add_test (NAME H5DUMP_XML-${resultfile} COMMAND $<TARGET_FILE:h5dump> --xml ${ARGN})
|
||||
set_tests_properties (H5DUMP_XML-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/xml")
|
||||
if (NOT "${resultcode}" STREQUAL "0")
|
||||
if (${resultcode})
|
||||
set_tests_properties (H5DUMP_XML-${resultfile} PROPERTIES WILL_FAIL "true")
|
||||
endif ()
|
||||
if (NOT "${last_xml_test}" STREQUAL "")
|
||||
if (last_xml_test)
|
||||
set_tests_properties (H5DUMP_XML-${resultfile} PROPERTIES DEPENDS ${last_xml_test})
|
||||
endif ()
|
||||
else ()
|
||||
@@ -357,7 +357,7 @@
|
||||
tvlstr.h5.out.err
|
||||
)
|
||||
set_tests_properties (H5DUMP-XML-clearall-objects PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/xml")
|
||||
if (NOT "${last_xml_test}" STREQUAL "")
|
||||
if (last_xml_test)
|
||||
set_tests_properties (H5DUMP-XML-clearall-objects PROPERTIES DEPENDS ${last_xml_test})
|
||||
endif ()
|
||||
set (last_test "H5DUMP-XML-clearall-objects")
|
||||
|
||||
Reference in New Issue
Block a user