Skip to content

Commit bb1b50f

Browse files
committed
fixup
1 parent 18cb3c7 commit bb1b50f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/gwb-dat/run_gwb-dat_tests.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ file(WRITE ${TEST_OUTPUT} ${TEST_OUTPUT_PROCESSED})
6060
if( TEST_RESULT_VAR )
6161
Message(STATUS "RAW test result var = ${TEST_ERROR_VAR}")
6262
String(REGEX REPLACE "(.*)AssertThrow `(.*)` failed in (.*)source([^ )(]*) at line ([01234567890]*): (.*)" "AssertThrow `(..error type..)` failed in (..path..)/source\\4 at line (..line..): \\6" TEST_ERROR_VAR_PROCESSED "${TEST_ERROR_VAR}")
63+
string(REPLACE "\\" "/" TEST_ERROR_PROCESSED TEST_ERROR_PROCESSED)
6364
string(FIND "${TEST_ERROR_VAR_PROCESSED}" "AssertThrow" FIRST_BRACKET)
6465
string(FIND "${TEST_ERROR_VAR_PROCESSED}" "Error not recoverable, aborting program." LAST_BRACKET REVERSE)
6566
MATH(EXPR LAST_BRACKET ${LAST_BRACKET})
@@ -90,6 +91,8 @@ IF("${TEST_DIFF}" MATCHES ".*exe")
9091
ENDIF()
9192
execute_process(COMMAND ${TEST_D2U} ${TEST_NATIVE_OUTPUT})
9293
execute_process(COMMAND ${TEST_D2U} ${TEST_NATIVE_REFERENCE})
94+
message(status "native output: ${TEST_NATIVE_OUTPUT}")
95+
message(status "native reference: ${TEST_NATIVE_REFERENCE}")
9396
ENDIF()
9497

9598
# now compare the output with the reference

0 commit comments

Comments
 (0)