aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-07-16 21:51:49 +0000
committerChristopher Li <sparse@chrisli.org>2009-07-19 02:17:43 +0000
commit175c63f317f710353a69790004631de23a086c80 (patch)
tree18dcf8e74183c4357f8d535f8bb12a0447932cff /validation
parentmove extern inline function to file scope (diff)
downloadsparse-175c63f317f710353a69790004631de23a086c80.tar.gz
sparse-175c63f317f710353a69790004631de23a086c80.tar.bz2
sparse-175c63f317f710353a69790004631de23a086c80.zip
test-suite: be more verbose on 'unhandled' and 'known to fail' tests
Impact: - On an 'unhandled' test issue a warning, and - in case of a 'known to fail' test a info message. Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'validation')
-rwxr-xr-xvalidation/test-suite6
1 files changed, 5 insertions, 1 deletions
diff --git a/validation/test-suite b/validation/test-suite
index 1a35703..42f7bd7 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -89,6 +89,7 @@ do_test()
# (it has to have a check-name key in it)
get_value "check-name" $file
if [ "$?" -eq 1 ]; then
+ echo "warning: test '$file' unhandled"
unhandled_tests=`expr $unhandled_tests + 1`
return 2
fi
@@ -142,7 +143,10 @@ do_test()
if [ "$test_failed" -eq "1" ]; then
ko_tests=`expr $ko_tests + 1`
get_tag "check-known-to-fail" $file
- [ "$?" -eq "0" ] && known_ko_tests=`expr $known_ko_tests + 1`
+ if [ "$?" -eq "0" ]; then
+ echo "info: test '$file' is known to fail"
+ known_ko_tests=`expr $known_ko_tests + 1`
+ fi
return 1
else
ok_tests=`expr $ok_tests + 1`