Bug 1153413 - Add --subsuite option to mochitest mach command, r=jgriffin
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 10 Apr 2015 15:31:36 -0400
changeset 238716 f3e21cdfa1fc1488247e27b572825ac63d2ff151
parent 238715 c2ba0e6f13b4ae4888e2a5f4f1e31c1d06b814ec
child 238717 4c57b7e4a21f987414d4c614f877dbba27845246
push id28571
push usercbook@mozilla.com
push dateMon, 13 Apr 2015 10:00:52 +0000
treeherdermozilla-central@2c9708e6b54d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs1153413
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 1153413 - Add --subsuite option to mochitest mach command, r=jgriffin
testing/mochitest/mach_commands.py
--- a/testing/mochitest/mach_commands.py
+++ b/testing/mochitest/mach_commands.py
@@ -719,16 +719,23 @@ def add_mochitest_general_args(parser):
 
     parser.add_argument(
         "--tag",
         dest='test_tags', action='append',
         help="Filter out tests that don't have the given tag. Can be used "
              "multiple times in which case the test must contain at least one "
              "of the given tags.")
 
+    parser.add_argument(
+        "--subsuite",
+        default=None,
+        help="Subsuite of tests to run. Unlike tags, subsuites also remove "
+             "tests from the default set. Only one can be specified at once.")
+
+
     return parser
 
 def add_mochitest_b2g_args(parser):
     parser.add_argument(
         '--busybox',
         default=None,
         help='Path to busybox binary to install on device')