Skip to content

Commit 92e07fa

Browse files
committed
color/run_tests.sh: print error red
1 parent 272bb73 commit 92e07fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

colors/run_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ for n in `seq $(($i-1))`; do
5252
`dirname $0`/test_common.sh "$@"
5353
RC=$?
5454
if [ $RC -ne 0 ]; then
55+
tput setaf 1 2>/dev/null || true # red
5556
echo "Test $NAME failed!!!"
57+
tput sgr0 # reset
5658
RET=$RC
5759
fi
5860
done

0 commit comments

Comments
 (0)