aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-28 14:18:56 -0700
committerDavid Shah <dave@ds0.me>2019-07-09 18:46:18 +0100
commitfc87c010c504863b242b8882c1170396a7d1d43c (patch)
treee4b405f04be07e184451c804272671b525d2e0f1
parentef0823690c386c405fdd0ca2a3f45af8788a19aa (diff)
downloadyosys-fc87c010c504863b242b8882c1170396a7d1d43c.tar.gz
yosys-fc87c010c504863b242b8882c1170396a7d1d43c.tar.bz2
yosys-fc87c010c504863b242b8882c1170396a7d1d43c.zip
autotest.sh to define _AUTOTB when test_autotb
-rwxr-xr-xtests/tools/autotest.sh2
1 files changed, 1 insertions, 1 deletions
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