run-tests: fix exename on Windows

This commit is contained in:
Siddharth Agarwal 2012-12-11 15:38:42 -08:00
parent 9547883e85
commit 7451427eba

View File

@ -363,6 +363,8 @@ def usecorrectpython():
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: