diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check_all.sh | 6 | ||||
| -rwxr-xr-x | scripts/test_headless.sh | 22 |
2 files changed, 25 insertions, 3 deletions
diff --git a/scripts/check_all.sh b/scripts/check_all.sh index 113d3f0..81d4c93 100755 --- a/scripts/check_all.sh +++ b/scripts/check_all.sh @@ -4,8 +4,8 @@ # # What it verifies: # 1. Native build (macOS/Linux) with all tests and tools -# 2. All 26 tests pass -# 3. All tools compile (spectool, specview, specplay) +# 2. All 36 tests pass +# 3. All tools compile # 4. Windows cross-compilation (if mingw-w64 available) # # Usage: ./scripts/check_all.sh @@ -20,7 +20,7 @@ cmake --build build -j8 echo "Running test suite..." (cd build && ctest --output-on-failure) echo "Verifying tools compile..." -cmake --build build --target spectool specview specplay -j8 +cmake --build build --target test_spectool -j8 echo "" echo "--- Running Windows Cross-Compilation Build ---" diff --git a/scripts/test_headless.sh b/scripts/test_headless.sh new file mode 100755 index 0000000..a18ed09 --- /dev/null +++ b/scripts/test_headless.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# Test headless mode build and execution +# Workspace: demo (shared across all workspaces) + +set -e + +echo "=== Headless Mode Test ===" +echo + +echo "1. Configuring..." +cmake -S . -B build_headless -DDEMO_HEADLESS=ON + +echo +echo "2. Building..." +cmake --build build_headless -j4 + +echo +echo "3. Running 5s test..." +./build_headless/demo64k --headless --duration 5 + +echo +echo "=== Test Complete ===" |
