aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-22 14:03:02 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-22 16:05:12 -0700
commit5061d239ae2d6881b898662f838a0f4cfc24ca88 (patch)
treed9e378383cb0bfe0bf8a396a937f0ca14153b712
parent8e3754bdb468842a784ef5eac8427a59055673c3 (diff)
downloadyosys-5061d239ae2d6881b898662f838a0f4cfc24ca88.tar.gz
yosys-5061d239ae2d6881b898662f838a0f4cfc24ca88.tar.bz2
yosys-5061d239ae2d6881b898662f838a0f4cfc24ca88.zip
Fail if iverilog fails
-rwxr-xr-xtests/ice40/run-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ice40/run-test.sh b/tests/ice40/run-test.sh
index 184d8f09b..90a8a3c83 100755
--- a/tests/ice40/run-test.sh
+++ b/tests/ice40/run-test.sh
@@ -18,8 +18,8 @@ for t in *_tb.v; do
echo "all:: run-$t"
echo "run-$t:"
echo " @echo 'Running $t..'"
- echo " @iverilog -o ${t%_tb.v}_testbench $t ${t%_tb.v}_synth.v common.v $COMMON_PREFIX/simcells.v $TECHLIBS_PREFIX/ice40/cells_sim.v"
- echo " @if ! vvp -N ${t%_tb.v}_testbench > ${t%_tb.v}_testbench.log 2>&1; then grep 'ERROR' ${t%_tb.v}_testbench.log; exit 0; elif grep 'ERROR' ${t%_tb.v}_testbench.log || ! grep 'OKAY' ${t%_tb.v}_testbench.log; then echo "FAIL"; exit 0; fi"
+ echo " @iverilog -o ${t%_tb.v}_testbench $t ${t%_tb.v}_synth.v common.v $TECHLIBS_PREFIX/ice40/cells_sim.v"
+ echo " @vvp -N ${t%_tb.v}_testbench"
done
for s in *.sh; do
if [ "$s" != "run-test.sh" ]; then