Bug 1225781: Return exit status of tests, r?ahal draft
authorEthan Glasser-Camp <eglassercamp@mozilla.com>
Wed, 05 Oct 2016 17:24:36 -0400
changeset 421658 7fdcad3dd18484b87ef7fd31ae293d3b23be25a5
parent 421339 94210bf256a5637fe8fc626217bd4cd6cd6b0928
child 533128 5f4d39df310aa2f2c5a97d68c1543c5d0bac36c7
push id31553
push usereglassercamp@mozilla.com
push dateThu, 06 Oct 2016 14:04:01 +0000
reviewersahal
bugs1225781
milestone52.0a1
Bug 1225781: Return exit status of tests, r?ahal MozReview-Commit-ID: 75v381nyQbj
testing/xpcshell/mach_commands.py
--- a/testing/xpcshell/mach_commands.py
+++ b/testing/xpcshell/mach_commands.py
@@ -65,17 +65,17 @@ class XPCShellRunner(MozbuildObject):
         build_path = os.path.join(self.topobjdir, 'build')
         if build_path not in sys.path:
             sys.path.append(build_path)
 
         src_build_path = os.path.join(self.topsrcdir, 'mozilla', 'build')
         if os.path.isdir(src_build_path):
             sys.path.append(src_build_path)
 
-        self.run_suite(**kwargs)
+        return self.run_suite(**kwargs)
 
 
     def _run_xpcshell_harness(self, **kwargs):
         # Obtain a reference to the xpcshell test runner.
         import runxpcshelltests
 
         log = kwargs.pop("log")