Bug 797093 - Fix running mochitests through mach; r=gps
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 02 Oct 2012 17:03:31 -0400
changeset 108893 b1684a374f72f40b50d4e63cec2fcf22d1df3737
parent 108892 640a57ebab483363c6ea8a53cbd14827684f19c9
child 108894 965f6dc789bee350b8939eaf13155fb6d8d9045a
push id23598
push usereakhgari@mozilla.com
push dateTue, 02 Oct 2012 21:03:36 +0000
treeherdermozilla-central@b1684a374f72 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs797093
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 797093 - Fix running mochitests through mach; r=gps DONTBUILD
python/mozbuild/mozbuild/testing/mochitest.py
--- a/python/mozbuild/mozbuild/testing/mochitest.py
+++ b/python/mozbuild/mozbuild/testing/mochitest.py
@@ -1,14 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import unicode_literals
 
+import os
+
 from mozbuild.testing.test import TestRunner
 
 
 class MochitestRunner(TestRunner):
     """Easily run mochitests.
 
     This currently contains just the basics for running mochitests. We may want
     to hook up result parsing, etc.