new tests

This commit is contained in:
bronku 2025-12-01 11:26:42 +01:00
parent a2fb31ab5a
commit 2a04b62f45
45 changed files with 97 additions and 0 deletions

View file

@ -26,5 +26,18 @@ for test in parser/*.in; do
done
echo "✓ All parser tests passed"
echo ""
echo "=== Ruby output TESTS ==="
for test in ruby/*.in; do
name=$(basename "$test" .in)
echo "Testing ruby output/$name..."
if ! ../build/py2rb < "$test" | diff - "ruby/${name}.out"; then
echo "FAILED: ruby output/$name"
exit 1
fi
done
echo "✓ All ruby output tests passed"
. .
echo ""
echo "SUCCESS: All tests passed"