Added the ability to specify a regex filter for the part-name on the synthesis tests. Implemented as --synth-part. Closes #179 (#180)

This commit is contained in:
Benjamin Davis
2025-11-13 21:09:03 -07:00
committed by GitHub
parent 543bf2be9a
commit 3d5f9d8efb
5 changed files with 36 additions and 7 deletions

View File

@@ -46,3 +46,17 @@ def pytest_addoption(parser):
auto: choose the best tool based on what is installed
"""
)
parser.addoption(
"--synth-part",
type=str,
default=".*",
help="""
A REGEX expression used to filter the part used for the synthesis test.
Useful when the default method for finding a part finds a part which you don't have a
license for.
Defaults to '.*'.
"""
)