Closed Bug 566050 Opened 14 years ago Closed 14 years ago

Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios

Categories

(Testing :: XPCShell Harness, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla2.0b2

People

(Reporter: cjones, Assigned: cjones)

References

Details

Attachments

(1 file)

Today I wanted to debug some xpcshell tests in the following ways

 - see stdout/stderr spew from multiple tests (MOZ_IPC_MESSAGE_LOG)
 - see IPC log spew for just one test
 - run valgrind on multiple tests and see all output
 - same, for one test
 - interrupt the test harness after a bug is observed
The attached patch makes these easier for me by

 - having |make check-one/xpcshell-tests| honor EXTRA_TEST_ARGS
 - honor a --verbose flag that doesn't suppress stdout/stderr spew, make it default for check-one
 - restore SIG_DFL semantics for SIGINT
Attachment #445465 - Flags: review?(ted.mielczarek)
Comment on attachment 445465 [details] [diff] [review]
Make runxpcshelltests.py tests more amenable to non-standard debugging scenarios

I'm ok with everything but the SIGINT change, unless you get jduell to sign off on it (since he's the one who added it).
Attachment #445465 - Flags: review?(ted.mielczarek) → review+
jduell: what do you think?
Assignee: nobody → jones.chris.g
http://hg.mozilla.org/mozilla-central/rev/19f406fde215
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Blocks: 580052
Blocks: 581750
No longer blocks: 580052
Blocks: 608048
Flags: in-testsuite-
Target Milestone: --- → mozilla2.0b2
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: