$ErrorActionPreference = "Continue" cd "C:\Users\alexi\Documents\projects\aissia" Write-Host "=== Running aissia_tests.exe ===" -ForegroundColor Cyan & ".\build\tests\aissia_tests.exe" 2>&1 | Tee-Object -FilePath "test_output.txt" $testExitCode = $LASTEXITCODE Write-Host "`nTest exit code: $testExitCode" -ForegroundColor $(if ($testExitCode -eq 0) { "Green" } else { "Red" }) Write-Host "`n=== Running test_stt_engines.exe ===" -ForegroundColor Cyan & ".\build\test_stt_engines.exe" 2>&1 | Tee-Object -FilePath "stt_test_output.txt" -Append $sttExitCode = $LASTEXITCODE Write-Host "`nSTT Test exit code: $sttExitCode" -ForegroundColor $(if ($sttExitCode -eq 0) { "Green" } else { "Red" }) Write-Host "`n=== Test Summary ===" -ForegroundColor Cyan Write-Host "aissia_tests: $(if ($testExitCode -eq 0) { 'PASSED' } else { 'FAILED' })" Write-Host "test_stt_engines: $(if ($sttExitCode -eq 0) { 'PASSED' } else { 'FAILED' })"