3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-20 17:09:45 +00:00

Fix aiger tests when ABCEXTERNAL is set

This commit is contained in:
Leon White 2026-05-16 09:12:20 +02:00
parent e87a9bd9a7
commit 59c1bc35cb

View file

@ -54,6 +54,13 @@ def create_tests():
"rm -f aigmap.err"
]))
extra = [ f"ABC ?= {gen_tests_makefile.yosys_basedir}/yosys-abc", "SHELL := /usr/bin/env bash" ]
extra = [
"ifneq ($(ABCEXTERNAL),)",
"ABC ?= $(ABCEXTERNAL)",
"else",
f"ABC ?= {gen_tests_makefile.yosys_basedir}/yosys-abc",
"endif",
"SHELL := /usr/bin/env bash",
]
gen_tests_makefile.generate_custom(create_tests, extra)