Commit 5796bcd0 authored by Johannes Bechberger's avatar Johannes Bechberger
Browse files

Reset current working directory in all mode

Fix #6
parent 8d30f89e
......@@ -96,9 +96,11 @@ if True:#__name__ == '__main__':
args["mode"] = new_mode
if args["mode"] == "all":
report_subdir ="%d-%m-%y_%H-%M-%S")
cwd = os.path.realpath(".")
for mode in [TestMode.lexer, TestMode.syntax, TestMode.ast, TestMode.semantic,
TestMode.compile_firm_only, TestMode.compile_only,
TestMode.compile_firm, TestMode.compile]:
args["all_exec_tests"] = True
args["report_subdir"] = report_subdir + "_" + mode
cprint("Run {} tests".format(mode), attrs=["bold"])
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