tests/run-tests.py
branchstable
changeset 1304 366b3a1bfea9
parent 1298 d69c1db7cf8b
child 1305 d8b739c3d37a
--- a/tests/run-tests.py	Thu Nov 14 18:07:43 2013 -0600
+++ 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')