Closed
Bug 876732
Opened 11 years ago
Closed 11 years ago
Add a --debugger-args argument when running mochitest using mach.
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla24
People
(Reporter: padenot, Assigned: padenot)
References
Details
Attachments
(1 file, 1 obsolete file)
3.41 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
And fail if --debugger-args is passed, bug --debugger is not.
Assignee | ||
Updated•11 years ago
|
Attachment #754862 -
Flags: review?(gps)
Updated•11 years ago
|
Attachment #754862 -
Attachment is patch: true
Comment 1•11 years ago
|
||
Please use 4-space indentation.
Comment 2•11 years ago
|
||
gps is on vacation, FWIW.
Assignee | ||
Comment 3•11 years ago
|
||
Now with proper white spaces.
Assignee: nobody → paul
Attachment #754862 -
Attachment is obsolete: true
Attachment #754862 -
Flags: review?(gps)
Attachment #755248 -
Flags: review?(ted)
Comment 4•11 years ago
|
||
Comment on attachment 755248 [details] [diff] [review] patch Review of attachment 755248 [details] [diff] [review]: ----------------------------------------------------------------- Kind of sucks that we have to keep commandline arguments in sync between the Mochitest harness and the runner, it'd be nice to figure out a way to share that between them. ::: testing/mochitest/mach_commands.py @@ +214,5 @@ > debugger = CommandArgument('--debugger', '-d', metavar='DEBUGGER', > help='Debugger binary to run test in. Program name or path.') > func = debugger(func) > > + debugger_args = CommandArgument('--debugger-args', '-da', I'd drop the short -da form, doesn't seem super useful.
Attachment #755248 -
Flags: review?(ted) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Pushed with the short switch removed. https://hg.mozilla.org/integration/mozilla-inbound/rev/1c234d35fb5c
Comment 7•11 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4) > Comment on attachment 755248 [details] [diff] [review] > patch > > Review of attachment 755248 [details] [diff] [review]: > ----------------------------------------------------------------- > > Kind of sucks that we have to keep commandline arguments in sync between the > Mochitest harness and the runner, it'd be nice to figure out a way to share > that between them. Maybe too much future thinking but I filed bug 877731 to this end
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1c234d35fb5c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•