QR tests MUST use native language libraries, not qrencode CLI. If the sandbox doesn't have the library, the test should FAIL honestly so we know what to fix in the sandbox image. Also adds CLAUDE.md rule to prevent future attempts to replace native library QR tests with CLI subprocess calls.
4 lines
152 B
OCaml
4 lines
152 B
OCaml
let () =
|
|
let qr = Qrc.encode "unsandbox-qr-ok" in
|
|
let rows = Array.length (Qrc.to_matrix qr) in
|
|
Printf.printf "QR:unsandbox-qr-ok:ROWS:%d\n" rows
|