run-tests: fix exename on Windows
authorSiddharth Agarwal <sid0@fb.com>
Tue, 11 Dec 2012 15:38:42 -0800
changeset 18058 fe5a41144982
parent 18057 6b88ded2a993
child 18059 c135ab6413b4
run-tests: fix exename on Windows
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: