--subunit makes --until-failure not actually work
Bug #1411804 reported by
Sean Dague
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Testrepository |
Triaged
|
Medium
|
Unassigned |
Bug Description
If you specify the --subunit flag to testr run, --until-failure no longer fails correctly.
This can be reproduced with a trivial case of:
self.assertTrue
in some test, then
testr run --subunit --until-failure that_test_name
It will loop forever with no stopping.
To post a comment you must log in.
I was playing with the --subunit flag a bit today and found that using --subunit means that testr is always returning 0 even during failure. I was going to file a separate bug for that, but I expect that these 2 issues are in fact the same.