Files
Quadrapassel/tools/test_components.py
T
Brian Holman d412e35c4e Implement CoCo 3 Quadrapassel and deliver build 01
Add gameplay, keyboard/joystick controls, disk-backed high scores and settings,
standard CMOC effects, and the approved C graphics renderer. Include the clearer
attributed font, title/credits updates, source-verified Modern and Classic (40.2)
scoring, meaningful regression fixtures, and recorded guest validation.

Deliver QUADPSL01.DSK with fresh high scores. Retain source, licenses and selected
guest evidence; exclude personal disks, private connections and build scratch.

Host rules/input/persistence/video checks and memory guards pass. Official
512 KB playtests pass the recorded checks; actual 128 KB/physical joystick
qualification and the normal-window buzzing retest remain pending.
2026-11-11 03:14:14 -07:00

16 lines
716 B
Python

#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-or-later
"""Host-only input/persistence regression suites; CoCo qualification is separate."""
import subprocess
from pathlib import Path
root=Path(__file__).resolve().parents[1]
out=root/'test-output/components'
out.mkdir(parents=True,exist_ok=True)
for name in ['input','store']:
exe=out/(name+'_test')
subprocess.run(['clang','-std=c89','-Wall','-Wextra','-Werror','-pedantic',
'-fsanitize=address,undefined','-DQUAD_HOST','-I'+str(root/'src/game'),
str(root/'tests'/(name+'_test.c')),str(root/'src/game'/(name+'.c')),
'-o',str(exe)],check=True)
subprocess.run([str(exe)],check=True)