Closed
Bug 503613
Opened 15 years ago
Closed 8 years ago
Stop using tail_ files in xpcshell: use do_register_cleanup() instead
Categories
(Testing :: XPCShell Harness, defect)
Testing
XPCShell Harness
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: sdwilsh, Assigned: standard8)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete, meta, Whiteboard: [Waiting for blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.4])
Attachments
(3 files)
Reporter | ||
Updated•15 years ago
|
Whiteboard: [good first bug]
Updated•15 years ago
|
Comment 1•15 years ago
|
||
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #388053 -
Flags: review?(jwalden+bmo)
Updated•15 years ago
|
Attachment #388053 -
Flags: review?(ted.mielczarek)
Comment 2•15 years ago
|
||
Comment on attachment 388053 [details] [diff] [review]
(Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4 & 5]
> cmdT = ", ".join(['"' + f.replace('\\', '/') + '"'
>- for f in (testTailFiles + xpcsTailFile)])
>+ for f in (testTailFiles)])
Nix the unnecessary parens, just like in the previous statement for testHeadFiles.
Attachment #388053 -
Flags: review?(jwalden+bmo) → review+
Comment 3•15 years ago
|
||
Comment on attachment 388053 [details] [diff] [review]
(Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4 & 5]
http://hg.mozilla.org/mozilla-central/rev/250248bebc42
Av1, with comment 2 suggestion(s).
Attachment #388053 -
Attachment description: (Av1) Drop "empty" xpcshell tail.js → (Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3]
Attachment #388053 -
Flags: review?(ted.mielczarek)
Updated•15 years ago
|
Keywords: helpwanted
Whiteboard: [good first bug] → [good first bug] [ToDo: file blocking bugs]
Comment 4•15 years ago
|
||
Comment on attachment 388053 [details] [diff] [review]
(Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4 & 5]
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/3753f32f45ca
Attachment #388053 -
Attachment description: (Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3] → (Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4]
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [good first bug] [ToDo: file blocking bugs] → [c-n: Av1 to m-1.9.2] [good first bug] [ToDo: file blocking bugs]
Comment 5•15 years ago
|
||
Comment on attachment 388053 [details] [diff] [review]
(Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4 & 5]
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/9388ec6329d6
Attachment #388053 -
Attachment description: (Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4] → (Av1) Drop "empty" xpcshell tail.js
[Checkin: See comment 3 & 4 & 5]
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n: Av1 to m-1.9.2] [good first bug] [ToDo: file blocking bugs] → [good first bug] [ToDo: file blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.3]
Updated•15 years ago
|
Whiteboard: [good first bug] [ToDo: file blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.3] → [good first bug] [ToDo: file blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.4]
Updated•15 years ago
|
Keywords: helpwanted
Whiteboard: [good first bug] [ToDo: file blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.4] → [Waiting for blocking bugs] [Av1: fixed1.9.3a1 fixed1.9.2b1 fixed1.9.1.4]
Assignee | ||
Comment 6•8 years ago
|
||
Stealing, as I've been working on the dependent bugs, and I'm not sure Serge is around any more. Hopefully will have a patch for this next week.
Assignee: bugzillamozillaorg_serge_20140323 → standard8
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•8 years ago
|
||
For reference, the command I used to remove all the tail lines was:
$ find . -name 'xpcshell.ini' -exec sed -i '' '/tail[ ]*=/d' {} \;
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8827504 [details]
Bug 503613 - Remove the tail file functionality from xpcshell.
https://reviewboard.mozilla.org/r/105164/#review106534
This patch made my day. Thank you for cleaning up this cruft.
Attachment #8827504 -
Flags: review?(gps) → review+
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8827840 [details]
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files.
https://reviewboard.mozilla.org/r/105434/#review106536
I'm crying tears of joy.
Attachment #8827840 -
Flags: review?(gps) → review+
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8827504 [details]
Bug 503613 - Remove the tail file functionality from xpcshell.
https://reviewboard.mozilla.org/r/105164/#review106548
A try push was not happy with this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e2120177b3b
On the positive side, the failure broke the Treeherder error parser. So, achievement unlocked!
Attachment #8827504 -
Flags: review+ → review-
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 16•8 years ago
|
||
Thanks for running it through try, I'd totally forgotten about that. Hopefully the updated patch will pass now :-)
Comment 17•8 years ago
|
||
mozreview-review |
Comment on attachment 8827504 [details]
Bug 503613 - Remove the tail file functionality from xpcshell.
https://reviewboard.mozilla.org/r/105164/#review106820
\o/
It looks like Try it happy, so I'll land this for you.
Attachment #8827504 -
Flags: review?(gps) → review+
Comment 18•8 years ago
|
||
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f385b42d565e
Remove the tail file functionality from xpcshell; r=gps
https://hg.mozilla.org/integration/autoland/rev/6eda6d7d78f1
Remove old 'tail =' lines from xpcshell.ini files; r=gps
Comment 19•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f385b42d565e
https://hg.mozilla.org/mozilla-central/rev/6eda6d7d78f1
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Assignee | ||
Comment 20•8 years ago
|
||
I've just updated the docs to remove the references to tail files:
https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests?document_saved=true
https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/MailNews_xpcishell-tests
Keywords: dev-doc-complete
Comment 21•8 years ago
|
||
As a side note, since it will be used more, I filed (with a patch) Bug 1332295 - do_register_cleanup should support generators
You need to log in
before you can comment on or make changes to this bug.
Description
•