1 12 Merge SZ plugin changes from develop (#1455)
* Merge SZ plugin changes from develop * Update examples version * Update examples version
This commit is contained in:
@@ -243,7 +243,14 @@ if (NOT TEST_SKIP_COMPARE)
|
||||
list (LENGTH test_act len_act)
|
||||
file (STRINGS ${TEST_FOLDER}/${TEST_REFERENCE} test_ref)
|
||||
list (LENGTH test_ref len_ref)
|
||||
if (NOT len_act EQUAL len_ref)
|
||||
set (TEST_COMPARE_RESULT 1)
|
||||
endif ()
|
||||
if (len_act GREATER 0 AND len_ref GREATER 0)
|
||||
if (TEST_SORT_COMPARE)
|
||||
list (SORT test_act)
|
||||
list (SORT test_ref)
|
||||
endif ()
|
||||
math (EXPR _FP_LEN "${len_ref} - 1")
|
||||
foreach (line RANGE 0 ${_FP_LEN})
|
||||
list (GET test_act ${line} str_act)
|
||||
@@ -263,9 +270,6 @@ if (NOT TEST_SKIP_COMPARE)
|
||||
message (STATUS "COMPARE Failed: ${TEST_FOLDER}/${TEST_REFERENCE} is empty")
|
||||
endif ()
|
||||
endif ()
|
||||
if (NOT len_act EQUAL len_ref)
|
||||
set (TEST_COMPARE_RESULT 1)
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user