Bug 3023 - test-runner stops if multiple testcases fail
test-runner stops if multiple testcases fail
Status: NEEDINFO
Product: ns-3
Classification: Unclassified
Component: test framework
ns-3-dev
PC Linux
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-27 10:50 EST by Manuel Requena
Modified: 2018-12-06 09:20 EST (History)
1 user (show)

See Also:


Attachments
Patch to allow failing multiple testcases (396 bytes, patch)
2018-11-27 10:50 EST, Manuel Requena
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Requena 2018-11-27 10:50:11 EST
Created attachment 3232 [details]
Patch to allow failing multiple testcases

If multiple testcases fail, test-runner stops at the first one.

The attached patch allows to use the 'stop-on-failure' flag to control if test-runner must stop or not if one testcase fails.

This flag is already used to control the testsuites but not the testcases.
Comment 1 Tom Henderson 2018-12-06 09:20:43 EST
I thought that we had a test.py option '-m' to control this behavior; does it not work as documented?