##// END OF EJS Templates
run-tests: output coverage to output dir...
Siddharth Agarwal -
r32719:74680ed8 default
parent child Browse files
Show More
@@ -2754,10 +2754,10 b' class TestRunner(object):'
2754 cov.report(ignore_errors=True, omit=omit)
2754 cov.report(ignore_errors=True, omit=omit)
2755
2755
2756 if self.options.htmlcov:
2756 if self.options.htmlcov:
2757 htmldir = os.path.join(self._testdir, 'htmlcov')
2757 htmldir = os.path.join(self._outputdir, 'htmlcov')
2758 cov.html_report(directory=htmldir, omit=omit)
2758 cov.html_report(directory=htmldir, omit=omit)
2759 if self.options.annotate:
2759 if self.options.annotate:
2760 adir = os.path.join(self._testdir, 'annotated')
2760 adir = os.path.join(self._outputdir, 'annotated')
2761 if not os.path.isdir(adir):
2761 if not os.path.isdir(adir):
2762 os.mkdir(adir)
2762 os.mkdir(adir)
2763 cov.annotate(directory=adir, omit=omit)
2763 cov.annotate(directory=adir, omit=omit)
General Comments 0
You need to be logged in to leave comments. Login now