mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-15 17:58:44 +00:00
tests: Ignore .sby files starting with skip_
This commit is contained in:
parent
9a14f4d238
commit
ea84c67f95
|
@ -18,6 +18,8 @@ def collect(path):
|
||||||
if not SAFE_PATH.match(filename):
|
if not SAFE_PATH.match(filename):
|
||||||
print(f"skipping {filename!r}, use only [a-zA-Z0-9_./] in filenames")
|
print(f"skipping {filename!r}, use only [a-zA-Z0-9_./] in filenames")
|
||||||
continue
|
continue
|
||||||
|
if entry.name.startswith("skip_"):
|
||||||
|
continue
|
||||||
tests.append(entry)
|
tests.append(entry)
|
||||||
for entry in path.glob("*"):
|
for entry in path.glob("*"):
|
||||||
if entry.is_dir():
|
if entry.is_dir():
|
||||||
|
|
Loading…
Reference in a new issue