Merge lp:~jameinel/testrepository/load-progress into lp:~testrepository/testrepository/trunk
Proposed by
John A Meinel
Status: | Rejected |
---|---|
Rejected by: | Robert Collins |
Proposed branch: | lp:~jameinel/testrepository/load-progress |
Merge into: | lp:~testrepository/testrepository/trunk |
Diff against target: |
68 lines (+25/-2) 2 files modified
.bzrignore (+1/-0) testrepository/commands/load.py (+24/-2) |
To merge this branch: | bzr merge lp:~jameinel/testrepository/load-progress |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins | Disapprove | ||
Review via email: mp+17685@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 78. By John A Meinel
-
Implement a crude --progress for 'testr load'.
We already had a few result classes, this just adds one.
Also, it is a bit unfortunate that inserter.stopTestRun( ) has
a return value, as none of the other result classes do, and
MultiTestResult certainly doesn't return it.I don't really understand why Robert called one startTestRun
and stopTestRun but didn't call all of them.
This adds
testr load -p
Which will display the bzr style progress. This helps when running
bzr selftest --subunit | testr load -p
Since it lets me know how far along things are going.
Note that it
1) Doesn't (yet) support -v
2) Is probably slightly overly verbose in standard mode because bzr's stopTestRun reports a lot of stuff. We could possibly stub out "stream.writeln" if we only wanted to report testr's summary.