Bug 931279 - Follow-up on mach support for mochitest --start-at and --end-at. r=jmaher

This commit is contained in:
Felipe Gomes 2013-11-01 17:23:32 -02:00
Родитель 444057f160
Коммит 499afc168b
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -396,6 +396,14 @@ def MochitestCommand(func):
help='Delay execution between tests.')
func = slow(func)
end_at = CommandArgument('--end-at', type=str,
help='Stop running the test sequence at this test.')
func = end_at(func)
start_at = CommandArgument('--start-at', type=str,
help='Start running the test sequence at this test.')
func = start_at(func)
chunk_dir = CommandArgument('--chunk-by-dir', type=int,
help='Group tests together in chunks by this many top directories.')
func = chunk_dir(func)
@ -466,14 +474,6 @@ def B2GCommand(func):
help='If running tests by chunks, the number of the chunk to run.')
func = this_chunk(func)
start_at = CommandArgument('--start-at', type=str,
help='Start running the test sequence at this test.')
func = start_at(func)
end_at = CommandArgument('--end-at', type=str,
help='Stop running the test sequence at this test.')
func = end_at(func)
path = CommandArgument('test_file', default=None, nargs='?',
metavar='TEST',
help='Test to run. Can be specified as a single file, a ' \