##// END OF EJS Templates
Use separate option --with-xml-coverage to ask for coverage xml output.
Thomas Kluyver -
Show More
@@ -291,9 +291,9 b' class IPTester(object):'
291 if '--with-xunit' in self.call_args:
291 if '--with-xunit' in self.call_args:
292 self.call_args.append('--xunit-file=%s' % path.abspath(sect+'.xunit.xml'))
292 self.call_args.append('--xunit-file=%s' % path.abspath(sect+'.xunit.xml'))
293
293
294 if '--with-coverage' in self.call_args:
294 if '--with-xml-coverage' in self.call_args:
295 self.coverage_xml = path.abspath(sect+".coverage.xml")
295 self.coverage_xml = path.abspath(sect+".coverage.xml")
296 self.call_args.remove('--with-coverage')
296 self.call_args.remove('--with-xml-coverage')
297 self.call_args = ["coverage", "run", "--source="+sect] + self.call_args[1:]
297 self.call_args = ["coverage", "run", "--source="+sect] + self.call_args[1:]
298
298
299 # Store pids of anything we start to clean up on deletion, if possible
299 # Store pids of anything we start to clean up on deletion, if possible
General Comments 0
You need to be logged in to leave comments. Login now