Closed
Bug 786848
Opened 12 years ago
Closed 12 years ago
Need CI script for B2G xpcshell tests
Categories
(Testing :: XPCShell Harness, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla18
People
(Reporter: jgriffin, Assigned: mihneadb)
References
Details
Attachments
(1 file, 1 obsolete file)
11.26 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
This script would parse the output of an xpcshell run on B2G, and upload the results to autolog. A similar script that handles this for B2G mochitests is here: https://github.com/jonallengriffin/b2gautomation/blob/master/b2gautomation/mochilog.py
Assignee | ||
Comment 1•12 years ago
|
||
I kept the hardcoded parts as they are in Marionette's post_to_autolog. Also there are some whitespace fixes.
Attachment #657499 -
Flags: feedback?(jgriffin)
Reporter | ||
Comment 2•12 years ago
|
||
Pushed to try to make sure it doesn't break existing xpcshell runs in buildbot: https://tbpl.mozilla.org/?tree=Try&rev=5183c8314ad2
Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 657499 [details] [diff] [review] post_to_autolog functionality in runxpcshelltests.py Review of attachment 657499 [details] [diff] [review]: ----------------------------------------------------------------- In general this looks good. But there are a couple of things that seem awkward: - it seems awkward to force code to supply actual and expected results when it has what moztest thinks of as a calculated result. I think it makes sense to allow moztest to accept a calculated result, in which case it can infer the actual and expected results. - it seems strange to fake the start and end times. Many of our test harnesses (for good or bad) just track the test duration, not explicit start and end times. I think moztest should optionally accept a test duration, rather than forcing it to be a calculation.
Attachment #657499 -
Flags: feedback?(jgriffin) → feedback+
Assignee | ||
Comment 4•12 years ago
|
||
This assumes the changes in #788828 have landed.
Attachment #657499 -
Attachment is obsolete: true
Attachment #658667 -
Flags: review?(jgriffin)
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 658667 [details] [diff] [review] modify according to feedback Review of attachment 658667 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks. I'll land after bug 788842.
Attachment #658667 -
Flags: review?(jgriffin) → review+
Reporter | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1485815e2524
Reporter | ||
Updated•12 years ago
|
Component: General → XPCShell Harness
Product: Boot2Gecko → Testing
Target Milestone: --- → mozilla18
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1485815e2524
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•