##// END OF EJS Templates
run-tests: stuff a `python3.exe` into the test bin directory on Windows...
Matt Harbison -
r47069:cc0b332a default
parent child Browse files
Show More
@@ -3466,6 +3466,16 b' class TestRunner(object):'
3466 if err.errno != errno.EEXIST:
3466 if err.errno != errno.EEXIST:
3467 raise
3467 raise
3468 else:
3468 else:
3469 # Windows doesn't have `python3.exe`, and MSYS cannot understand the
3470 # reparse point with that name provided by Microsoft. Copy the
3471 # current interpreter to PATH with that name so the shebang lines
3472 # work.
3473 if os.getenv('MSYSTEM'):
3474 shutil.copy(
3475 sys.executable,
3476 _bytes2sys(self._tmpbindir + b'/python3.exe'),
3477 )
3478
3469 exedir, exename = os.path.split(sysexecutable)
3479 exedir, exename = os.path.split(sysexecutable)
3470 vlog(
3480 vlog(
3471 "# Modifying search path to find %s as %s in '%s'"
3481 "# Modifying search path to find %s as %s in '%s'"
General Comments 0
You need to be logged in to leave comments. Login now