render-mutants.sh: the trap's timing is stated (it runs when the build or check in flight returns)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-23 03:41:32 +01:00
commit cb8bcac964

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Breaks the shipped look once per claim of RenderCheck and wants that claim's line to fail. Each mutant is one set of edits, each of which must
# apply exactly once; the file is restored whatever happens (the end, a failed edit or build, an interrupt: a trap restores it, and a leftover .orig
# apply exactly once; the file is restored whatever happens (the end, a failed edit or build, an interrupt: a trap restores it once the build or check in flight returns, and a leftover .orig
# from a run that died harder is refused at the start). Needs a window (RenderCheck draws). Run from anywhere:
# GODOT=<godot console exe> bash client/tests/render-mutants.sh # every claimed mutant must fail its own line
# GODOT=<godot console exe> UNCLAIMED=1 bash client/tests/render-mutants.sh # the unclaimed ones below must still pass (their readings are the record)