Backed out changeset 93877b72e677 (bug 1473392) for causing mch perma failures in testing/mochitest/tests/python/test_basic_mochitest_plain.py a=backout
authorMargareta Eliza Balazs <ebalazs@mozilla.com>
Fri, 17 Aug 2018 14:59:59 +0300
changeset 487189 131363332762842ba327166bdc361c6fffc4858f
parent 487188 b84213ec5a4d922b4908fdfc689d47593efc3c74
child 487208 6ed79690f4248197cb540c599e2404f067869cf8
child 487242 00b7caa950247c3d1e1cb6cd8f728b1a5edbc3b7
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1473392
milestone63.0a1
backs out93877b72e6777bd8ea019a3693904cd2b3779f38
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
Backed out changeset 93877b72e677 (bug 1473392) for causing mch perma failures in testing/mochitest/tests/python/test_basic_mochitest_plain.py a=backout
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2638,18 +2638,18 @@ toolbar#nav-bar {
         else:
             print("0 INFO TEST-START | Shutdown")
             print("1 INFO Passed:  %s" % self.countpass)
             print("2 INFO Failed:  %s" % self.countfail)
             print("3 INFO Todo:    %s" % self.counttodo)
             print("4 INFO Mode:    %s" % e10s_mode)
             print("5 INFO SimpleTest FINISHED")
 
-        if not result and self.countfail:
-            # at least one test failed
+        if not result and not self.countpass:
+            # either tests failed or no tests run
             result = 1
 
         return result
 
     def doTests(self, options, testsToFilter=None):
         # A call to initializeLooping method is required in case of --run-by-dir or --bisect-chunk
         # since we need to initialize variables for each loop.
         if options.bisectChunk or options.runByManifest: