Merge lp://qastaging/~mbp/launchpad/884997-rusage into lp://qastaging/launchpad

Proposed by Martin Pool
Status: Superseded
Proposed branch: lp://qastaging/~mbp/launchpad/884997-rusage
Merge into: lp://qastaging/launchpad
Diff against target: 77 lines (+26/-5)
2 files modified
lib/canonical/buildd/buildrecipe (+25/-4)
lib/canonical/buildd/sourcepackagerecipe.py (+1/-1)
To merge this branch: bzr merge lp://qastaging/~mbp/launchpad/884997-rusage
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+80970@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2011-11-02.

Description of the change

This makes buildrecipe log the rusage of bzr dailydeb which will let us see how close to the edge we are wrt memory.

It also fixes some confusing code whereby the argv[0] of buildrecipe is buildrecipe.py.

I have tested this manually by calling in to this code from a python shell. I would like to write an automatic test but it's a little bit hard because this is a script not a module, and I'm concerned that renaming it will break things in the complicated deployment process.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.