From: Johann Glaser Date: Sat, 16 Mar 2013 20:21:38 +0000 (+0100) Subject: added ckeck for Icarus Verilog, otherwise the tests are silently stopped X-Git-Tag: yosys-0.2.0~715^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cfbc18601c8735b06d4c80501aeed90353070eb;p=yosys.git added ckeck for Icarus Verilog, otherwise the tests are silently stopped Signed-off-by: Clifford Wolf --- diff --git a/tests/simple/run-test.sh b/tests/simple/run-test.sh index bf27d15f8..eb6fd10ba 100755 --- a/tests/simple/run-test.sh +++ b/tests/simple/run-test.sh @@ -1,3 +1,10 @@ #!/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 exec bash ../tools/autotest.sh *.v