summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/runTest.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-18 17:02:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-18 17:02:42 (GMT)
commitb901552b1ca315db8b27ea090011f2f557491d46 (patch)
treeedf2c01077258e07693a49d513cbbd021bdfc5a6 /config/cmake_ext_mod/runTest.cmake
parent5ad3891d9b861593ebe25d540bed2d913eb83aba (diff)
parent6d07eb126e63b025199a5fe68f41a42269b5921b (diff)
downloadhdf5-b901552b1ca315db8b27ea090011f2f557491d46.zip
hdf5-b901552b1ca315db8b27ea090011f2f557491d46.tar.gz
hdf5-b901552b1ca315db8b27ea090011f2f557491d46.tar.bz2
Merge pull request #1559 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '6d07eb126e63b025199a5fe68f41a42269b5921b': Update standard check Fix typo HDFFV-10703 Update version match logic HDFFV-10703 revert pre-3.11 option HDFFV-10703 macro vars need quotes HDFFV-10703 Update CMake commands to latest standard Use correct variable name
Diffstat (limited to 'config/cmake_ext_mod/runTest.cmake')
-rw-r--r--config/cmake_ext_mod/runTest.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/cmake_ext_mod/runTest.cmake b/config/cmake_ext_mod/runTest.cmake
index 48402a2..13e8a4d 100644
--- a/config/cmake_ext_mod/runTest.cmake
+++ b/config/cmake_ext_mod/runTest.cmake
@@ -218,8 +218,8 @@ if (NOT TEST_SKIP_COMPARE)
foreach (line RANGE 0 ${_FP_LEN})
list (GET test_act ${line} str_act)
list (GET test_ref ${line} str_ref)
- if (NOT ${str_act} STREQUAL ${str_ref})
- if (NOT str_act STREQUAL "")
+ if (NOT str_act STREQUAL str_ref)
+ if (str_act)
set (TEST_RESULT 1)
message ("line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
endif ()
@@ -270,8 +270,8 @@ if (NOT TEST_SKIP_COMPARE)
foreach (line RANGE 0 ${_FP_LEN})
list (GET test_act ${line} str_act)
list (GET test_ref ${line} str_ref)
- if (NOT ${str_act} STREQUAL ${str_ref})
- if (NOT ${str_act} STREQUAL "")
+ if (NOT str_act STREQUAL str_ref)
+ if (str_act)
set (TEST_RESULT 1)
message ("line = ${line}\n***ACTUAL: ${str_act}\n****REFER: ${str_ref}\n")
endif ()