From 2a16a48a606fcb2648a71d6fa62ecaa12eaaaa70 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Tue, 1 Jul 2025 10:50:46 +1200 Subject: [PATCH] collect_tests.py: Ignore sby status dirs Status directories are normally ignored because they have a sqlite file, but it's possible to create a status dir without a database when using `--setup`. --- tests/make/collect_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/make/collect_tests.py b/tests/make/collect_tests.py index acfb799..1f9b2c9 100644 --- a/tests/make/collect_tests.py +++ b/tests/make/collect_tests.py @@ -52,6 +52,8 @@ def collect(path): continue tests.append(entry) for entry in path.glob("*"): + if entry.with_suffix(".sby").exists(): + continue if entry.is_dir(): collect(entry)