#!/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 ==="