diff options
author | Johann Glaser <Johann.Glaser@gmx.at> | 2013-03-16 21:21:38 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-03-17 09:05:15 +0100 |
commit | 3cfbc18601c8735b06d4c80501aeed90353070eb (patch) | |
tree | 9719661fd1ca30f202046b476e4b21854a7bdf62 | |
parent | bcae4aae6e72fc95e5d59cad3bc22ef8ac4933c3 (diff) | |
download | yosys-3cfbc18601c8735b06d4c80501aeed90353070eb.tar.gz yosys-3cfbc18601c8735b06d4c80501aeed90353070eb.tar.bz2 yosys-3cfbc18601c8735b06d4c80501aeed90353070eb.zip |
added ckeck for Icarus Verilog, otherwise the tests are silently stopped
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rwxr-xr-x | tests/simple/run-test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |