cc -I/mnt/data/dev-v017/sdl/include  -O2 -std=c99 -Wall -Wextra  -o tests/test-menu tests/test_menu.c src/audio.c src/score.c src/fairness.c src/campaign.c -L/mnt/data/dev-v017/sdl/lib -lSDL3_image -Wl,-rpath,/mnt/data/dev-v017/sdl/lib -Wl,--enable-new-dtags -lSDL3  -lm
python3 tests/test_assets.py
PASS: 6 full-resolution backgrounds, 9 RGBA directional sheets, soft alpha mask
PASS: title/menu assets and all packaged asset checksums
python3 tests/test_campaign_manifest.py
PASS: 30 frozen plans, unique seeds, ascending measured scores, catalogue identity, JSON/C agreement
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-runtime
Controller: Fallen Keep QA Raw (raw joystick fallback)
Controller: Fallen Keep QA Gamepad (SDL gamepad)
PASS: 56 checks (directions, animation state, practice modes, virtual controllers, hotplug, F10/F11)
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-menu
Controller: Menu QA Gamepad (SDL gamepad)
Controller: Menu QA Raw (raw joystick fallback)
PASS: 115 frontend checks (menu flow, scrolling, rendering, settings, key rebinding, score safety, mouse, virtual controllers, F10/F11)
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-threads
Raster 1920x1080: 7171 affected pixels; peak channel change 21
Raster 1280x720: 3396 affected pixels; peak channel change 21
PASS: 43 marionette checks
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software SDL_AUDIO_DRIVER=dummy ./tests/test-audio
Audio: 48 kHz stereo / dummy (six-operator FM)
Audio unavailable (continuing silently): Audio target 'intentionally-unavailable' not available
Audio: 48 kHz stereo / dummy (six-operator FM)
TRACK 00 The Invisible Hand        94.26 seconds; sampled peak 0.13062
TRACK 01 Stone in Captivity        88.26 seconds; sampled peak 0.14789
TRACK 02 The Motionless Wood       76.90 seconds; sampled peak 0.13827
TRACK 03 Windows Without Voices    67.96 seconds; sampled peak 0.13073
TRACK 04 Flowers of Exile          106.40 seconds; sampled peak 0.14438
TRACK 05 The Enclosed Garden       131.64 seconds; sampled peak 0.13430
TRACK 06 The Last Autumn           88.55 seconds; sampled peak 0.15176
PASS: 196 audio checks; dense-combat peak 0.251920
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-deaths
PASS: 772 death-animation checks
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-fairness
PASS: 146 fairness checks (limits, reservations, telegraphs, route filtering, collision, RNG isolation, warning rendering)
SDL_VIDEO_DRIVER=offscreen SDL_RENDER_DRIVER=software ./tests/test-campaign
PASS: 14417 campaign checks (generation, frozen data, ordering, reservations, replay, modes, ending, records)
