From 145e9303892b2818353f55aafd409f8256672797 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Sat, 25 Apr 2026 18:21:42 +0530 Subject: [PATCH] Tests: Fix prefix set naming in test collector --- tests/framework/collector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/framework/collector.py b/tests/framework/collector.py index 3fb8a60..c40da23 100644 --- a/tests/framework/collector.py +++ b/tests/framework/collector.py @@ -7,15 +7,15 @@ from tests.framework.bpf_test_case import BpfTestCase TESTS_DIR = Path(__file__).parent.parent CONFIG_FILE = TESTS_DIR / "test_config.toml" -VMLINUX_TEST_DIRS = {"passing_tests/vmlinux"} -VMLINUX_TEST_PREFIXES = { +VMLINUX_TEST_DIRS_PASSING = {"passing_tests/vmlinux"} +VMLINUX_TEST_DIRS_FAILING = { "failing_tests/vmlinux", "failing_tests/xdp", } def _is_vmlinux_test(rel_path: str) -> bool: - for prefix in VMLINUX_TEST_DIRS | VMLINUX_TEST_PREFIXES: + for prefix in VMLINUX_TEST_DIRS_PASSING | VMLINUX_TEST_DIRS_FAILING: if rel_path.startswith(prefix): return True return False