summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--test/CMakeTests.cmake9
-rw-r--r--test/CMakeVFDTests.cmake2
3 files changed, 7 insertions, 6 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index fd16f20..fd88b5f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -269,7 +269,7 @@ set (H5_TESTS_MULTIPLE
)
# Only build single source tests here
foreach (test ${H5_TESTS})
- if (NOT "${test}" IN_LIST H5_TESTS_MULTIPLE)
+ if (NOT ${test} IN_LIST H5_TESTS_MULTIPLE)
ADD_H5_EXE(${test})
endif ()
endforeach ()
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 67bb502..221b857 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -544,11 +544,12 @@ add_test (NAME H5TEST-clear-objects
)
set (H5TEST_SEPARATE_TESTS
+ testhdf5
cache
cache_image
)
-foreach (test ${H5TEST_TESTS})
- if (NOT "${test}" IN_LIST H5TEST_SEPARATE_TESTS)
+foreach (test ${H5_TESTS})
+ if (NOT ${test} IN_LIST H5TEST_SEPARATE_TESTS)
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME H5TEST-${test} COMMAND $<TARGET_FILE:${test}>)
set_tests_properties (H5TEST-${test} PROPERTIES
@@ -598,8 +599,8 @@ if (BUILD_SHARED_LIBS)
${HDF5_TEST_BINARY_DIR}/H5TEST-shared
)
- foreach (test ${H5TEST_TESTS})
- if (NOT "${test}" IN_LIST H5TEST_SEPARATE_TESTS)
+ foreach (test ${H5_TESTS})
+ if (NOT ${test} IN_LIST H5TEST_SEPARATE_TESTS)
if ("${test}" STREQUAL "big" AND CYGWIN)
add_test (NAME H5TEST-shared-${test}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP ${test}-shared"
diff --git a/test/CMakeVFDTests.cmake b/test/CMakeVFDTests.cmake
index 20020f8..944b163 100644
--- a/test/CMakeVFDTests.cmake
+++ b/test/CMakeVFDTests.cmake
@@ -237,7 +237,7 @@ endif ()
macro (ADD_VFD_TEST vfdname resultcode)
foreach (test ${H5_TESTS})
- if (NOT "${test}" IN_LIST H5_VFD_SKIP_TESTS)
+ if (NOT ${test} IN_LIST H5_VFD_SKIP_TESTS)
if (WIN32)
CHECK_VFD_TEST (${test} ${vfdname} ${resultcode})
else ()