From 92110608fdbcfbf174eb1363e680093c205fc942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Thu, 24 Sep 2020 13:59:30 -0600 Subject: [PATCH] Add mod_to_asr into the testsuite --- run_tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_tests.py b/run_tests.py index 3b1f04960b..9912257f87 100755 --- a/run_tests.py +++ b/run_tests.py @@ -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) @@ -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)