Show More
@@ -294,7 +294,7 b' class IPTester(object):' | |||||
294 | if '--with-coverage' in self.call_args: |
|
294 | if '--with-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-coverage') | |
297 |
self.call_args = [" |
|
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 | |
300 | # (on posix only, since win32 has no os.kill) |
|
300 | # (on posix only, since win32 has no os.kill) | |
@@ -333,7 +333,7 b' class IPTester(object):' | |||||
333 | return 1 # signal failure |
|
333 | return 1 # signal failure | |
334 |
|
334 | |||
335 | if self.coverage_xml: |
|
335 | if self.coverage_xml: | |
336 |
subprocess.check_call([" |
|
336 | subprocess.check_call(["coverage", "xml", "-o", self.coverage_xml]) | |
337 | return retcode |
|
337 | return retcode | |
338 |
|
338 | |||
339 | def __del__(self): |
|
339 | def __del__(self): |
General Comments 0
You need to be logged in to leave comments.
Login now