summaryrefslogtreecommitdiffstats
path: root/tools/test/h5stat/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-03-05 17:07:16 (GMT)
committerGitHub <noreply@github.com>2024-03-05 17:07:16 (GMT)
commit0be892585a63a34d8dbe687c2cebdbff30809cce (patch)
tree83d9528271f21f3497e667546e68602bb0dc35f6 /tools/test/h5stat/CMakeTests.cmake
parent42c7e1d073d6e8070d5483bfdf30f5039a69b264 (diff)
downloadhdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.zip
hdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.tar.gz
hdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.tar.bz2
Rename incorrectly named option (#4067)
* Rename incorrectly named option * Restore the correct uses of USING_MEMCHECKER * Update release note
Diffstat (limited to 'tools/test/h5stat/CMakeTests.cmake')
-rw-r--r--tools/test/h5stat/CMakeTests.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/test/h5stat/CMakeTests.cmake b/tools/test/h5stat/CMakeTests.cmake
index 5e1833f..ed45e93 100644
--- a/tools/test/h5stat/CMakeTests.cmake
+++ b/tools/test/h5stat/CMakeTests.cmake
@@ -95,12 +95,12 @@
macro (ADD_H5_TEST resultfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5STAT-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5stat> ${ARGN})
if (${resultcode})
set_tests_properties (H5STAT-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()
- else (HDF5_ENABLE_USING_MEMCHECKER)
+ else (HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5STAT-${resultfile}
COMMAND "${CMAKE_COMMAND}"
@@ -124,12 +124,12 @@
macro (ADD_H5_ERR_TEST resultfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5STAT-${resultfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5stat> ${ARGN})
if (${resultcode})
set_tests_properties (H5STAT-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()
- else (HDF5_ENABLE_USING_MEMCHECKER)
+ else (HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5STAT-${resultfile}
COMMAND "${CMAKE_COMMAND}"