Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 6 months ago

Closed 6 months ago

#713 closed defect (fixed)

Pcut test binaries don't summarize the results

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

Description

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 (2)

comment:1 Changed 6 months ago by Vojtech Horky

Owner: set to Vojtech Horky
Status: newaccepted

comment:2 Changed 6 months ago by Vojtech Horky

Resolution: fixed
Status: acceptedclosed

Closing this ticket (commit 9eb1ff5d8638).

New output looks like this:

1..2
#> Starting suite Default.
ok 1 check_one
ok 2 check_two
#> Finished suite Default (passed).
#> Done: all tests passed.
Note: See TracTickets for help on using tickets.