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 266293 b81fb262142211e5bd336bcc9eddf897ca9c9f0e
parent 266292 5befdd2d1ab2a0831baa926b3f0982cd6d04a96c
child 266294 bc178fdf14277ef97b2cc7d3333220348fe4a233
push id8157
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:36:23 +0000
treeherdermozilla-aurora@d480e05bd276 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester, DONTBUILD, NPOTB
bugs1122590
milestone41.0a1
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)