Skip to content

Commit 4301965

Browse files
committed
color/run_tests.sh: fail immediately
1 parent 92e07fa commit 4301965

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

colors/run_tests.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
declare -A TESTS
44
i=1
5-
RET=0
65

76
TESTS[$i,NAME]="image_yuv_444p_subsampled"
87
TESTS[$i,EXTENSION]="yuv"
@@ -55,9 +54,7 @@ for n in `seq $(($i-1))`; do
5554
tput setaf 1 2>/dev/null || true # red
5655
echo "Test $NAME failed!!!"
5756
tput sgr0 # reset
58-
RET=$RC
57+
exit $RC
5958
fi
6059
done
6160

62-
exit $RET
63-

0 commit comments

Comments
 (0)