summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_all.sh6
-rwxr-xr-xscripts/test_headless.sh22
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 ==="