Merge mozilla-central to autoland. a=merge CLOSED TREE
authorMargareta Eliza Balazs <ebalazs@mozilla.com>
Fri, 17 Aug 2018 15:07:45 +0300
changeset 432110 6ed79690f4248197cb540c599e2404f067869cf8
parent 432109 4105f56578d414b83e302fe5f835824f1b6f3aac (current diff)
parent 432091 131363332762842ba327166bdc361c6fffc4858f (diff)
child 432111 7606350fb73e2bdf8a65eb2f432e7eb54fa6b828
push id34460
push userdvarga@mozilla.com
push dateFri, 17 Aug 2018 21:51:39 +0000
treeherdermozilla-central@2f1bbddc826b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmerge
milestone63.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
Merge mozilla-central to autoland. a=merge CLOSED TREE
--- 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: