Bug 1192235 - Update misleading mochitest usage string, r=chmanchester, DONTBUILD
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 07 Aug 2015 10:19:32 -0400
changeset 288520 d07f2c704518b2a81d4934a0dbc67a03e6254068
parent 288519 f7e37a2d7a7e67f4547e40bea9db63c232f62d8c
child 288521 384766aad27e5dad9060b080091cd82f69bd0cce
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester, DONTBUILD
bugs1192235
milestone42.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 1192235 - Update misleading mochitest usage string, r=chmanchester, DONTBUILD
testing/mochitest/mochitest_options.py
--- a/testing/mochitest/mochitest_options.py
+++ b/testing/mochitest/mochitest_options.py
@@ -1123,24 +1123,17 @@ class AndroidArguments(ArgumentContainer
 container_map = {
     'generic': [MochitestArguments],
     'b2g': [MochitestArguments, B2GArguments],
     'android': [MochitestArguments, AndroidArguments],
 }
 
 
 class MochitestArgumentParser(ArgumentParser):
-    """
-    Usage instructions for Mochitest.
-
-    All arguments are optional.
-    If --chrome is specified, chrome tests will be run instead of web content tests.
-    If --browser-chrome is specified, browser-chrome tests will be run instead of web content tests.
-    See <http://mochikit.com/doc/html/MochiKit/Logging.html> for details on the logging levels.
-    """
+    """%(prog)s [options] [test paths]"""
 
     _containers = None
     context = {}
 
     def __init__(self, app=None, **kwargs):
         ArgumentParser.__init__(self, usage=self.__doc__, conflict_handler='resolve', **kwargs)
 
         self.oldcwd = os.getcwd()