]> granicus.if.org Git - cgit/commitdiff
Make output from `make test` more readable
authorLars Hjemli <hjemli@gmail.com>
Sun, 24 Feb 2008 15:05:58 +0000 (16:05 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 24 Feb 2008 15:05:58 +0000 (16:05 +0100)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
tests/setup.sh

index 9bb1f12f08d1cf6223e04635c05f256ba2c3e6a6..5f20286b75a07c91df776a5f72a5e23fc637a6fa 100755 (executable)
@@ -91,10 +91,10 @@ run_test()
        res=$?
        if test $res = 0
        then
-               printf "  %s: ok - %s\n" $test_count "$desc"
+               printf " %2d) %-60s [ok]\n" $test_count "$desc"
        else
                ((test_failed++))
-               printf "  %s: fail - %s\n" $test_count "$desc"
+               printf " %2d) %-60s [failed]\n" $test_count "$desc"
        fi
 }