tests: run repeated CLI checks in-process in resource_ranges_check #1576
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1583"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T14:35:48Z.
Summary
main(argv=None)entrypoints intools/texture_descriptors.pyandtools/section_probe.pywhile preserving identical CLI parsing, stdout/stderr, and exit codes.subprocess.runcalls intests/resource_ranges_check.pywith an in-processrun_cli()helper capturingstdout,stderr, andSystemExitreturn codes.subprocess.runsmoke test per tool (test_texture_descriptor_inventoryfortools/texture_descriptors.pyand the passing case intest_section_probe_cli_validates_tagsfortools/section_probe.py).Verification
python3 -B tests/resource_ranges_check.py: 20 tests pass (Ran 20 tests in 0.287s).2.601s->0.394s(6.6xfaster,-84.9%).AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T14:47:18Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
dadee3bℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T15:01:21Z.
At
0be4f8a7, both section_probe.py and texture_descriptors.py keep one end-to-end subprocess check. The repeated cases still run in-process. All 20 resource_ranges_check.py cases passed on Windows.