Opened 6 years ago

Closed 6 years ago

Last modified 6 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:

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

comment:1 by Vojtech Horky, 6 years ago

Owner: set to Vojtech Horky
Status: newaccepted

comment:2 by Vojtech Horky, 6 years ago

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.

comment:3 by Jakub Jermář, 6 years ago

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