diff --git a/run_tests.py b/run_tests.py index d818757b50..1e01b43656 100755 --- a/run_tests.py +++ b/run_tests.py @@ -56,7 +56,7 @@ def is_included(backend): run_test( filename, "ast", - "lpython --show-ast --no-color {infile} -o {outfile}", + "lpython --show-ast --indent --no-color {infile} -o {outfile}", filename, update_reference, extra_args) @@ -65,7 +65,7 @@ def is_included(backend): run_test( filename, "ast_new", - "lpython --show-ast --new-parser --no-color {infile} -o {outfile}", + "lpython --show-ast --indent --new-parser --no-color {infile} -o {outfile}", filename, update_reference, extra_args) @@ -74,14 +74,14 @@ def is_included(backend): run_test( filename, "asr", - "lpython --show-asr --no-color {infile} -o {outfile}", + "lpython --show-asr --indent --no-color {infile} -o {outfile}", filename, update_reference, extra_args) if pass_ is not None: cmd = "lpython --pass=" + pass_ + \ - " --show-asr --no-color {infile} -o {outfile}" + " --show-asr --indent --no-color {infile} -o {outfile}" run_test(filename, "pass_{}".format(pass_), cmd, filename, update_reference, extra_args)