changeset 18058:fe5a41144982

run-tests: fix exename on Windows
author Siddharth Agarwal <sid0@fb.com>
date Tue, 11 Dec 2012 15:38:42 -0800
parents 6b88ded2a993
children c135ab6413b4
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: