Skip to content

Commit

Permalink
Test LPython AST
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jan 18, 2022
1 parent 630d0ef commit 93110eb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,8 @@ def main():
filename, update_reference, extra_args)

if ast:
if filename.endswith(".f"):
# Use fixed form
run_test("ast", "lfortran --fixed-form --show-ast --no-color {infile} -o {outfile}",
filename, update_reference, extra_args)
else:
# Use free form
run_test("ast", "lfortran --show-ast --no-color {infile} -o {outfile}",
run_test("ast", "lpython --show-ast --no-color {infile} -o {outfile}",
filename, update_reference, extra_args)
if ast_indent:
run_test("ast_indent", "lfortran --show-ast --indent --no-color {infile} -o {outfile}",
filename, update_reference, extra_args)

if ast_f90:
if filename.endswith(".f"):
Expand Down

0 comments on commit 93110eb

Please sign in to comment.