summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-27 19:33:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-27 19:33:38 (GMT)
commit90f01d5b160e0cbf950a9378d0a2625918a6eeb8 (patch)
treebaaa3e1ccaad94e8c8f37156a3318194e5652e41 /test
parentb36bad53d9d5930ef1339d0db1bd7152c0e9b75d (diff)
downloadhdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.zip
hdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.tar.gz
hdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.tar.bz2
Fix IN_LIST usage
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--test/CMakeTests.cmake4
-rw-r--r--test/CMakeVFDTests.cmake2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index cdab4f5..fd16f20 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 9b1ea6b..67bb502 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -548,7 +548,7 @@ set (H5TEST_SEPARATE_TESTS
cache_image
)
foreach (test ${H5TEST_TESTS})
- if (NOT "${test}" IN_LIST ${H5TEST_SEPARATE_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
@@ -599,7 +599,7 @@ if (BUILD_SHARED_LIBS)
)
foreach (test ${H5TEST_TESTS})
- if (NOT "${test}" IN_LIST ${H5TEST_SEPARATE_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 9897f3f..20020f8 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 ()