# HG changeset patch # User Siddharth Agarwal # Date 1355269122 28800 # Node ID fe5a4114498250d08d7809c2e144b83686daf101 # Parent 6b88ded2a99323977775043582278a0c5f5fd036 run-tests: fix exename on Windows diff -r 6b88ded2a993 -r fe5a41144982 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: