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

Merge pull request #213 from jix/fix_tests

Fix tests
This commit is contained in:
Jannis Harder 2022-09-05 14:08:31 +02:00 committed by GitHub
commit 17c3961a2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 9 deletions

View file

@ -51,15 +51,16 @@ with rules_file.open("w") as rules:
required_tools = set()
for engine in info["engines"]:
engine, solver = parse_engine(engine)
engines.add(engine)
required_tools.update(
REQUIRED_TOOLS.get((engine, solver), REQUIRED_TOOLS.get(engine, ()))
)
if solver:
solvers.add(solver)
engine_solvers.add((engine, solver))
for mode_engines in info["engines"].values():
for engine in mode_engines:
engine, solver = parse_engine(engine)
engines.add(engine)
required_tools.update(
REQUIRED_TOOLS.get((engine, solver), REQUIRED_TOOLS.get(engine, ()))
)
if solver:
solvers.add(solver)
engine_solvers.add((engine, solver))
if any(
line.startswith("read -verific") or line.startswith("verific")