added ckeck for Icarus Verilog, otherwise the tests are silently stopped

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Johann Glaser 2013-03-16 21:21:38 +01:00 committed by Clifford Wolf
parent bcae4aae6e
commit 3cfbc18601
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
#!/bin/bash #!/bin/bash
# check for Icarus Verilog
if ! which iverilog > /dev/null ; then
echo "$0: Error: Icarus Verilog 'iverilog' not found."
exit 1
fi
make -C ../.. || exit 1 make -C ../.. || exit 1
exec bash ../tools/autotest.sh *.v exec bash ../tools/autotest.sh *.v