Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/test-suite | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/validation/test-suite b/validation/test-suite index 8b2e0c85a..3d2192178 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -353,15 +353,20 @@ do_test_suite() do_test "$i" done + OK=OK + [ $failed -eq 0 ] || OK=KO + # prints some numbers tests_nr=$(($ok_tests + $ko_tests)) - echo "Out of $tests_nr tests, $ok_tests passed, $ko_tests failed" \ - " ($known_ko_tests of them are known to fail)" + echo "$OK: out of $tests_nr tests, $ok_tests passed, $ko_tests failed" + if [ "$known_ko_tests" -ne 0 ]; then + echo " $known_ko_tests of them are known to fail" + fi if [ "$unhandled_tests" -ne "0" ]; then - echo "$unhandled_tests tests could not be handled by $prog_name" + echo " $unhandled_tests tests could not be handled by $prog_name" fi if [ "$disabled_tests" -ne "0" ]; then - echo "$disabled_tests tests were disabled" + echo " $disabled_tests tests were disabled" fi } -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html