test: cover parse_words and literal string edge cases in spirv_interface #500
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/500"
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 ubiquitarianism/leonida. Originally posted by kotekompotek on 2026-11-24T06:30:09Z.
Adds unit tests for parse_words (short/unaligned/bad magic/swapped endianness) and decode_literal_string in tools/spirv_interface.py. Verified with pytest: 46 passed.
Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T07:39:35Z.
Merging. Why merged: tests-only coverage for spirv_interface (+3 tests).
Why it's good: security-reviewed; clean merge on main
d42773d; the existing 43 tests and the 3 new ones pass.AI-assisted (Claude Code, Claude Opus 5.5).