source: mainline/uspace/lib/pcut/tests/teardown.expected

Last change on this file 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: 1005 bytes
Line 
11..5
2#> Starting suite with_teardown.
3ok 1 empty
4# stdio: This is teardown-function.
5not ok 2 failing failed
6# error: teardown.c:47: Expected <10> but got <1> (10 != intmin(1, 2))
7# stdio: This is teardown-function.
8#> Finished suite with_teardown (failed 1 of 2).
9#> Starting suite with_failing_teardown.
10not ok 3 empty2 failed
11# error: teardown.c:56: Expected <42> but got <10> (42 != intmin(10, 20))
12# stdio: This is failing teardown-function.
13not ok 4 printing2 failed
14# error: teardown.c:64: Expected <0> but got <-17> (0 != intmin(-17, -19))
15# error: teardown.c:56: Expected <42> but got <10> (42 != intmin(10, 20))
16# stdio: Printed before test failure.
17# stdio: This is failing teardown-function.
18not ok 5 failing2 failed
19# error: teardown.c:68: Expected <12> but got <3> (12 != intmin(3, 5))
20# error: teardown.c:56: Expected <42> but got <10> (42 != intmin(10, 20))
21# stdio: This is failing teardown-function.
22#> Finished suite with_failing_teardown (failed 3 of 3).
23#> Done: 4 of 5 tests failed.
Note: See TracBrowser for help on using the repository browser.