Closed
Bug 906734
Opened 11 years ago
Closed 11 years ago
Put TestHarness.h profile directories under runcppunittest's temp directory
Categories
(Testing :: General, defect)
Testing
General
Tracking
(firefox24 fixed, firefox25 fixed, firefox26 fixed)
RESOLVED
FIXED
mozilla26
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(1 file)
1.30 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
runcppunittests.py creates a temp directory (and cleans it up) per-test, so there's no reason TestHarness.h shouldn't be putting its profile directory there. This is causing bug 874642 because profile directories are piling up on the build slaves.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #792246 -
Flags: review?(jwalden+bmo)
Comment 2•11 years ago
|
||
Thank you :-)
Comment 3•11 years ago
|
||
Comment on attachment 792246 [details] [diff] [review] Put TestHarness.h profile directories under runcppunittest's temp directory Review of attachment 792246 [details] [diff] [review]: ----------------------------------------------------------------- <Waldo> ted: hm, so this means you kind of have to use the harness to run C++ tests, and you can't run them individually so much any more? <ted> Waldo: yes <Waldo> ted: do we not have code nuking the profile directory after XPCOM shutdown, then? <ted> Waldo: apparently not <ted> Waldo: i'd prefer to handle that in python <ted> since we already have a temp dir there, and that also does the cleanup if the test crashes or whatever <Waldo> makes sense <Waldo> would be nice if we did both, perhaps, but that's probably a little overkill for the manual-running case In any case, this seems good enough even if doing that extra bit would be nice for completeness.
Attachment #792246 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/feb98bbaaf87
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/feb98bbaaf87
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 6•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/34b2938a8dde https://hg.mozilla.org/releases/mozilla-beta/rev/af82c387aced
You need to log in
before you can comment on or make changes to this bug.
Description
•