diff --git a/test/maple_test/compare.py b/test/maple_test/compare.py index c28b8cccc804b1789bcbee48956369d5573899d8..18de5da586996345c87e1faffc0148e40f820587 100644 --- a/test/maple_test/compare.py +++ b/test/maple_test/compare.py @@ -31,7 +31,7 @@ EXPECTED_REGEX = r"\:{line_num}\:.*\:.*" SCAN_KEYWORDS = ["full", "not", "begin", "next", "end"] REGEX_KEYWORDS = ["auto", "not", "next", "end"] -EXPECTED_KEYWORDS = ["scan", "scan-not", "scan-auto"] +EXPECTED_KEYWORDS = ["regex", "regex-auto", "regex-not"] class CompareError(Exception): diff --git a/test/maple_test/utils.py b/test/maple_test/utils.py index 51054dbede9012cf03636f93c7d8df498fe3abcb..98aaa29bfad15b80625e9ee0389c7c46f7f7024a 100644 --- a/test/maple_test/utils.py +++ b/test/maple_test/utils.py @@ -176,7 +176,7 @@ def add_run_path(new_path): run_env = os.environ.copy() old_path = run_env.get("PATH") if old_path: - run_env["PATH"] = old_path + ":" + new_path + run_env["PATH"] = old_path + os.pathsep + new_path else: run_env["PATH"] = new_path return run_env