diff options
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r-- | tests/test_browser.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index 1936bb39..3ad2087e 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -85,7 +85,10 @@ If manually bisecting: cwd = os.getcwd() try: os.chdir(path_from_root('third_party', 'lzma.js')) - Popen(['sh', './doit.sh']).communicate() + if WINDOWS and Building.which('mingw32-make'): # On Windows prefer using MinGW make if it exists, otherwise fall back to hoping we have cygwin make. + Popen(['doit.bat']).communicate() + else: + Popen(['sh', './doit.sh']).communicate() finally: os.chdir(cwd) |