##// END OF EJS Templates
only add quotes around xunit-file on Windows
MinRK -
Show More
@@ -352,7 +352,13 b' class IPTester(object):'
352 raise ValueError("Section not found", self.params)
352 raise ValueError("Section not found", self.params)
353
353
354 if '--with-xunit' in self.call_args:
354 if '--with-xunit' in self.call_args:
355 self.call_args.append('--xunit-file="%s"' % path.abspath(sect+'.xunit.xml'))
355
356 self.call_args.append('--xunit-file')
357 # FIXME: when Windows uses subprocess.call, these extra quotes are unnecessary:
358 xunit_file = path.abspath(sect+'.xunit.xml')
359 if sys.platform == 'win32':
360 xunit_file = '"%s"' % xunit_file
361 self.call_args.append(xunit_file)
356
362
357 if '--with-xml-coverage' in self.call_args:
363 if '--with-xml-coverage' in self.call_args:
358 self.coverage_xml = path.abspath(sect+".coverage.xml")
364 self.coverage_xml = path.abspath(sect+".coverage.xml")
General Comments 0
You need to be logged in to leave comments. Login now