Closed
Bug 1139780
Opened 9 years ago
Closed 9 years ago
Only app update xpcshell tests that need debugging should have debug output
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
Attachments
(1 file, 1 obsolete file)
174.93 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
The tests have been spamming the log files with debug messages for a long time and only the tests that intermittently fail should add the debug messages to the logs.
Assignee | ||
Updated•9 years ago
|
OS: Windows 8.1 → All
Hardware: x86_64 → All
Assignee | ||
Comment 1•9 years ago
|
||
Stephen, this replaces a bunch of logTestInfo messages with debugDump messages and adds DEBUG_AUS_TEST = true to the tests that have intermittent bugs open. A skim through of the changes should be all that is needed and I'll push this to try as well for assurance.
Attachment #8573107 -
Flags: review?(spohl.mozilla.bugs)
Assignee | ||
Comment 2•9 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4facc88b1aa
Comment 3•9 years ago
|
||
Comment on attachment 8573107 [details] [diff] [review] patch Review of attachment 8573107 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/mozapps/update/tests/unit_timermanager/consumerNotifications.js @@ +472,5 @@ > + * An optional Components.stack.caller. If not specified > + * Components.stack.caller will be used. > + */ > +function logTestInfo(aText, aCaller) { > + let caller = (aCaller ? aCaller : Components.stack.caller); nit: drop parentheses @@ +498,5 @@ > + * Components.stack.caller will be used. > + */ > +function debugDump(aText, aCaller) { > + if (DEBUG_TEST) { > + let caller = aCaller ? aCaller : Components.stack.caller; Let's drop this line and pass aCaller to logTestInfo() directly.
Attachment #8573107 -
Flags: review?(spohl.mozilla.bugs) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8573107 -
Attachment is obsolete: true
Attachment #8573478 -
Flags: review+
Assignee | ||
Comment 5•9 years ago
|
||
Pushed to fx-team https://hg.mozilla.org/integration/fx-team/rev/6f6455b2f8b5
Flags: in-testsuite+
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•