summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-15 22:04:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-15 22:04:06 (GMT)
commit58e6e3e102180e6ab454441869ec68b2ef506f20 (patch)
tree90ded4497024c3f7603b05167a0aa6322c7c60cf /test/CMakeTests.cmake
parent122b63a5a27227f2349634f4e8f8e43d739255f5 (diff)
downloadhdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.zip
hdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.tar.gz
hdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.tar.bz2
HDFFV-10703 macro vars need quotes
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 26e5a78..c606eb1 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -555,7 +555,7 @@ foreach (h5_test ${H5_TESTS})
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
)
else ()
- if (h5_test STREQUAL "big" AND CYGWIN)
+ if ("${h5_test}" STREQUAL "big" AND CYGWIN)
add_test (NAME H5TEST-${h5_test}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP ${test}"
)
@@ -598,7 +598,7 @@ if (BUILD_SHARED_LIBS)
foreach (h5_test ${H5_TESTS})
if (NOT h5_test IN_LIST H5TEST_SEPARATE_TESTS)
- if (h5_test STREQUAL "big" AND CYGWIN)
+ if ("${h5_test}" STREQUAL "big" AND CYGWIN)
add_test (NAME H5TEST-shared-${h5_test}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP ${test}-shared"
)