##// END OF EJS Templates
make indentation of coverage code in run-tests.py nicer.
Vadim Gelfer -
r2145:5bb3cb9e default
parent child Browse files
Show More
@@ -103,7 +103,6 b' def install_hg():'
103 os.chmod(os.path.join(BINDIR, 'hg'), 0700)
103 os.chmod(os.path.join(BINDIR, 'hg'), 0700)
104
104
105 def output_coverage():
105 def output_coverage():
106 if coverage:
107 vlog("# Producing coverage report")
106 vlog("# Producing coverage report")
108 omit = [BINDIR, TESTDIR, PYTHONDIR]
107 omit = [BINDIR, TESTDIR, PYTHONDIR]
109 if not options.cover_stdlib:
108 if not options.cover_stdlib:
@@ -242,6 +241,7 b' try:'
242 tests += 1
241 tests += 1
243
242
244 print "\n# Ran %d tests, %d failed." % (tests, failed)
243 print "\n# Ran %d tests, %d failed." % (tests, failed)
244 if coverage:
245 output_coverage()
245 output_coverage()
246 finally:
246 finally:
247 cleanup_exit()
247 cleanup_exit()
General Comments 0
You need to be logged in to leave comments. Login now