From 3751feda32409e313aaf3aef2ac0bb677bc28a5c Mon Sep 17 00:00:00 2001 From: Jeff Fifield Date: Wed, 14 Aug 2024 09:59:00 -0600 Subject: [PATCH] Update lit.cfg.py fix cut and paste error --- test/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: