diff --git a/test/lit.cfg.py b/test/lit.cfg.py index a9d524c17..56d5732d0 100644 --- a/test/lit.cfg.py +++ b/test/lit.cfg.py @@ -110,7 +110,7 @@ result = result.stdout.decode("utf-8").split("\n") # Starting with Linux 6.8 the format is like "[0000:66:00.1] : RyzenAI-npu1" # Starting with Linux 6.10 the format is like "|[0000:41:00.1] ||RyzenAI-npu1 |" - p = re.compile("[|]\[.+:.+:.+\].+(Phoenix|RyzenAI-(npu\d))") + p = re.compile("[\|]?\[.+:.+:.+\].+(Phoenix|RyzenAI-(npu\d))") for l in result: m = p.match(l) if m: