aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/test-suite
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-02-13 00:29:04 +0100
committerChristopher Li <sparse@chrisli.org>2017-02-13 09:38:18 +0800
commitd2a7009a78effb2a8ac867de9240c4a89d181f5d (patch)
tree680e1e53e688114826f52eebec991d287c467f3f /validation/test-suite
parentee43fc784e52e3ee9e1b45da1be5193ea3b64334 (diff)
downloadsparse-dev-d2a7009a78effb2a8ac867de9240c4a89d181f5d.tar.gz
testsuite: quieter error reporting for 'known-to-fail'
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'validation/test-suite')
-rwxr-xr-xvalidation/test-suite2
1 files changed, 2 insertions, 0 deletions
diff --git a/validation/test-suite b/validation/test-suite
index 47015c61..a5f5e25e 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -214,6 +214,8 @@ do_test()
get_tag "check-known-to-fail" $file
must_fail=`expr "$?" = 0`
+ quiet=0
+ [ $must_fail -eq 1 ] && [ $V -eq 0 ] && quiet=1
known_ko_tests=`expr $known_ko_tests + $must_fail`
for stream in output error; do