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
|
||||
if [ ! "$1" = "$event" ] && [ $failed -eq 0 ]; then
|
||||
printf "${red}$indent%s${none}\n" "$name"
|
||||
if [ ! "$1" = "$event" ]; then
|
||||
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"
|
||||
failed=1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user