added ckeck for Icarus Verilog, otherwise the tests are silently stopped
authorJohann Glaser <Johann.Glaser@gmx.at>
Sat, 16 Mar 2013 20:21:38 +0000 (21:21 +0100)
committerClifford Wolf <clifford@clifford.at>
Sun, 17 Mar 2013 08:05:15 +0000 (09:05 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
tests/simple/run-test.sh

index bf27d15f8ed47142543f89687f9d61e0b8e628a7..eb6fd10bab57b0599b31466a728e00aec120ded3 100755 (executable)
@@ -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