summaryrefslogtreecommitdiff
path: root/tests/tools
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-30 18:34:07 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-30 18:34:07 +0200
commit88db09255baa92facbe2736937ef113dc1503e9b (patch)
treef8d562a43b1a510c8179a71e9b6ed697c24452a7 /tests/tools
parent6ff46323a30d710a9518cffb8c2ae9a5621b7bfc (diff)
Added autotest -e (do not use -noexpr on write_verilog)
Diffstat (limited to 'tests/tools')
-rwxr-xr-xtests/tools/autotest.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh
index 9ae1c155..5003280e 100755
--- a/tests/tools/autotest.sh
+++ b/tests/tools/autotest.sh
@@ -19,7 +19,7 @@ if [ ! -f $toolsdir/cmp_tbdata -o $toolsdir/cmp_tbdata.c -nt $toolsdir/cmp_tbdat
( set -ex; gcc -Wall -o $toolsdir/cmp_tbdata $toolsdir/cmp_tbdata.c; ) || exit 1
fi
-while getopts xmGl:wkjvrf:s:p:n: opt; do
+while getopts xmGl:wkjvref:s:p:n: opt; do
case "$opt" in
x)
use_xsim=true ;;
@@ -39,6 +39,8 @@ while getopts xmGl:wkjvrf:s:p:n: opt; do
verbose=true ;;
r)
backend_opts="$backend_opts -norename" ;;
+ e)
+ backend_opts="$( echo " $backend_opts " | sed 's, -noexpr ,,; s,^ ,,; s, $,,;'; )" ;;
f)
frontend="$OPTARG" ;;
s)
@@ -49,7 +51,7 @@ while getopts xmGl:wkjvrf:s:p:n: opt; do
n)
autotb_opts="$autotb_opts -n $OPTARG" ;;
*)
- echo "Usage: $0 [-x|-m] [-w] [-k] [-j] [-v] [-r] [-l libs] [-f frontend] [-s script] [-p cmdstring] verilog-files\n" >&2
+ echo "Usage: $0 [-x|-m] [-w] [-k] [-j] [-v] [-r] [-e] [-l libs] [-f frontend] [-s script] [-p cmdstring] verilog-files\n" >&2
exit 1
esac
done