aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tools/autotest.sh
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:56:22 -0700
commit0ec7c09756a84d123745a381881b9e9803da210d (patch)
treea8d2b458d351eb5e6c7e76077d86aa39e8e48075 /tests/tools/autotest.sh
parentb3f162e94e61f739b84d8c6b31f203119805b2fb (diff)
downloadyosys-0ec7c09756a84d123745a381881b9e9803da210d.tar.gz
yosys-0ec7c09756a84d123745a381881b9e9803da210d.tar.bz2
yosys-0ec7c09756a84d123745a381881b9e9803da210d.zip
autotest.sh to define _AUTOTB when test_autotb
Diffstat (limited to 'tests/tools/autotest.sh')
-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