Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
authorStanley Mwangi <stanleym2711@gmail.com>
Wed, 02 Mar 2016 16:33:13 -0500
changeset 324761 ae5567d429b03861360bde907d0203b2f1228597
parent 324760 2cfe0596c5e9cef4adc8a60de3d5c012198f2beb
child 324762 56e2ad84a18f8ab89ceeba12c54d5dbea7add5d3
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1243083
milestone47.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 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal MozReview-Commit-ID: I3UIS8eEZ8D
layout/tools/reftest/reftestcommandline.py
testing/mochitest/mochitest_options.py
--- a/layout/tools/reftest/reftestcommandline.py
+++ b/layout/tools/reftest/reftestcommandline.py
@@ -177,16 +177,22 @@ class ReftestArgumentsParser(argparse.Ar
                           "Defaults to `all'.")
 
         self.add_argument("--e10s",
                           action="store_true",
                           default=False,
                           dest="e10s",
                           help="enables content processes")
 
+        self.add_argument("--disable-e10s",
+                          action="store_false",
+                          default=False,
+                          dest="e10s",
+                          help="disables content processes")
+
         self.add_argument("--setpref",
                           action="append",
                           type=str,
                           default=[],
                           dest="extraPrefs",
                           metavar="PREF=VALUE",
                           help="defines an extra user preference")
 
--- a/testing/mochitest/mochitest_options.py
+++ b/testing/mochitest/mochitest_options.py
@@ -402,16 +402,23 @@ class MochitestArguments(ArgumentContain
           "help": "Breaks execution and enters the JS debugger on a test failure. Should "
                   "be used together with --jsdebugger."
           }],
         [["--e10s"],
          {"action": "store_true",
           "default": False,
           "help": "Run tests with electrolysis preferences and test filtering enabled.",
           }],
+        [["--disable-e10s"],
+         {"action": "store_false",
+          "default": False,
+          "dest": "e10s",
+          "help": "Run tests with electrolysis preferences and test filtering disabled.",
+          "suppress": True,
+          }],
         [["--store-chrome-manifest"],
          {"action": "store",
           "help": "Destination path to write a copy of any chrome manifest "
                   "written by the harness.",
           "default": None,
           "suppress": True,
           }],
         [["--jscov-dir-prefix"],