mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
b059f3df25
The bintest added in 0d87198c92 runs the compiled output via the
mruby binary and uses Kernel#puts in the script body. In builds
that omit mruby-bin-mruby, the test failed with "sh: bin/mruby:
not found" before reaching the actual assertion.
Skip the assert block when bin/mruby isn't built, and switch the
script's puts to print since Kernel#puts only exists when mruby-io
is loaded (same pattern as #6814).
close #6831
Co-authored-by: Claude <noreply@anthropic.com>