Bug 1421799 - [mochitest] Stop printing NOW RUNNING messages r=gbrown
☠☠ backed out by 9dcfb0365f3c ☠ ☠
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 06 Dec 2017 17:32:17 -0500
changeset 449356 88dca5c8cfac95561af3d6f36389e3f16460ffdc
parent 449355 8c1f1ab754a53611748461ef815ed8f26be119ec
child 449357 18b4fa2419365231eb7f2fcf581112ce8f8f3e2e
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [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,