From a4ec19c25c97d68b9347d3d98637add7b18cf073 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 15 Jun 2014 09:31:03 +0200 Subject: Added tests/realmath to "make test" --- tests/realmath/run-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/realmath') diff --git a/tests/realmath/run-test.sh b/tests/realmath/run-test.sh index 48e87417..a28863d3 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 -- cgit v1.2.3