diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-01 02:09:56 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-02 05:19:44 +0100 |
| commit | dc63e371ce211540f50f8cfb640f1daab97b285f (patch) | |
| tree | 38c8ee25bc87125c7113ee6ac1fa0b24e3b6c33b /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 8422def759cda12c89f918438eeb8d53dd5972a6 (diff) | |
scripts: red_green.py --mutate checks that the tests catch the change itself (TEST-RED-GREEN-MUTATION)
Verifiers remove a line of the fix by hand on nearly every test pull request to see the new test fail.
--mutate does it for each hunk of the pull request's code outside its tests (Rust and Python files it
changes; hunks taken without context, so a test changed next to the code stays out): after the green
side, it undoes that hunk alone, runs the tests again and reports it as caught (a test that went red
then green fails), not caught, does not build or does not apply, up to --mutate-max hunks (10); the
hunk is put back after each run. Python tests now run with -B: an undone change of the same size within
the same second would otherwise run the stale bytecode.
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions