diff options
| author | CLHelper <359823989+CLHelper@users.noreply.github.com> | 2026-11-22 17:05:18 +0000 |
|---|---|---|
| committer | CLHelper <359823989+CLHelper@users.noreply.github.com> | 2026-11-22 17:05:18 +0000 |
| commit | aea46a87dbe8f9f4fe048a95a8d57d31952e0d52 (patch) | |
| tree | 0bb382726ee5d10b53f1bedb492ed229330e518e /runtime/test/gameinput_test.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
test_feature_scan: a test that fails can no longer leave the script run green
CI's standard-library job runs tests/test_feature_scan.py with python -I. Its
__main__ held all eight tests in one try block that swallowed AssertionError,
so a failing bare assert (test_duplicate_shader_names_keep_file_stages ends in
one) skipped every test after it and the run printed "OK (0 failures)", exit 0.
Each test_* function now runs on its own (run_tests), taken from the module in
file order so a new test is not left out; one that raises is reported and
fails the run, and the rest still run. A new test covers run_tests.
AI-assisted.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions