Bug 1421799 - [mochitest] Stop printing NOW RUNNING messages r=gbrown
☠☠ backed out by 61190fb11108 ☠ ☠
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 06 Dec 2017 17:32:17 -0500
changeset 396393 afe14ec646ab15c8824e0b52f523f1a038113ec5
parent 396392 bbe4d2292f86e4f3994f11496f1850f2851a2b63
child 396394 2de335c0287aa5c8c957ba6f4083bdcfdc56db33
push id56978
push userahalberstadt@mozilla.com
push dateThu, 14 Dec 2017 13:00:31 +0000
treeherderautoland@7fb20bced076 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1421799
milestone59.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 1421799 - [mochitest] Stop printing NOW RUNNING messages r=gbrown The suite name is no part of the suite_start message and can be printed via a mozlog formatter. We shouldn't be printing this directly to stdout from |mach mochitest|. MozReview-Commit-ID: TOuqfEF14
testing/mochitest/mach_commands.py
--- a/testing/mochitest/mach_commands.py
+++ b/testing/mochitest/mach_commands.py
@@ -63,23 +63,16 @@ ROBOCOP_TESTS_NOT_FOUND = '''
 The robocop command could not find any tests under the following
 test path(s):
 
 {}
 
 Please check spelling and make sure the named tests exist.
 '''.lstrip()
 
-NOW_RUNNING = '''
-######
-### Now running mochitest-{}.
-######
-'''
-
-
 SUPPORTED_APPS = ['firefox', 'android']
 
 parser = None
 
 
 class MochitestRunner(MozbuildObject):
 
     """Easily run mochitests.
@@ -404,20 +397,16 @@ class MachCommands(MachCommandBase):
             grant_runtime_permissions(self)
             run_mochitest = mochitest.run_android_test
         else:
             run_mochitest = mochitest.run_desktop_test
 
         overall = None
         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,