3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-18 02:42:18 +00:00

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`.
This commit is contained in:
Krystine Sherwin 2025-07-01 10:50:46 +12:00
parent 658c83dd84
commit 2a16a48a60
No known key found for this signature in database

View file

@ -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)