From patchwork Fri Apr 15 15:09:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 8851791 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AB6409F3A0 for ; Fri, 15 Apr 2016 15:10:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3C6A20218 for ; Fri, 15 Apr 2016 15:10:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4956201F5 for ; Fri, 15 Apr 2016 15:10:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751325AbcDOPKA (ORCPT ); Fri, 15 Apr 2016 11:10:00 -0400 Received: from mout.gmx.net ([212.227.17.20]:55815 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231AbcDOPJ7 (ORCPT ); Fri, 15 Apr 2016 11:09:59 -0400 Received: from ls3530.dhcp.wdf.sap.corp ([155.56.40.73]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lg5kl-1bXMKg2h8l-00pbQQ; Fri, 15 Apr 2016 17:09:45 +0200 Date: Fri, 15 Apr 2016 17:09:41 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Cc: Paul Moore , libseccomp@googlegroups.com, Mike Frysinger Subject: [PATCH] libseccomp/tests: Report if test was skipped because of missing valgrind Message-ID: <20160415150941.GA11180@ls3530.dhcp.wdf.sap.corp> References: <20160213200731.GA18161@ls3530.box> <3673666.V2ZqGazvLY@sifl> <56C24911.8000200@gmx.de> <1907254.cBdVSxntFv@sifl> <20160409070549.GA5442@ls3530.box> <571103AD.20500@gmx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <571103AD.20500@gmx.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:CrBiWuX0gVif5nuQcZBytagxwaCtGfPbVuyBmhR6Bz3bsZz2WMj jI822mJAkrEmXKgKMxL6ypG0qyh634aoxGqH1Scm5Y8Dr47w29BiufYs2n5PlyrEKnuvrtA 79TNiqtMGE5RwxNqnbwNZ9EIrWTZp++TMd3vo5YRTwoNX0ReHwNpE3HebxLrW3GM8bZ16xU 47Mj4aiJ04ZRFHwWT5OcA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Ok8mTB0u46A=:vrYtYSk5YOtTtxEKuasEgd gbNjJDYsKfBIxK92SBc846LuF3bxyllxb0zTgaTtIqRXbtXj154E+fTYOXnxVBMGjjT8KujCF eQSAhkvWySd7cxQMWJPHKdNMZt5S1OI1KtLNOWc/ApRFhO5yDpIuQbj7OnZQAYDIMFwnMISJK 0z9mW+49bFk5Hb0vaz/yilObsGzRybv5CDp69df7IWK5WjM2eTwMQHXaKxcyl4XvvhPooc6KC jNqJ5/QZJlyYpwXi1KLv1760H1Sz+bQ6CN94ZHT8L7XplXxGUukae4sbp9RvWRGo5Afpav4EK Q7Z7weChZHDTDFTqhEbZtGFzIOGBhBEHdaYiBv3SqDAi8fxeC3g06p3sIgnfBaMfIlFc5jW6D p2/dFe0Vd2abosiIchtdtlcsc4LvPSLLzyj7G4RHR+ExwHdR8oTjWUvDXhaaH/+KoDLnVBm78 DKYbF7OBaK3rai8frd5TXYx0PXEhtTlDZ7YRgMrtFpTSliWGI5i3h2uMAqWQLc+0fYP0MiOiT 6WrENwwouM5z+wTXhuJy0bC4BK8NuR7jwLd91TJVEL5ZgekjV/sBpW2aJvTJdmRLobPmN6tcR D1++TEzcQ/RX+kr5LuV3Wus/dmwDRx9wHet6IWML2JI6RvCidAMyJWMdR2XiQetwRN2R/8vvO jpUDDnkwSq2PN87LzMMYQw0RLnHlCbLOqrGBtoLk8S2rhU4TlXLytSa/B+PwCYQ8XwD64EOy7 q61rs9X62PQIYE2ucU8sQah2jgbT90IY/o5QJc+JIQX+ucFrW81VkyAMfWw= Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Print a message if a regression test was skipped just because valgrind isn't installed. This additional info is useful for architectures (e.g. parisc) which aren't as fast as x86_64. On parisc it seemed that the whole testcase was hanging, now people know what's actually happening. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/regression b/tests/regression index 53d26b2..5949459 100755 --- a/tests/regression +++ b/tests/regression @@ -772,6 +773,7 @@ function run_test() { if check_deps valgrind; then run_test_bpf_valgrind "$testnumstr" "$3" else + print_result $testnumstr "SKIPPED" "(valgrind not installed)" stats_skipped=$(($stats_skipped+1)) fi elif [[ "$4" == "live" ]]; then