This commit is contained in:
Kovid Goyal 2016-06-23 12:47:00 +05:30
parent b3b8f7e976
commit d13fd2a27b

View File

@ -62,6 +62,8 @@ def find_tests(which_tests=None):
class Test(Command):
description = 'Run the calibre test suite'
def add_options(self, parser):
parser.add_option('--test-module', default=[], action='append', type='choice', choices=sorted(map(str, TEST_MODULES)),
help='The test module to run (can be specified more than once for multiple modules). Choices: %s' % ', '.join(sorted(TEST_MODULES)))