summaryrefslogtreecommitdiffstats
path: root/config/cmake/volTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-18 18:16:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-18 18:16:38 (GMT)
commit8adbf2552b34bd9bacf47b1196990cf568a9156e (patch)
tree7dc395e6c8a68227418861bfad1fa82fcee5ae7e /config/cmake/volTest.cmake
parentf25e78ad4216a776b0166a016a7abedd85e219e6 (diff)
downloadhdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.zip
hdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.tar.gz
hdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.tar.bz2
Fix CMake policy 54 warnings
Diffstat (limited to 'config/cmake/volTest.cmake')
-rw-r--r--config/cmake/volTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/volTest.cmake b/config/cmake/volTest.cmake
index 27da8a5..d8c82a4 100644
--- a/config/cmake/volTest.cmake
+++ b/config/cmake/volTest.cmake
@@ -60,7 +60,7 @@ if (ERROR_APPEND AND EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}.err)
endif ()
# if the return value is !=${TEST_EXPECT} bail out
-if (NOT "${TEST_RESULT}" STREQUAL "${TEST_EXPECT}")
+if (NOT TEST_RESULT EQUAL TEST_EXPECT)
if (NOT TEST_NOERRDISPLAY)
if (EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}.out)
file (READ ${TEST_FOLDER}/${TEST_OUTPUT}.out TEST_STREAM)