Bug 1122590 - Make |mach mochitest| properly detect devtools tests (and other subsuites), r=chmanchester, DONTBUILD, a=NPOTB
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 02 Jun 2015 11:03:55 -0400
changeset 246755 b81fb262142211e5bd336bcc9eddf897ca9c9f0e
parent 246754 5befdd2d1ab2a0831baa926b3f0982cd6d04a96c
child 246756 bc178fdf14277ef97b2cc7d3333220348fe4a233
push id28839
push userkwierso@gmail.com
push dateWed, 03 Jun 2015 01:20:15 +0000
treeherdermozilla-central@20a96e15631a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester, DONTBUILD, NPOTB
bugs1122590
milestone41.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 1122590 - Make |mach mochitest| properly detect devtools tests (and other subsuites), r=chmanchester, DONTBUILD, a=NPOTB
testing/mochitest/mach_commands.py
--- a/testing/mochitest/mach_commands.py
+++ b/testing/mochitest/mach_commands.py
@@ -548,16 +548,17 @@ class MachCommands(MachCommandBase):
         for (flavor, subsuite), tests in sorted(suites.items()):
             fobj = ALL_FLAVORS[flavor]
             msg = fobj['aliases'][0]
             if subsuite:
                 msg = '{} with subsuite {}'.format(msg, subsuite)
             print(NOW_RUNNING.format(msg))
 
             harness_args = kwargs.copy()
+            harness_args['subsuite'] = subsuite
             harness_args.update(fobj.get('extra_args', {}))
 
             result = run_mochitest(
                 self._mach_context,
                 tests=tests,
                 suite=fobj['suite'],
                 **harness_args)