Bug 797093 - Fix running mochitests through mach; r=gps
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 02 Oct 2012 17:03:31 -0400
changeset 109002 b1684a374f72f40b50d4e63cec2fcf22d1df3737
parent 109001 640a57ebab483363c6ea8a53cbd14827684f19c9
child 109003 965f6dc789bee350b8939eaf13155fb6d8d9045a
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
Bug 797093 - Fix running mochitests through mach; r=gps DONTBUILD
--- 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.