new interface
This commit is contained in:
parent
b263b1e8b4
commit
5c9abff73f
22 changed files with 75 additions and 34 deletions
|
|
@ -6,7 +6,7 @@ for test in lexer/*.in; do
|
|||
name=$(basename "$test" .in)
|
||||
echo "Testing lexer/$name..."
|
||||
|
||||
if ! ../build/py2rb --dump-tokens < "$test" | diff - "lexer/${name}.out"; then
|
||||
if ! ../build/py2rb --dump-tokens --no-output --no-parsing < "$test" | diff - "lexer/${name}.out"; then
|
||||
echo "FAILED: lexer/$name"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -19,7 +19,7 @@ for test in parser/*.in; do
|
|||
name=$(basename "$test" .in)
|
||||
echo "Testing parser/$name..."
|
||||
|
||||
if ! ../build/py2rb --dump-ast < "$test" | diff - "parser/${name}.out"; then
|
||||
if ! ../build/py2rb --dump-ast --no-output < "$test" | diff - "parser/${name}.out"; then
|
||||
echo "FAILED: parser/$name"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue