Skip to content

Commit bfa222b

Browse files
committed
Added a switch to the 'test' command, to write short test results to file, changing the default which used to be to always write these.
- Legacy-Id: 10270
1 parent b30084e commit bfa222b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/utils/test_runner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ class IetfTestRunner(DiscoverRunner):
309309
make_option('--save-version-coverage',
310310
action='store', dest='save_version_coverage', default=False,
311311
help='Save test coverage data under the given version label'),
312+
313+
make_option('--save-testresult',
314+
action='store_true', dest='save_testresult', default=False,
315+
help='Save short test result data in %s/testresult' % os.path.dirname(os.path.dirname(settings.BASE_DIR))),
312316
)
313317

314318
def __init__(self, skip_coverage=False, save_version_coverage=None, **kwargs):

0 commit comments

Comments
 (0)