Commit b96bb3ab authored by Johannes Bechberger's avatar Johannes Bechberger

Test semantic mode with `all`

parent 1299b884
...@@ -80,7 +80,7 @@ if True:#__name__ == '__main__': ...@@ -80,7 +80,7 @@ if True:#__name__ == '__main__':
count += ret.count count += ret.count
if args["mode"] == "all": if args["mode"] == "all":
report_subdir = datetime.now().strftime("%d-%m-%y_%H-%M-%S") report_subdir = datetime.now().strftime("%d-%m-%y_%H-%M-%S")
for mode in [TestMode.lexer, TestMode.syntax, TestMode.ast]: for mode in [TestMode.lexer, TestMode.syntax, TestMode.ast, TestMode.semantic]:
args["report_subdir"] = report_subdir + "_" + mode args["report_subdir"] = report_subdir + "_" + mode
cprint("Run {} tests".format(mode), attrs=["bold"]) cprint("Run {} tests".format(mode), attrs=["bold"])
args["mode"] = mode args["mode"] = mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment