##// END OF EJS Templates
run-tests: use a list comprehension instead of map
Matt Mackall -
r15858:14132a55 default
parent child Browse files
Show More
@@ -493,7 +493,7 b' def outputcoverage(options):'
493 return
493 return
494
494
495 covrun('-c')
495 covrun('-c')
496 omit = ','.join(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2))
496 omit = ','.join(os.path.join(x, '*') for x in [BINDIR, TESTDIR])
497 covrun('-i', '-r', '"--omit=%s"' % omit) # report
497 covrun('-i', '-r', '"--omit=%s"' % omit) # report
498 if options.annotate:
498 if options.annotate:
499 adir = os.path.join(TESTDIR, 'annotated')
499 adir = os.path.join(TESTDIR, 'annotated')
General Comments 0
You need to be logged in to leave comments. Login now