diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index d6b3fe4..4f928b2 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -37,6 +37,7 @@ foreach(sample ${SAMPLES}) add_test(${sample}_compare sh ${CMAKE_CURRENT_LIST_DIR}/tests/run_test.sh "${CMAKE_CURRENT_LIST_DIR}" . . ${sample}) set_property(TEST ${sample}_compare PROPERTY + ENVIRONMENT "LC_ALL=en_US.utf8" ENVIRONMENT "CRITERION_ALWAYS_SUCCEED=1" ENVIRONMENT "CRITERION_SHORT_FILENAME=1" ) @@ -50,6 +51,7 @@ foreach(script ${SCRIPTS}) add_test(${script}_compare sh ${CMAKE_CURRENT_LIST_DIR}/tests/run_test.sh "${CMAKE_CURRENT_LIST_DIR}" . "${CMAKE_CURRENT_LIST_DIR}" tests/${sample}) set_property(TEST ${script}_compare PROPERTY + ENVIRONMENT "LC_ALL=en_US.utf8" ENVIRONMENT "CRITERION_ALWAYS_SUCCEED=1" ENVIRONMENT "CRITERION_SHORT_FILENAME=1" ) diff --git a/samples/asserts.err.expected b/samples/asserts.err.expected index 4ad5e0f..644a440 100644 --- a/samples/asserts.err.expected +++ b/samples/asserts.err.expected @@ -1,6 +1,6 @@ [----] asserts.c:11: Assertion failed: assert is fatal, expect isn't [----] asserts.c:12: Assertion failed: This assert runs -[FAIL] asserts::base: (0,00s) +[FAIL] asserts::base: (0.00s) [----] asserts.c:20: Assertion failed: The conditions for this test were not met. -[FAIL] asserts::old_school: (0,00s) +[FAIL] asserts::old_school: (0.00s) [====] Synthesis: Tested: 6 | Passing: 4 | Failing: 2 | Crashing: 0  diff --git a/samples/description.err.expected b/samples/description.err.expected index 33ee4a1..64ffe21 100644 --- a/samples/description.err.expected +++ b/samples/description.err.expected @@ -1,3 +1,3 @@ [----] description.c:4: Assertion failed: 0 -[FAIL] misc::failing: (0,00s) +[FAIL] misc::failing: (0.00s) [====] Synthesis: Tested: 1 | Passing: 0 | Failing: 1 | Crashing: 0  diff --git a/samples/long-messages.err.expected b/samples/long-messages.err.expected index 2507fbc..9658ae5 100644 --- a/samples/long-messages.err.expected +++ b/samples/long-messages.err.expected @@ -2,5 +2,5 @@ [----] A long message [----] Spawning multiple lines. [----] Formatting is respected. -[FAIL] sample::long_msg: (0,00s) +[FAIL] sample::long_msg: (0.00s) [====] Synthesis: Tested: 1 | Passing: 0 | Failing: 1 | Crashing: 0  diff --git a/samples/report.err.expected b/samples/report.err.expected index e7b9a78..5b8f140 100644 --- a/samples/report.err.expected +++ b/samples/report.err.expected @@ -1,3 +1,3 @@ [----] report.c:5: Assertion failed: 0 -[FAIL] sample::test: (0,00s) +[FAIL] sample::test: (0.00s) [====] Synthesis: Tested: 1 | Passing: 0 | Failing: 1 | Crashing: 0  diff --git a/samples/signal.err.expected b/samples/signal.err.expected index b0d4c59..8bc2b30 100644 --- a/samples/signal.err.expected +++ b/samples/signal.err.expected @@ -1,4 +1,4 @@ [----] signal.c:16: Unexpected signal caught below this line! [FAIL] simple::uncaught: CRASH! -[FAIL] simple::wrong_signal: (0,00s) +[FAIL] simple::wrong_signal: (0.00s) [====] Synthesis: Tested: 3 | Passing: 1 | Failing: 2 | Crashing: 1  diff --git a/samples/simple.err.expected b/samples/simple.err.expected index 2131286..ef375ca 100644 --- a/samples/simple.err.expected +++ b/samples/simple.err.expected @@ -1,3 +1,3 @@ [----] simple.c:4: Assertion failed: 0 -[FAIL] misc::failing: (0,00s) +[FAIL] misc::failing: (0.00s) [====] Synthesis: Tested: 2 | Passing: 1 | Failing: 1 | Crashing: 0