File size: 1,143 Bytes
1838600 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | @echo off
echo [SENTINEL] Starting GUVI Compliance Tests...
echo ===========================================
:: Attempt to locate Python
where python >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo [ERROR] Python not found in PATH.
echo Please make sure Python is installed and added to your PATH.
echo Trying typical locations...
if exist "C:\Python312\python.exe" (
set PYTHON="C:\Python312\python.exe"
) else if exist "C:\Python311\python.exe" (
set PYTHON="C:\Python311\python.exe"
) else if exist "venv\Scripts\python.exe" (
set PYTHON="venv\Scripts\python.exe"
) else (
echo [FATAL] Could not find Python. Exiting.
pause
exit /b 1
)
) else (
set PYTHON=python
)
echo Using Python: %PYTHON%
:: Install requirements if needed (quietly)
echo [INFO] checking requirements...
%PYTHON% -m pip install requests pydantic tenacity >nul 2>&1
:: Run the verification script
echo [INFO] Running tests/test_guvi_compliance.py...
%PYTHON% tests/test_guvi_compliance.py
echo.
echo ===========================================
echo [SENTINEL] Test Sequence Complete.
pause
|