summaryrefslogtreecommitdiff
path: root/scripts/test_headless.sh
blob: a18ed09246b9110851593136ab59762449d0dfdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ==="