@echo off REM Test runner batch script for kabellaengen project REM Calls run_tests.py to execute all tests call %~dp0setenv.bat CALL manage_interpreter.bat activate if errorlevel 1 ( echo. echo Failed to activate the Python interpreter! pause exit /B 1 ) pushd "%PROJECT%" "%VIRTUAL_ENV%\Scripts\python.exe" -m lib.run_tests %* set PYTHON_EXIT=%ERRORLEVEL% popd CALL manage_interpreter.bat deactivate if %PYTHON_EXIT% NEQ 0 ( echo. echo Tests failed! exit /B 1 ) else ( echo. echo All tests passed! exit /B 0 )