Closed Bug 942319 Opened 9 years ago Closed 9 years ago
Supply python script to convert some mochitests to standalone tests
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: nobody → jgilbert
Attachment #8337045 - Flags: review?(bjacob)
Attachment #8337045 - Flags: review?(bjacob) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.