diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2019-02-06 14:14:55 -0800 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2019-02-06 14:14:55 -0800 |
commit | 281f2aadcab01465f83a3f3a697eec42503e9f8b (patch) | |
tree | cebd525f694f2e6e66566a604c13302255de95e7 /tests/tools | |
parent | 03cf1532a70d705ada69dcb8ae79ae405a86b7da (diff) | |
download | yosys-281f2aadcab01465f83a3f3a697eec42503e9f8b.tar.gz yosys-281f2aadcab01465f83a3f3a697eec42503e9f8b.tar.bz2 yosys-281f2aadcab01465f83a3f3a697eec42503e9f8b.zip |
Add -B option to autotest.sh to append to backend_opts
Diffstat (limited to 'tests/tools')
-rwxr-xr-x | tests/tools/autotest.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh index d6216244f..800fa3ad5 100755 --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@ -22,7 +22,7 @@ if [ ! -f $toolsdir/cmp_tbdata -o $toolsdir/cmp_tbdata.c -nt $toolsdir/cmp_tbdat ( set -ex; ${CC:-gcc} -Wall -o $toolsdir/cmp_tbdata $toolsdir/cmp_tbdata.c; ) || exit 1 fi -while getopts xmGl:wkjvref:s:p:n:S:I: opt; do +while getopts xmGl:wkjvref:s:p:n:S:I:B: opt; do case "$opt" in x) use_xsim=true ;; @@ -59,8 +59,10 @@ while getopts xmGl:wkjvref:s:p:n:S:I: opt; do include_opts="$include_opts -I $OPTARG" xinclude_opts="$xinclude_opts -i $OPTARG" minclude_opts="$minclude_opts +incdir+$OPTARG" ;; + B) + backend_opts="$backend_opts $OPTARG" ;; *) - echo "Usage: $0 [-x|-m] [-G] [-w] [-k] [-j] [-v] [-r] [-e] [-l libs] [-f frontend] [-s script] [-p cmdstring] [-n iters] [-S seed] [-I incdir] verilog-files\n" >&2 + echo "Usage: $0 [-x|-m] [-G] [-w] [-k] [-j] [-v] [-r] [-e] [-l libs] [-f frontend] [-s script] [-p cmdstring] [-n iters] [-S seed] [-I incdir] [-B backend_opt] verilog-files\n" >&2 exit 1 esac done |