test: cover parse_words and literal string edge cases in spirv_interface #500

Merged
leonida/mandy
kotekompotek merged 1 commit from work/spirv-interface-empty-words into main 2026-11-24 07:39:37 +00:00

Pull request successfully merged and closed

kotekompotek commented 2026-11-24 06:30:09 +00:00

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.

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.
QemmHD commented 2026-11-24 07:39:35 +00:00

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).

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).
Sign in to join this conversation.
No description provided.