@@ -56,7 +56,7 @@ def is_included(backend):
5656 "lpython --no-color --show-tokens {infile} -o {outfile}",
5757 filename,
5858 update_reference,
59- extra_args)
59+ extra_args=extra_args )
6060
6161 if ast:
6262 run_test(
@@ -65,7 +65,7 @@ def is_included(backend):
6565 "lpython --show-ast --no-color {infile} -o {outfile}",
6666 filename,
6767 update_reference,
68- extra_args)
68+ extra_args=extra_args )
6969
7070 if ast_new:
7171 run_test(
@@ -74,7 +74,7 @@ def is_included(backend):
7474 "lpython --show-ast --new-parser --no-color {infile} -o {outfile}",
7575 filename,
7676 update_reference,
77- extra_args)
77+ extra_args=extra_args )
7878
7979 if asr:
8080 run_test(
@@ -83,7 +83,7 @@ def is_included(backend):
8383 "lpython --show-asr --no-color {infile} -o {outfile}",
8484 filename,
8585 update_reference,
86- extra_args)
86+ extra_args=extra_args )
8787
8888 if asr_json:
8989 run_test(
@@ -92,7 +92,7 @@ def is_included(backend):
9292 "lpython --show-asr --json --no-color {infile} -o {outfile}",
9393 filename,
9494 update_reference,
95- extra_args)
95+ extra_args=extra_args )
9696
9797 if pass_ is not None:
9898 cmd = "lpython "
@@ -103,7 +103,7 @@ def is_included(backend):
103103 cmd += "--pass=" + pass_ + \
104104 " --show-asr --no-color {infile} -o {outfile}"
105105 run_test(filename, "pass_{}".format(pass_), cmd,
106- filename, update_reference, extra_args)
106+ filename, update_reference, extra_args=extra_args )
107107
108108 if no_llvm:
109109 log.info(f"{filename} * llvm SKIPPED as requested")
@@ -115,7 +115,7 @@ def is_included(backend):
115115 "lpython --no-color --show-llvm {infile} -o {outfile}",
116116 filename,
117117 update_reference,
118- extra_args)
118+ extra_args=extra_args )
119119 if llvm_dbg:
120120 run_test(
121121 filename,
@@ -124,31 +124,31 @@ def is_included(backend):
124124 "{infile} -o {outfile}",
125125 filename,
126126 update_reference,
127- extra_args)
127+ extra_args=extra_args )
128128
129129 if cpp:
130130 run_test(filename, "cpp", "lpython --no-color --show-cpp {infile}",
131- filename, update_reference, extra_args)
131+ filename, update_reference, extra_args=extra_args )
132132
133133 if c:
134134 if disable_main:
135135 run_test(filename, "c", "lpython --no-color --disable-main --show-c {infile}",
136- filename, update_reference, extra_args)
136+ filename, update_reference, extra_args=extra_args )
137137 else:
138138 run_test(filename, "c", "lpython --no-color --show-c {infile}",
139- filename, update_reference, extra_args)
139+ filename, update_reference, extra_args=extra_args )
140140
141141 if python:
142142 run_test(filename, "python", "lpython --no-color --show-python {infile}",
143- filename, update_reference, extra_args)
143+ filename, update_reference, extra_args=extra_args )
144144
145145 if wat:
146146 run_test(filename, "wat", "lpython --no-color --show-wat {infile}",
147- filename, update_reference, extra_args)
147+ filename, update_reference, extra_args=extra_args )
148148
149149 if run:
150150 run_test(filename, "runtime", "lpython {infile}",
151- filename, update_reference, extra_args)
151+ filename, update_reference, extra_args=extra_args )
152152
153153 if run_with_dbg:
154154 if skip_run_with_dbg:
@@ -157,7 +157,7 @@ def is_included(backend):
157157 run_test(
158158 filename, "run_dbg",
159159 "lpython {infile} -g --debug-with-line-column --no-color",
160- filename, update_reference, extra_args)
160+ filename, update_reference, extra_args=extra_args )
161161
162162if __name__ == "__main__":
163163 tester_main("LPython", single_test)
0 commit comments