Add --repeat-until-unexpected option to wptrunner

This commit is contained in:
Matt Brubeck 2016-02-11 09:56:57 -08:00
parent 4c4df37a12
commit 6f55e949a1
2 changed files with 12 additions and 3 deletions

View file

@ -72,6 +72,8 @@ def create_parser(product_choices=None):
help="Multiplier relative to standard test timeout to use")
parser.add_argument("--repeat", action="store", type=int, default=1,
help="Number of times to run the tests")
parser.add_argument("--repeat-until-unexpected", action="store_true", default=None,
help="Run tests in a loop until one returns an unexpected result")
parser.add_argument("--no-capture-stdio", action="store_true", default=False,
help="Don't capture stdio and write to logging")