From 92ceaf58a0e1a5a597cf6e2a2babbc2a36436f97 Mon Sep 17 00:00:00 2001 From: Ruth Mercy Date: Wed, 17 Jun 2026 23:30:30 +0000 Subject: [PATCH 1/2] fix: make --only flag case-insensitive --- toolchain/mfc/test/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/mfc/test/test.py b/toolchain/mfc/test/test.py index 5f61416f8e..0b1e5340d9 100644 --- a/toolchain/mfc/test/test.py +++ b/toolchain/mfc/test/test.py @@ -66,7 +66,8 @@ def is_uuid(term): check = set(case.trace.split(" -> ")) check.add(case.get_uuid()) - label_ok = all(label in check for label in labels) if labels else True + #label_ok = all(label in check for label in labels) if labels else True + label_ok = all(label.lower() in {c.lower() for c in check} for label in labels) if labels else True uuid_ok = any(u in check for u in uuids) if uuids else True if labels and uuids: From 5268c8aa8e7a0e9403d11840a3016bb1dcb11871 Mon Sep 17 00:00:00 2001 From: Ruth Mercy Date: Tue, 30 Jun 2026 04:12:57 +0000 Subject: [PATCH 2/2] chore: remove commented-out original comparison line --- toolchain/mfc/test/test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/toolchain/mfc/test/test.py b/toolchain/mfc/test/test.py index 0b1e5340d9..833186c129 100644 --- a/toolchain/mfc/test/test.py +++ b/toolchain/mfc/test/test.py @@ -66,7 +66,6 @@ def is_uuid(term): check = set(case.trace.split(" -> ")) check.add(case.get_uuid()) - #label_ok = all(label in check for label in labels) if labels else True label_ok = all(label.lower() in {c.lower() for c in check} for label in labels) if labels else True uuid_ok = any(u in check for u in uuids) if uuids else True