diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-02-15 22:04:06 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-02-15 22:04:06 (GMT) |
commit | 58e6e3e102180e6ab454441869ec68b2ef506f20 (patch) | |
tree | 90ded4497024c3f7603b05167a0aa6322c7c60cf /test/CMakeVOLTests.cmake | |
parent | 122b63a5a27227f2349634f4e8f8e43d739255f5 (diff) | |
download | hdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.zip hdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.tar.gz hdf5-58e6e3e102180e6ab454441869ec68b2ef506f20.tar.bz2 |
HDFFV-10703 macro vars need quotes
Diffstat (limited to 'test/CMakeVOLTests.cmake')
-rw-r--r-- | test/CMakeVOLTests.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeVOLTests.cmake b/test/CMakeVOLTests.cmake index 7c02e23..cf47291 100644 --- a/test/CMakeVOLTests.cmake +++ b/test/CMakeVOLTests.cmake @@ -106,8 +106,8 @@ endif () # Windows only macro macro (CHECK_VOL_TEST voltest volname volinfo resultcode) - if (voltest STREQUAL "flush1" OR voltest STREQUAL "flush2") - if (volname STREQUAL "multi" OR volname STREQUAL "split") + if ("${voltest}" STREQUAL "flush1" OR "${voltest}" STREQUAL "flush2") + if ("${volname}" STREQUAL "multi" OR "${volname}" STREQUAL "split") if (NOT BUILD_SHARED_LIBS AND NOT ${HDF_CFG_NAME} MATCHES "Debug") add_test ( NAME VOL-${volname}-${voltest}-clear-objects @@ -236,7 +236,7 @@ endif () ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/${volname};HDF5TestExpress=${HDF_TEST_EXPRESS}" WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${volname} ) - if (BUILD_SHARED_LIBS AND NOT voltest STREQUAL "cache") + if (BUILD_SHARED_LIBS AND NOT "${voltest}" STREQUAL "cache") add_test ( NAME VOL-${volname}-${voltest}-shared-clear-objects COMMAND ${CMAKE_COMMAND} |