@echo off
echo ===== Running Sauna Driver Validation Tests =====

echo.
echo Building validation tests...
cl /EHsc /std:c++17 /I"../../headers" /Fe"validation_tests.exe" validation_test.cpp ../lighthouse_driver_wrapper.cpp ../imu_data_provider.cpp test_utils.cpp

if %ERRORLEVEL% neq 0 (
    echo Failed to build validation tests.
    exit /b %ERRORLEVEL%
)

echo.
echo Running validation tests...
echo Note: These tests require manual intervention to simulate tracking loss.
echo Please follow the instructions on screen.
echo.
validation_tests.exe

echo.
echo Validation tests completed.
pause