Closed
Bug 942319
Opened 7 years ago
Closed 7 years ago
Supply python script to convert some mochitests to standalone tests
Categories
(Core :: Canvas: WebGL, defect)
Core
Canvas: WebGL
Tracking
()
RESOLVED
FIXED
mozilla28
Tracking | Status | |
---|---|---|
firefox28 | --- | fixed |
People
(Reporter: jgilbert, Assigned: jgilbert)
Details
(Whiteboard: webgl-internal [qa-])
Attachments
(1 file)
6.95 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
One of the problems with mochitests is that it's non-trivial to post them to a bug as a testcase, or run them on a machine without a build of moz-central. For the mochitests I've added in content/canvas/test/webgl/non-conf-tests, they are limited enough that it's fairly easy to line-by-line convert them to standalone tests. I wrote a simple python script to do this, as well as modifying the local JS helper classes so that they still (mostly) work when SpecialPowers isn't available. For the tests in this directory, calling `python mochi-to-testcase.py foo.html` will convert mochitest foo.html to standalone test foo.solo.html.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → jgilbert
Attachment #8337045 -
Flags: review?(bjacob)
Updated•7 years ago
|
Attachment #8337045 -
Flags: review?(bjacob) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 2•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8dc4d9276c7a
Keywords: checkin-needed
Comment 3•7 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8dc4d9276c7a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
status-firefox28:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•