From: Ramsay Jones Date: Sat, 1 Sep 2012 18:26:21 +0000 (+0100) Subject: test-lib.sh: Suppress the "passed all ..." message if no tests run X-Git-Tag: v1.8.0-rc0~62^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d87bd7c15beb688294cf4adb1b719dc4e413c58f?hp=d87bd7c15beb688294cf4adb1b719dc4e413c58f test-lib.sh: Suppress the "passed all ..." message if no tests run If a test script issues a test_done without executing any tests, for example when using the 'skip_all' facility, the output looks something like this: $ ./t9159-git-svn-no-parent-mergeinfo.sh # passed all 0 test(s) 1..0 # SKIP skipping git svn tests, svn not found $ The "passed all 0 test(s)" comment line, while correct, looks a little strange. Add a check to suppress this message if no tests have actually been run. Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano ---