run-tests: fix exename on Windows stable
authorSiddharth Agarwal <sid0@fb.com>
Tue, 11 Dec 2012 15:38:42 -0800
branchstable
changeset 1172 9948a0145724
parent 1171 5af439678b99
child 1173 d5da1c5cf1f5
run-tests: fix exename on Windows [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Tue Dec 11 15:13:23 2012 -0800
+++ b/tests/run-tests.py	Tue Dec 11 15:38:42 2012 -0800
@@ -363,6 +363,8 @@
             return
     else:
         exename = 'python'
+        if sys.platform == 'win32':
+            exename = 'python.exe'
     vlog('# Making python executable in test path use correct Python')
     mypython = os.path.join(BINDIR, exename)
     try: