@@ -52,6 +52,12 @@ def _setup_arguments(self, parser):
5252 'then, cancel all tests and return a failure. Defaults to'
5353 'not checking tests before returning.'
5454 )
55+ parser .add_argument (
56+ '-f' , '--file' , dest = 'files' , action = 'append' , default = [],
57+ help = 'One or more files to read to get the list of tests to run. '
58+ 'These files should contain a newline separated list of test '
59+ 'names. Lines that start with a \' #\' are ignored as '
60+ 'comments.' )
5561 parser .add_argument (
5662 '-s' , '--status' , action = 'store_true' , default = False ,
5763 help = 'Display test statuses'
@@ -82,12 +88,6 @@ def _generic_arguments(parser):
8288 'configs are resolved. They should take the form '
8389 '\' key=value\' , where key is the dot separated key name, '
8490 'and value is a json object.' )
85- parser .add_argument (
86- '-f' , '--file' , dest = 'files' , action = 'append' , default = [],
87- help = 'One or more files to read to get the list of tests to run. '
88- 'These files should contain a newline separated list of test '
89- 'names. Lines that start with a \' #\' are ignored as '
90- 'comments.' )
9191 parser .add_argument (
9292 '-b' , '--build-verbose' , dest = 'build_verbosity' , action = 'count' ,
9393 default = 0 ,
0 commit comments