aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-28 14:18:56 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-28 14:18:56 -0700
commitdc05613613f9de1360cf21f85251b2389089a56c (patch)
treea22398e6c4f847ba9b1a96e8091682d3619cf624 /tests/tools
parent0c4689c41aba0d342710bd625e1fdb44e147d005 (diff)
downloadyosys-dc05613613f9de1360cf21f85251b2389089a56c.tar.gz
yosys-dc05613613f9de1360cf21f85251b2389089a56c.tar.bz2
yosys-dc05613613f9de1360cf21f85251b2389089a56c.zip
autotest.sh to define _AUTOTB when test_autotb
Diffstat (limited to 'tests/tools')
-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