new tests
This commit is contained in:
parent
a2fb31ab5a
commit
2a04b62f45
45 changed files with 97 additions and 0 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue