diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-16 10:03:07 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-16 10:03:07 +0200 |
commit | 964a67ac4194bb85fb3cb7a90a62dc1e4a685ea4 (patch) | |
tree | 3b12cea2429965e5cd065780d4cb92da856ac056 /tests/tools | |
parent | 0f9ca49dc6047ad5634782de23040ec57601debd (diff) | |
download | yosys-964a67ac4194bb85fb3cb7a90a62dc1e4a685ea4.tar.gz yosys-964a67ac4194bb85fb3cb7a90a62dc1e4a685ea4.tar.bz2 yosys-964a67ac4194bb85fb3cb7a90a62dc1e4a685ea4.zip |
Added note to "make test": use git checkout of iverilog
Diffstat (limited to 'tests/tools')
-rwxr-xr-x | tests/tools/autotest.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/tools/autotest.sh b/tests/tools/autotest.sh index d459f988e..ff431eaf7 100755 --- a/tests/tools/autotest.sh +++ b/tests/tools/autotest.sh @@ -11,17 +11,20 @@ backend_opts="-noattr -noexpr" scriptfiles="" scriptopt="" toolsdir="$(cd $(dirname $0); pwd)" +warn_iverilog_git=false if [ ! -f $toolsdir/cmp_tbdata -o $toolsdir/cmp_tbdata.c -nt $toolsdir/cmp_tbdata ]; then ( set -ex; gcc -Wall -o $toolsdir/cmp_tbdata $toolsdir/cmp_tbdata.c; ) || exit 1 fi -while getopts xml:wkvrf:s:p: opt; do +while getopts xmGl:wkvrf:s:p: opt; do case "$opt" in x) use_xsim=true ;; m) use_modelsim=true ;; + G) + warn_iverilog_git=true ;; l) libs="$libs $(cd $(dirname $OPTARG); pwd)/$(basename $OPTARG)";; w) @@ -145,7 +148,13 @@ do elif [ -f ${bn}.skip ]; then mv ${bn}.err ${bn}.skip echo "-> skip" - else echo "-> ERROR!"; $keeprunning || exit 1; fi + else + echo "-> ERROR!" + if $warn_iverilog_git; then + echo "Note: Make sure that 'iverilog' is an up-to-date git checkout of icarus verilog." + fi + $keeprunning || exit 1 + fi done exit 0 |