Mercurial > hg
changeset 20018:e13fed95c69b
run-tests: remove code that creates a dummy 'diffstat'
This was introduced in fb1d7a42663c for an old test that is no longer the same.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Fri, 15 Nov 2013 22:56:08 -0500 |
parents | 519120a96c63 |
children | edbf7f1fd2a2 |
files | tests/run-tests.py |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri Nov 15 18:08:50 2013 -0500 +++ b/tests/run-tests.py Fri Nov 15 22:56:08 2013 -0500 @@ -498,18 +498,6 @@ usecorrectpython() - vlog("# Installing dummy diffstat") - f = open(os.path.join(BINDIR, 'diffstat'), 'w') - f.write('#!' + sys.executable + '\n' - 'import sys\n' - 'files = 0\n' - 'for line in sys.stdin:\n' - ' if line.startswith("diff "):\n' - ' files += 1\n' - 'sys.stdout.write("files patched: %d\\n" % files)\n') - f.close() - os.chmod(os.path.join(BINDIR, 'diffstat'), 0700) - if options.py3k_warnings and not options.anycoverage: vlog("# Updating hg command to enable Py3k Warnings switch") f = open(os.path.join(BINDIR, 'hg'), 'r')