From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9563C432C2 for ; Wed, 25 Sep 2019 19:36:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97C1D21D7A for ; Wed, 25 Sep 2019 19:36:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fn+BgLdu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="C4OXA8IR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97C1D21D7A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TyhicSn3Yq7dWkrcLWhT8zJV+mA4Jz8lUZBEknTXxRc=; b=fn+BgLduFaAMY8RrPvVF94im6 GDo60m0EASKv+62v3MpLC6T19zq/cwNyPw3OJUUrnjYjgqh7yP2Mc2kQpdDgqYk1UiclDExd6C3FN m4gHNE8wUcOokM0cRp3p0pcNu+1fTy12k37P6nqnC/0SsL9+J6tphJr0S23SDqGdbCBZ73WDXpzKF Q4Gl/cz1gtS8oOm60YP/6rtLZ3vyVQMs9qPwskeMu/u70cg1OXoDxlqcubYHOARc2AAxCuWml7Gog sf0QzX6z0VdS78fyuzn4cxybJG7Gt/VYpdRg0pd77Hq47zd2aVisFPTAJz0wZYn9wfFUyovqBjw7n IOuf6VqLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDD5K-0002Xe-J8; Wed, 25 Sep 2019 19:36:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDD5H-0002We-RD for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2019 19:36:21 +0000 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9EB021D7A; Wed, 25 Sep 2019 19:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569440179; bh=8Grs7LRppFCyZ3JutL0fp5q5ZY3bi7rRdE0tG+CC9ko=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=C4OXA8IRly1/koag00wpkKy6fxTogThu9rb3n13g1NEADdTUd19KiCTuoHIE3HHjN oLOf5gW5VWSi9Oql4blr4ujIa5+ftneZAvst1GLAlFMIWZXSHnh5kz5pqlWXoKR+IF 6AV5uqoEXC46Usyn7BMfvSvk0MN3uhDR21Ahc/fc= Subject: Re: [PATCH 1/2] kselftest: add capability to skip chosen TARGETS To: Cristian Marussi , linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190925132421.23572-1-cristian.marussi@arm.com> From: shuah Message-ID: Date: Wed, 25 Sep 2019 13:36:04 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190925132421.23572-1-cristian.marussi@arm.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190925_123619_906389_1AAA5856 X-CRM114-Status: GOOD ( 17.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shuah , dave.martin@arm.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/25/19 7:24 AM, Cristian Marussi wrote: > Let the user specify an optional TARGETS skiplist through the new optional > SKIP_TARGETS Makefile variable. > > It is easier to skip at will a reduced and well defined list of possibly > problematic targets with SKIP_TARGETS then to provide a partially stripped > down list of good targets using the usual TARGETS variable. > > Signed-off-by: Cristian Marussi > --- > tools/testing/selftests/Makefile | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile > index 25b43a8c2b15..103936faa46d 100644 > --- a/tools/testing/selftests/Makefile > +++ b/tools/testing/selftests/Makefile > @@ -132,6 +132,10 @@ else > ARCH=$(ARCH) -C $(top_srcdir) headers_install > endif > > +# User can optionally provide a TARGETS skiplist. > +SKIP_TARGETS ?= > +TARGETS := $(filter-out $(SKIP_TARGETS), $(TARGETS)) > + > all: khdr > @for TARGET in $(TARGETS); do \ > BUILD_TARGET=$$BUILD/$$TARGET; \ > Thanks for doing this. This looks good to me. Would you like to update the documentation file? thanks, -- Shuah _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel