upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 20:39:48 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-30 20:39:48 +0100
commitb535fb0dc32d896b88a57c3425dbfadadfef6cb6 (patch)
tree6b7caa7417b7c38c1f8c1784671bf89293a83d19 /runtime/test/cpp_unwind_test.cpp
parent8f41d7d019e6b7006a68682de065ae176a56f2ec (diff)
d3d12: an in-game gate: one command, one run folder, one summary.json (D3D12-GAME-GATE)
Testers ran in-game gates and A/Bs by hand on five machines, each with their own launcher wrapper and log parsers, and lost runs to consoles and key files. scripts/game-gate.ps1 runs leonida.exe through the checkout's play-d3d12.ps1 and writes one folder per run: run.json, launch.ps1, the -DryRun settings, the F1 settings file, the launcher's output (the precompile lines nobody kept), the runtime's log, events.jsonl and a copy of the tester's data template (their own saves are never touched). It stops the game with WM_SYSCOMMAND/SC_CLOSE (the runtime's own end: suspend, pipeline cache saved) once -WorldSeconds were spent in the world, on a STOP file or after -MaxMinutes, and kills it only 60 s later; it keeps the game's exit code. `start` runs the same detached (created through CIM, so an agent's or console's end does not end it); `stop` asks a run to end. tools/game_gate.py (standard library) reads the folder into summary.json (leonida-gate-summary/1): build, card, settings (the run's settings line, no paths), precompile counts, time to the world (two frame lines with 500 draws or more, cutscenes included), when the pipeline cache went warm (60 s with nothing being made), fps from the presents (median, p5, frame p95, end median, the first second under 2 frames, the longest gap with no frame), crashes by kind (device lost, panic, fault by module kind), exit, stop and a verdict: PASS needs 300 s in the world, no device loss, panic or fault, no gap over 10 s, alive at the stop. The testers' answers to a draft on the bridge are folded in. Its tests use synthetic logs and check that the runtime still writes what it reads.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions