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:10:40 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-02 12:04:48 +0100
commitd80442e6a97234b259b4a3a2c333d261cb642bd4 (patch)
tree93282c44a7cb49c937232d1335f684269bbbdca8 /runtime/test/code_hooks_test.cpp
parent3278ba15aebc0a4a8058df25695b980c7870096c (diff)
scripts: game-abba.ps1 starts a re-run clean, stops on a failed warm-up, checks the comparator and records the arms (review)
- A run into an -Out used before first deletes what the earlier one wrote there (runs, abba.json, comparison.*): a run folder of the same name kept its ab-excluded.txt, which left a good run out while abba.json said left_out null, and its data copy. - A warm-up or discarded run whose gate fails stops the runner at once, before the measured runs. - Every call of d3d12_ab_compare.py (plan, check, abba) has its exit code checked before its output is used: a failed comparator writes no comparison. The runner exits 1 when the runs left give no comparison (too few runs, unbalanced pairs), 0 with one. - abba.json records the arms' inputs (more, more_a, more_b, play_args, max_minutes, retry) and each run's commit. - The guard on -Out covers the runner's own checkout in two-build mode, appends [IO.Path]::DirectorySeparatorChar, and -DataA/-DataB (and the checkouts) compare as full paths without an ending separator, so "dir" and "dir\" are one folder. - tests/test_game_abba.py runs the script over a stand-in gate that writes run.json and summary.json: a failed and a cut-short run left out and retried, the outputs, a re-run into the same -Out, a failed warm-up or discarded run, a failing comparator, too few runs left, and the record's fields. - docs/measuring_fps.md: the re-run, the stop on a failed warm-up, the exit codes and abba.json's fields.
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions