diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/asicworld/run-test.sh | 1 | ||||
-rwxr-xr-x | tests/hana/run-test.sh | 1 | ||||
-rwxr-xr-x | tests/realmath/run-test.sh | 6 | ||||
-rwxr-xr-x | tests/simple/run-test.sh | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/tests/asicworld/run-test.sh b/tests/asicworld/run-test.sh index bf27d15f8..9153f55ff 100755 --- a/tests/asicworld/run-test.sh +++ b/tests/asicworld/run-test.sh @@ -1,3 +1,2 @@ #!/bin/bash -make -C ../.. || exit 1 exec bash ../tools/autotest.sh *.v diff --git a/tests/hana/run-test.sh b/tests/hana/run-test.sh index b8e7231c7..199bb916e 100755 --- a/tests/hana/run-test.sh +++ b/tests/hana/run-test.sh @@ -1,3 +1,2 @@ #!/bin/bash -make -C ../.. || exit 1 exec bash ../tools/autotest.sh -l hana_vlib.v test_*.v diff --git a/tests/realmath/run-test.sh b/tests/realmath/run-test.sh index 48e87417c..a28863d31 100755 --- a/tests/realmath/run-test.sh +++ b/tests/realmath/run-test.sh @@ -13,7 +13,11 @@ for ((i = 0; i < 100; i++)); do idx=$( printf "%05d" $i ) ../../../yosys -q uut_${idx}.ys iverilog -o uut_${idx}_tb uut_${idx}_tb.v uut_${idx}.v uut_${idx}_syn.v - ./uut_${idx}_tb + ./uut_${idx}_tb | tee uut_${idx}.err + if test -s uut_${idx}.err; then + exit 1 + fi + rm -f uut_${idx}.err done echo diff --git a/tests/simple/run-test.sh b/tests/simple/run-test.sh index eb6fd10ba..3d00c7eb2 100755 --- a/tests/simple/run-test.sh +++ b/tests/simple/run-test.sh @@ -6,5 +6,4 @@ if ! which iverilog > /dev/null ; then exit 1 fi -make -C ../.. || exit 1 exec bash ../tools/autotest.sh *.v |