Closed Bug 797093 Opened 8 years ago Closed 8 years ago

./mach mochitest-plain fails

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: ehsan, Assigned: ehsan)

Details

Attachments

(1 file)

$ ./mach mochitest-plain content/media/webaudio/
Traceback (most recent call last):
  File "./mach", line 48, in <module>
    mach.run(sys.argv[1:])
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mach/mach/main.py", line 146, in run
    self._run(argv)
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mach/mach/main.py", line 202, in _run
    fn(**stripped)
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mach/mach/testing.py", line 28, in run_mochitest
    mochitest.run_mochitest_test(test_file, flavor)
  File "/Users/ehsanakhgari/moz/mozilla-central/python/mozbuild/mozbuild/testing/mochitest.py", line 62, in run_mochitest_test
    if not os.path.exists(path):
NameError: global name 'os' is not defined
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #667132 - Flags: review?(gps)
Component: Build Config → mach
Comment on attachment 667132 [details] [diff] [review]
Patch (v1)

Review of attachment 667132 [details] [diff] [review]:
-----------------------------------------------------------------

Hmm. This must have been reverted in a recent patch. Anyway, this looks good to me.

Please add a blank line between the __future__ import line.
Attachment #667132 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/b1684a374f72
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Er, this was my fault. Sorry!
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.