Files

16 lines
644 B
Bash
Executable File

#!/bin/sh
# M3 test gate: validate the Display/Screen layout and ROM entries, compile the
# branch/loop tests and the first C Xlib client, assemble/link with GSPA/GSPLNK,
# load the COFF in MAME, and require the branch markers plus a solid white
# window area.
set -eu
ROOT=$(cd "$(dirname "$0")/../../.." && pwd)
# These two checks are part of the gate, not manual steps: layout.sh proves the
# 0x480/0x40 root probe still selects the ROM displacements, and
# validate-syms.sh proves the four Xlib imports are still the v2.2 entries.
"$ROOT/scripts/tests/m3/layout.sh"
"$ROOT/scripts/m3/validate-syms.sh"
exec "$ROOT/scripts/m3/run.sh" "$@"