mirror of https://github.com/YosysHQ/yosys.git
Fix aiger tests when ABCEXTERNAL is set
This commit is contained in:
parent
e87a9bd9a7
commit
59c1bc35cb
|
|
@ -54,6 +54,13 @@ def create_tests():
|
||||||
"rm -f aigmap.err"
|
"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)
|
gen_tests_makefile.generate_custom(create_tests, extra)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue