Closed
Bug 485672
Opened 16 years ago
Closed 16 years ago
Run (TUnit) xpcshell tests with new '--keep-going' option
Categories
(Testing :: XPCShell Harness, enhancement)
Testing
XPCShell Harness
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: sgautherie, Assigned: sgautherie)
References
Details
(Keywords: fixed1.9.1, Whiteboard: [fixed1.9.1b4])
Attachments
(1 file)
(deleted),
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
2 possibilities:
1- trivial
Force it at
http://hg.mozilla.org/mozilla-central/annotate/67b29b1eea64/config/rules.mk#l146
2- more complicated
Support an extra argument and set it from
http://mxr.mozilla.org/build/source/buildbotcustom/unittest/steps.py
Ted, do you agree for 1- ?
Comment 1•16 years ago
|
||
Actually I was thinking of just removing this option and making it the default behavior. I added it for testing, but I think it'd be a better default, especially for tinderbox.
Assignee | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> I added it for testing, but I think it'd be a better default,
I concur! :-)
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #369825 -
Flags: review?(ted.mielczarek)
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 369825 [details] [diff] [review]
(Av1) Drop option, make it the new behavior
[Checkin: Comment 7 & 8]
Note this patch is the option removal only:
it allows to proceed the current |runxpcshelltests.py| call to its end, but no more.
*****
To get the full |make| run, we would need to either
|sys.exit(0)| from |runxpcshelltests.py|
or
somehow have |make| not stop on the non-zero return code.
I'm happy with neither,
but what do you think ?
Is it something the new |manifest| option will allow to solve in a better way (= non-recursive calls) ??
Comment 4•16 years ago
|
||
I think I'd like to change how the tests are invoked. Maybe add another target like "make xpcshell-tests" which just runs the tests using the manifest, and stop invoking them from check. We can do that in another bug though, this patch will be a nice improvement on the current behavior.
Assignee | ||
Comment 5•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Comment 6•16 years ago
|
||
Comment on attachment 369825 [details] [diff] [review]
(Av1) Drop option, make it the new behavior
[Checkin: Comment 7 & 8]
Looks good, thanks!
Attachment #369825 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 7•16 years ago
|
||
Comment on attachment 369825 [details] [diff] [review]
(Av1) Drop option, make it the new behavior
[Checkin: Comment 7 & 8]
http://hg.mozilla.org/mozilla-central/rev/dc728e996a0d
Attachment #369825 -
Attachment description: (Av1) Drop option, make it the new behavior → (Av1) Drop option, make it the new behavior
[Checkin: Comment 7]
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Assignee | ||
Comment 8•16 years ago
|
||
Comment on attachment 369825 [details] [diff] [review]
(Av1) Drop option, make it the new behavior
[Checkin: Comment 7 & 8]
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/f241563df68f
Attachment #369825 -
Attachment description: (Av1) Drop option, make it the new behavior
[Checkin: Comment 7] → (Av1) Drop option, make it the new behavior
[Checkin: Comment 7 & 8]
Assignee | ||
Updated•16 years ago
|
Keywords: fixed1.9.1
Whiteboard: [fixed1.9.1b4]
Assignee | ||
Updated•16 years ago
|
Summary: Run TUnit tests with new '--keep-going' → Run (TUnit) xpcshell tests with new '--keep-going' option
You need to log in
before you can comment on or make changes to this bug.
Description
•