Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#713 closed defect (fixed)

Pcut test binaries don't summarize the results

Reported by: Jiri Svoboda Owned by: Vojtech Horky
Priority: major Milestone: 0.7.2
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


When you run a PCUT test binary, such as test-libc, it will run all the test suites. It will print the number of failed test cases for each of them. If there is a lot of tests, these will scroll away. At the end the only way to find out if there has been an error is to redirect the output to a file and then walk through it line-by-line checking for failure reports.

At the end the test binary should report an overall summary. Also in case of any errors the task should return non-zero exit code.

Change History (3)

comment:1 Changed 4 years ago by Vojtech Horky

Owner: set to Vojtech Horky
Status: newaccepted

comment:2 Changed 4 years ago by Vojtech Horky

Resolution: fixed
Status: acceptedclosed

Closing this ticket (commit 9eb1ff5d8638).

New output looks like this:

#> Starting suite Default.
ok 1 check_one
ok 2 check_two
#> Finished suite Default (passed).
#> Done: all tests passed.

comment:3 Changed 3 years ago by Jakub Jermář

Milestone: 0.7.2
Note: See TracTickets for help on using tickets.