Closed Bug 905437 Opened 6 years ago Closed 6 years ago

'mach xpcshell-test' should be able to run xpcshell under GDB

Categories

(Testing :: XPCShell Harness, defect)

All
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla26

People

(Reporter: jimb, Assigned: jimb)

References

Details

Attachments

(1 file)

At the moment, the --debug argument accepted by mach xpcshell-test is
dropped. I don't know if just bringing the old harness's command-line
arguments forward to 'mach xpcshell-test' is the most mach-ish way to do
things, but it does let me get things started.
Duplicate of this bug: 856113
Attachment #790508 - Flags: review?(ted)
Comment on attachment 790508 [details] [diff] [review]
Make it possible for 'mach xpcshell-test' to run xpcshell under GDB.

Review of attachment 790508 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for fixing this!

::: testing/xpcshell/mach_commands.py
@@ +174,5 @@
> +                            "the application on the command line")
> +    @CommandArgument("--debugger-interactive", action = "store_true",
> +                     dest = "debuggerInteractive",
> +                     help = "prevents the test harness from redirecting "
> +                            "stdout and stderr for interactive debuggers")

I wonder if we're going to want to move these to a common location at some point.
Attachment #790508 - Flags: review?(ted) → review+
Assignee: nobody → jimb
https://hg.mozilla.org/integration/mozilla-inbound/rev/8dc4c45cfda3
Flags: in-testsuite-
Target Milestone: --- → mozilla26
https://hg.mozilla.org/mozilla-central/rev/8dc4c45cfda3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Depends on: 913173
You need to log in before you can comment on or make changes to this bug.