- Add ws2_32 linking for httplib on Windows (tests/CMakeLists.txt) - Fix Python path for Windows (use full path instead of python3/python) - Add PowerShell test runner script (run_tests.ps1) Windows-specific issues resolved: - Microsoft Store Python stub bypassed by using full Python path - Winsock dependency for httplib network functionality - All 120 tests now pass (282 assertions) Test results: 120/120 passed ✅ - Module Tests (70 TI): Scheduler, Notification, Monitoring, AI, Voice, Storage, Web - MCP Types Tests (15 TI): JSON-RPC serialization - MCP Transport Tests (20 TI): stdio communication - MCP Client Tests (15 TI): multi-server connections 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
927 B
PowerShell
17 lines
927 B
PowerShell
$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' })"
|