Don't output coverage data if there are test failures
- Legacy-Id: 6959
This commit is contained in:
parent
84a9f49053
commit
72e36bde55
|
@ -224,10 +224,12 @@ class IetfTestRunner(DiscoverRunner):
|
|||
|
||||
failures = super(IetfTestRunner, self).run_tests(test_labels, extra_tests=extra_tests, **kwargs)
|
||||
|
||||
if check_coverage:
|
||||
if check_coverage and not failures:
|
||||
check_url_coverage()
|
||||
check_template_coverage()
|
||||
|
||||
print "0 test failures - coverage shown above"
|
||||
|
||||
save_test_results(failures, test_labels)
|
||||
|
||||
return failures
|
||||
|
|
Loading…
Reference in a new issue