summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
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/CMakeTests.cmake
parentb36bad53d9d5930ef1339d0db1bd7152c0e9b75d (diff)
downloadhdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.zip
hdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.tar.gz
hdf5-90f01d5b160e0cbf950a9378d0a2625918a6eeb8.tar.bz2
Fix IN_LIST usage
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
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"