upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorpes7 <pes7@users.noreply.github.com>2026-11-24 01:56:31 +0400
committerClaude <noreply@anthropic.com>2026-11-25 11:33:51 +0000
commitf03dfe23ae29c56bc705865367d4fa00b7100fa4 (patch)
tree9f9ffec4893147603574d856adc10a0157454707 /runtime/test/tiny_game_exit_code_test.cpp
parent3bcb6212a22afe78c85900dbd93d40f1c3554d70 (diff)
bench_translate: refuse flag combinations that were silently ignored, and require a baseline that exists
Reported by @SamuelReeder on #7056. --compare ignored --json, --write-baseline and --baseline; a --baseline path that does not exist was accepted and produced empty numbers; and naming one file for both baseline flags let a run that failed the limit replace the reference it failed against, so the same workload passed on the retry. All three are now parser errors, with the reason in the message. --compare also refuses to compare two trees whose measurements do not cover the same programs (a skipped program read as a ratio that looks like a win) and reports an empty corpus instead of dividing by nothing. Tests: the three refusals, an aliased baseline, a missing baseline file.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions