run_tests should add/allow failfast
Bug #765069 reported by
Jason Kölker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Alex Meade |
Bug Description
Currently run_test doesn't allow stopping immediately on the first failure. It would be nice to have this as a command line flag so the test suite would exit as soon as a test doesn't pass. Backporting failfast from 2.7's unittest may be an option.
Related branches
lp:~alex-meade/nova/run-tests-stop-flag-lp765069
- Josh Kearney (community): Approve
- Devin Carlen (community): Approve
- Jay Pipes (community): Approve
- Brian Waldon (community): Approve
-
Diff: 20 lines (+2/-0)2 files modifiedAuthors (+1/-0)
run_tests.sh (+1/-0)
Changed in nova: | |
assignee: | nobody → Alex Meade (alex-meade) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-1 |
Changed in nova: | |
milestone: | diablo-1 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Since run_tests actually utilizes nose, just -x, or --stop will do this. I've updated the run_tests.sh usage info to reflect this.