From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: [PATCH 3/5] testsuite: get 'check-known-to-fail' earlier Date: Thu, 5 Jan 2017 06:16:30 +0100 Message-ID: <20170105051632.8392-4-luc.vanoostenryck@gmail.com> References: <20170105051632.8392-1-luc.vanoostenryck@gmail.com> Return-path: Received: from mail-wj0-f196.google.com ([209.85.210.196]:36791 "EHLO mail-wj0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759852AbdAEFT1 (ORCPT ); Thu, 5 Jan 2017 00:19:27 -0500 Received: by mail-wj0-f196.google.com with SMTP id j10so77968074wjb.3 for ; Wed, 04 Jan 2017 21:18:42 -0800 (PST) In-Reply-To: <20170105051632.8392-1-luc.vanoostenryck@gmail.com> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: linux-sparse@vger.kernel.org Cc: Luc Van Oostenryck Signed-off-by: Luc Van Oostenryck --- validation/test-suite | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/validation/test-suite b/validation/test-suite index 852904a4..fdb7cbc2 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -212,6 +212,10 @@ do_test() $cmd 1> $file.output.got 2> $file.error.got actual_exit_value=$? + get_tag "check-known-to-fail" $file + must_fail=`expr "$?" = 0` + known_ko_tests=`expr $known_ko_tests + $must_fail` + for stream in output error; do grep -s -q "check-$stream-ignore" $file && continue @@ -249,10 +253,6 @@ do_test() test_failed=1 fi - get_tag "check-known-to-fail" $file - must_fail=`expr "$?" = 0` - known_ko_tests=`expr $known_ko_tests + $must_fail`