Display all failing ui_out in tests instead of just the first one
This commit is contained in:
parent
cb119251bc
commit
65620fb830
6
test/run
6
test/run
|
@ -182,8 +182,10 @@ ui_out() {
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
read -r event <&4
|
read -r event <&4
|
||||||
if [ ! "$1" = "$event" ] && [ $failed -eq 0 ]; then
|
if [ ! "$1" = "$event" ]; then
|
||||||
printf "${red}$indent%s${none}\n" "$name"
|
if [ $failed -eq 0 ]; then
|
||||||
|
printf "${red}$indent%s${none}\n" "$name"
|
||||||
|
fi
|
||||||
printf "${indent} ${red}- %s\n${indent} ${green}+ %s${none}\n" "$1" "$event"
|
printf "${indent} ${red}- %s\n${indent} ${green}+ %s${none}\n" "$1" "$event"
|
||||||
failed=1
|
failed=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user