source: mainline/uspace/lib/pcut/tests/asserts.expected@ eec201d

Last change on this file since eec201d was 9eb1ff5, checked in by Vojtech Horky <vojtech.horky@…>, 8 years ago

Update PCUT

Updated PCUT to commit 7ce059f.

Notable changes include:

  • overall summary is printed when tests finish
  • when tests passed, the status message does not use the word 'failure'
  • program exit code is zero only when all tests passed

These changes fixes tickets 713 and 714.

http://www.helenos.org/ticket/713
http://www.helenos.org/ticket/714

  • Property mode set to 100644
File size: 841 bytes
Line 
11..9
2#> Starting suite Default.
3not ok 1 int_equals failed
4# error: asserts.c:36: Expected <1> but got <0> (1 != 0)
5not ok 2 double_equals failed
6# error: asserts.c:41: Expected <1.000000+-0.400000> but got <0.500000> (1. != 0.5)
7not ok 3 str_equals failed
8# error: asserts.c:46: Expected <abc> but got <xyz> ("abc" != "xyz")
9ok 4 str_equals_or_null_base
10not ok 5 str_equals_or_null_different failed
11# error: asserts.c:54: Expected <abc> but got <xyz> ("abc" != "xyz")
12not ok 6 str_equals_or_null_one_null failed
13# error: asserts.c:58: Expected <NULL> but got <xyz> (NULL != "xyz")
14ok 7 str_equals_or_null_both
15not ok 8 assert_true failed
16# error: asserts.c:67: Expected true but got <0>
17not ok 9 assert_false failed
18# error: asserts.c:72: Expected false but got <42>
19#> Finished suite Default (failed 7 of 9).
20#> Done: 7 of 9 tests failed.
Note: See TracBrowser for help on using the repository browser.