Bugzilla – Full Text Bug Listing |
Summary: | [feature request] Summary of crashed / failed tests | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
Component: | test framework | Assignee: | Tom Henderson <tomh> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | tomh |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch to provide feature |
Description
Tommaso Pecorella
2014-01-26 12:36:07 EST
Created attachment 1820 [details]
patch to provide feature
Peter also asked about this feature; would be useful for testing. Attached is a proposed patch. It does not change the output upon successful full completion (no skips, failed, crashed, valgrind) . It does print out the list of names of each of those categories if one or more exist. Example output below (all of the lines below the line starting with '28 of 30' would be new output in this example): ... PASS: Example src/core/examples/sample-simulator SKIP: Example src/core/examples/main-ptr PASS: Example src/core/examples/sample-random-variable SKIP: Example src/core/examples/sample-simulator.py PASS: TestSuite random-number-generators PASS: TestSuite threaded-simulator PASS: TestSuite random-variable-stream-generators 28 of 30 tests passed (28 passed, 2 skipped, 1 failed, 1 crashed, 0 valgrind errors) List of SKIPped tests: src/core/examples/sample-simulator.py src/core/examples/main-ptr List of FAILed tests: watchdog List of CRASHed tests: examples/tutorial/fourth Lovely, it's what I had in mind. +1 pushed in changeset 04ea88ac6d8d |