Files
core/tests/start_tests.bat
FoxVoland fac12b2ea8 [+] mvp1
basic working mvp
2026-10-07 15:12:38 +03:00

20 lines
325 B
Batchfile

@echo off
setlocal
cd /d "%~dp0.."
set "PYTHON=D:\_Programs\anaconda\envs\sites\python.exe"
if not exist "%PYTHON%" (
echo Python not found: %PYTHON%
pause
exit /b 1
)
if "%~1"=="" (
"%PYTHON%" -m pytest "%~dp0."
) else (
"%PYTHON%" -m pytest %*
)
set "EXIT_CODE=%ERRORLEVEL%"
pause
exit /b %EXIT_CODE%