HDFFV-10703 Update CMake commands to latest standard
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user