From: Eddie Hung Date: Fri, 28 Jun 2019 21:18:56 +0000 (-0700) Subject: autotest.sh to define _AUTOTB when test_autotb X-Git-Tag: yosys-0.9~26 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc87c010c504863b242b8882c1170396a7d1d43c;p=yosys.git autotest.sh to define _AUTOTB when test_autotb --- diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh index 7b64b357f..4d3478628 100755 --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@ -157,7 +157,7 @@ do fi if [ ! -f ../${bn}_tb.v ]; then - "$toolsdir"/../../yosys -f "$frontend $include_opts" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.${refext} + "$toolsdir"/../../yosys -f "$frontend $include_opts -D_AUTOTB" -b "test_autotb $autotb_opts" -o ${bn}_tb.v ${bn}_ref.${refext} else cp ../${bn}_tb.v ${bn}_tb.v fi