Bug 1160164 - Run "all the tests" when invoking xpcshell's mach command with no arguments instead of passing "all" to the test resolver.;r=ahal DONTBUILD
authorChris Manchester <cmanchester@mozilla.com>
Thu, 30 Apr 2015 11:30:10 -0700
changeset 273255 0d5bddff56b41a9ca7be583101a1b5ea8ca149fb
parent 273254 b318ff4e610e6355d87fc97a6ad90e7b2f26c94e
child 273256 67cb17031e9f79452f37a4161cd8ee5f5d39b0bc
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1160164
milestone40.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 1160164 - Run "all the tests" when invoking xpcshell's mach command with no arguments instead of passing "all" to the test resolver.;r=ahal DONTBUILD
testing/xpcshell/mach_commands.py
--- a/testing/xpcshell/mach_commands.py
+++ b/testing/xpcshell/mach_commands.py
@@ -77,17 +77,17 @@ class XPCShellRunner(MozbuildObject):
         # TODO Bug 794506 remove once mach integrates with virtualenv.
         build_path = os.path.join(self.topobjdir, 'build')
         if build_path not in sys.path:
             sys.path.append(build_path)
 
         if not os.path.isfile(os.path.join(self.topsrcdir, 'build', 'automationutils.py')):
             sys.path.append(os.path.join(self.topsrcdir, 'mozilla', 'build'))
 
-        if test_paths == ['all']:
+        if test_paths == 'all':
             self.run_suite(interactive=interactive,
                            keep_going=keep_going, shuffle=shuffle, sequential=sequential,
                            debugger=debugger, debuggerArgs=debuggerArgs,
                            debuggerInteractive=debuggerInteractive,
                            jsDebugger=jsDebugger, jsDebuggerPort=jsDebuggerPort,
                            rerun_failures=rerun_failures,
                            verbose=verbose, log=log, test_tags=test_tags)
             return