1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

tests/math.sh: do not break loop; show all errors (re: d7c90ead)

This commit is contained in:
Martijn Dekker 2020-09-24 06:49:45 +02:00
parent 02a48218f3
commit c1d9eed54b

View file

@ -204,7 +204,6 @@ do tf=$i
pf=${ printf '%.3f' tf ;} pf=${ printf '%.3f' tf ;}
if [[ $tf != "$pf" ]] if [[ $tf != "$pf" ]]
then err_exit "typeset -F formatted data does not match its printf. typeset -F 3: $tf != $pf" then err_exit "typeset -F formatted data does not match its printf. typeset -F 3: $tf != $pf"
break
fi fi
done done
unset i tf pf; typeset -lF 3 tf unset i tf pf; typeset -lF 3 tf
@ -213,7 +212,6 @@ do tf=$i
pf=${ printf '%.3Lf' tf ;} pf=${ printf '%.3Lf' tf ;}
if [[ $tf != "$pf" ]] if [[ $tf != "$pf" ]]
then err_exit "typeset -lF formatted data does not match its printf. typeset -lF 3: $tf != $pf" then err_exit "typeset -lF formatted data does not match its printf. typeset -lF 3: $tf != $pf"
break
fi fi
done done
unset i tf pf; typeset -E 3 tf unset i tf pf; typeset -E 3 tf
@ -222,7 +220,6 @@ do tf=$i
pf=${ printf '%.3g' tf ;} pf=${ printf '%.3g' tf ;}
if [[ $tf != "$pf" ]] if [[ $tf != "$pf" ]]
then err_exit "typeset -E formatted data does not match its printf. typeset -E 3: $tf != $pf" then err_exit "typeset -E formatted data does not match its printf. typeset -E 3: $tf != $pf"
break
fi fi
done done
unset i tf pf; typeset -lE 3 tf unset i tf pf; typeset -lE 3 tf
@ -231,7 +228,6 @@ do tf=$i
pf=${ printf '%.3Lg' tf ;} pf=${ printf '%.3Lg' tf ;}
if [[ $tf != "$pf" ]] if [[ $tf != "$pf" ]]
then err_exit "typeset -lE formatted data does not match its printf. typeset -lE 3: $tf != $pf" then err_exit "typeset -lE formatted data does not match its printf. typeset -lE 3: $tf != $pf"
break
fi fi
done done
unset i tf pf unset i tf pf