summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls/CMakeTestsVDS.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/h5ls/CMakeTestsVDS.cmake')
-rw-r--r--tools/test/h5ls/CMakeTestsVDS.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5ls/CMakeTestsVDS.cmake b/tools/test/h5ls/CMakeTestsVDS.cmake
index 9251718..4658bdc 100644
--- a/tools/test/h5ls/CMakeTestsVDS.cmake
+++ b/tools/test/h5ls/CMakeTestsVDS.cmake
@@ -83,7 +83,7 @@
macro (ADD_H5_VDS_TEST resultfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5LS-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5ls> ${ARGN})
set_tests_properties (H5LS-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/vds")
if ("${resultcode}" STREQUAL "1")
@@ -110,7 +110,7 @@
macro (ADD_H5_VDS_PREFIX_TEST resultfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5LS_PREFIX-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5ls> ${ARGN})
set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES
ENVIRONMENT "HDF5_VDS_PREFIX=\${ORIGIN}"