Skip to content

Commit b34d7c6

Browse files
committed
Updated "run_test_launcher.bat" to use current WinPython distro (from %WINPYDIRBASE% env var)
1 parent 89b4cb2 commit b34d7c6

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

run_test_launcher.bat

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
@echo off
2-
32
setlocal
43
set PYTHONPATH=%cd%
5-
6-
for /f %%f in ('dir /b c:\w*') do (call :test %%f)
7-
pause
8-
9-
exit /B %ERRORLEVEL%
10-
11-
:test
12-
set ENV=C:\%~1\scripts\env.bat
13-
if exist %ENV% (
14-
echo ************************** Testing with %~1 **************************
15-
call %ENV%
16-
python -m qwt.tests.__init__
4+
if defined WINPYDIRBASE (
5+
call %WINPYDIRBASE%\scripts\env.bat
6+
@echo ==============================================================================
7+
@echo:
8+
@echo Using WinPython from %WINPYDIRBASE%
9+
@echo:
10+
@echo ==============================================================================
11+
@echo:
1712
)
18-
exit /B 0
13+
python -m qwt.tests.__init__

0 commit comments

Comments
 (0)