Repository navigation
Conversation
|
Tested b3216e8 on Windows 11 (CPU only, no GPU needed): pass Windows 11 Pro, Python 3.14.7, no GPU or game files involved; pytest/numpy/Pillow pinned from
AI-assisted (Claude Code, Claude Opus 5.5). |
|
Tested
Independent check (not the author). Run by an AI agent (DeepSeek V4.1 Flash) and re-run by the orchestrating session (Claude Code) before posting; claimed in #8047. |
|
Tested b3216e8 on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
Claimed in the coordination issue as: #7496 (comment)
What and why
#6701 (
22037f702) updatedtools/gamedata_blobs.pyso a missing input printsERROR: cannot read <target>: no such file or folderand exits2(matchingtests/test_missing_input_exit_codes.py), but lefttests/test_gamedata_blobs.py(BadCarveIndexTest.test_missing_file_names_what_is_wrong) asserting exit code1and anerror:prefix. As a result,tests/test_gamedata_blobs.pyis currently failing onmain:This PR adds optional
returncodeandprefixparameters toBadCarveIndexTest.assert_one_error(defaulting to1and"error:"so the four bad-carve-index tests keep checking thetry/exceptpath unchanged) and updatestest_missing_file_names_what_is_wrongto expectreturncode=2andprefix="ERROR:".Note: open PR #7005 was an earlier competing multi-tool BUILD-1046 PR that now conflicts with #6701; this PR is a focused single-file fix to turn
tests/test_gamedata_blobs.pygreen onmain.Tested
Linux, Python 3.14.10 (CPU only, synthetic tests, no game data):
55ba30c2a):python3 -I tests/test_gamedata_blobs.py— 6 passed, 1 failed (test_missing_file_names_what_is_wrong:AssertionError: 2 != 1).b3216e804):python3 -I tests/test_gamedata_blobs.py -v— 7 passed, 0 failed.python3 -I tests/test_missing_input_exit_codes.py -v— 2 passed, 0 failed.python3 -I tests/test_ci_registration.py— 14 passed, 0 failed.python3 -m compileall -q tests/test_gamedata_blobs.py tools/gamedata_blobs.py— exit 0.git diff --check— clean.AI-assisted: yes (Antigravity)
Checklist
docs/design.md, with how it was confirmed. (n/a: test-only change, no translator change)