3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-05 22:14:08 +00:00

Merge pull request #211 from jix/skip_tests

tests: Ignore .sby files starting with skip_
This commit is contained in:
Jannis Harder 2022-08-19 14:21:23 +02:00 committed by GitHub
commit 353fac4db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,8 @@ def collect(path):
if not SAFE_PATH.match(filename):
print(f"skipping {filename!r}, use only [a-zA-Z0-9_./] in filenames")
continue
if entry.name.startswith("skip_"):
continue
tests.append(entry)
for entry in path.glob("*"):
if entry.is_dir():