summaryrefslogtreecommitdiffstats
path: root/config/cmake/vfdTest.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/vfdTest.cmake
parentf25e78ad4216a776b0166a016a7abedd85e219e6 (diff)
downloadhdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.zip
hdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.tar.gz
hdf5-8adbf2552b34bd9bacf47b1196990cf568a9156e.tar.bz2
Fix CMake policy 54 warnings
Diffstat (limited to 'config/cmake/vfdTest.cmake')
-rw-r--r--config/cmake/vfdTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/vfdTest.cmake b/config/cmake/vfdTest.cmake
index 95a4c40..b616958 100644
--- a/config/cmake/vfdTest.cmake
+++ b/config/cmake/vfdTest.cmake
@@ -60,7 +60,7 @@ if (ERROR_APPEND AND EXISTS ${TEST_FOLDER}/${TEST_OUTPUT}_${TEST_VFD}.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}_${TEST_VFD}.out)
file (READ ${TEST_FOLDER}/${TEST_OUTPUT}_${TEST_VFD}.out TEST_STREAM)