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:
parent
658c83dd84
commit
2a16a48a60
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue