Bug 1421799 - [mochitest] Stop printing NOW RUNNING messages r=gbrown
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 06 Dec 2017 17:32:17 -0500
changeset 449439 0ad440c6f93bb793761794d277d20f4fa8c7fd02
parent 449438 419ba12cc0c838d661b8ae6d47bbf328242773fc
child 449440 cee49b47add020baa5548906c93e10937b73611b
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,