"make check" running tests twice is inefficient
Bug #386180 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
"bzr check", run by pqm, runs the test suite once in the system default locale and once with LANG=C. This means the tests and pqm merges take roughly twice as long as running the tests themselves, which is already a considerable time.
The delay has a cost particularly when trying to make a release.
The second locale check seems to fairly rarely catch actual problems.
Our general approach is not to blindly multiply tests but to add specific tests or parameterizations. So we should do the same thing here.
Related branches
lp:~mbp/bzr/386180-check
Rejected
for merging
into
lp:~bzr/bzr/trunk-old
- Robert Collins (community): Disapprove
- Diff: 32 lines
summary: |
- check running tests twice is inefficient + "make check" running tests twice is inefficient |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
status: | In Progress → Fix Released |
milestone: | none → 2.0 |
To post a comment you must log in.
On Fri, 2009-06-12 at 01:38 +0000, Martin Pool wrote:
> Public bug reported:
>
> "bzr check", run by pqm, runs the test suite once in the system default
> locale and once with LANG=C. This means the tests and pqm merges take
> roughly twice as long as running the tests themselves, which is already
> a considerable time.
>
> The delay has a cost particularly when trying to make a release.
Perhaps we shouldn't be cramming as much stuff in and simple have the
release be 'tag and bag' ?
> The second locale check seems to fairly rarely catch actual problems.
Thats not my experience. When working on unicode/C stuff I quite
routinely have things fail.
> Our general approach is not to blindly multiply tests but to add
> specific tests or parameterizations. So we should do the same thing
> here.
I believe we are heavily handicapped by python in this regard. Once we
start doing gettext it may become even more difficult to change things
on the fly.
-Rob