Skip to content

Commit

Permalink
Add mod_to_asr into the testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Sep 24, 2020
1 parent 189fac3 commit 9211060
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def main():
ast_cpp_hip = test.get("ast_cpp_hip", False)
ast_openmp = test.get("ast_openmp", False)
asr = test.get("asr", False)
mod_to_asr = test.get("mod_to_asr", False)
llvm = test.get("llvm", False)
cpp = test.get("cpp", False)
obj = test.get("obj", False)
Expand Down Expand Up @@ -84,6 +85,10 @@ def main():
run_test("asr", "lfortran --show-asr --no-color {infile} -o {outfile}",
filename, update_reference)

if mod_to_asr:
run_test("mod_to_asr", "lfortran mod --show-asr --no-color {infile}",
filename, update_reference)

if pass_ == "do_loops":
run_test("pass_do_loops", "lfortran --pass=do_loops --show-asr --no-color {infile} -o {outfile}",
filename, update_reference)
Expand Down

0 comments on commit 9211060

Please sign in to comment.