upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-02 04:52:07 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-02 12:04:48 +0100
commit9253877875281760f206a59796ab7fcb61be247a (patch)
tree4590b0ed859b72f83e132051a9157341c4e9569c /runtime/test/code_hooks_test.cpp
parent45841e40e752b71231d63ae8a1d11f4bbe4d8dd5 (diff)
scripts: game-abba.ps1 deletes only its own -Out, refuses what can never be checked, writes LF records as it goes (review)
- A re-run deletes runs, abba.json and comparison.* only when -Out's abba.json is this runner's (its schema); an -Out holding any of those without it is refused and kept. Each arm's scripts\game-gate.ps1, -Game, -DataTemplate and the data folders are checked before anything is deleted (two-build mode needs the gate in each checkout). - -Out may not be -Game, -DataTemplate or a data folder, nor be inside one or hold one (full paths without an ending separator, case ignored on Windows). -Retry is 0 or more. - One reading of an arm's settings, d3d12_ab_compare.py's arm_settings(): the way game-gate.ps1 reads -More (split at ";", name and value trimmed). The runner refuses before the first run what the runtime's settings line could never show (not LEONIDA_NAME=value, a value with a space or over 120 characters), through the new `settings` command, and passes the arm's text to `check --more`, which compares with the same reading. - `check` builds on run_value, so a run that counts has one definition (a PASS without a frame rate is left out and run again), and takes AFTER_WORLD_S from tools/game_gate.py. Its docstring no longer says it prints no argument text. - abba.json holds the folders and checkouts as well, and is written at the start and after each run, so an error leaves it. abba.json, comparison.txt, comparison.json and ab-excluded.txt are LF with one final newline. - An empty -More or -PlayArgs is not passed to the gate (PowerShell 7.0 to 7.2 drop an empty argument). - Tests: the stand-in gate notes the parameters it gets and can end a run with another exe, another setting or no frame rate; new cases for each point above, a slot left out on every try keeping its place, and the bytes of the files written. test_d3d12_ab_compare.py removes its temporary folders. - docs/measuring_fps.md: the refusals, the gate each checkout needs, the record and the re-run.
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions