Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp137529yba; Fri, 12 Apr 2019 00:04:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtjupvql1j7O9Q8cfbT62I2S7QbcoVLNDten2Rm3D7XT48kT339Y9s/a4+eUgwh5ag66Ul X-Received: by 2002:a63:3190:: with SMTP id x138mr50033640pgx.273.1555052641129; Fri, 12 Apr 2019 00:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555052641; cv=none; d=google.com; s=arc-20160816; b=WcnSum8IxhYhZYuo/TV9vO9ZJKMPCZgQC33pHaL5Inlc00BDPSacA6w7kZEvsL2RHV xUteYIA/YVugGATBW5GbPPRtf/V2yOXz9aQWaiYjs9VLQcxqyKICq4E50gWDCyVJ2nm6 FjcIpVybkt9SZEBqgTNIPjmdy7BQfZyp6xYoFB5mVIo6kmXlYP22p2NpUD1jLRhTNrU6 np5k+udVlNrVLD5fFjvo6BD2NMEWvo42DwTqW0qtNyJ6hhMzET4exPxMuzrBcQmTMcCu oreeZeNbaJhEep2ewFuAFCVaafnrP33rNqfaEQ3E91e/zO26ZVtaampiPHjtdpcDnZGi VMTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=blsPepu3YAY1TVQoEiB0xH/5BPn2mjlT1OKbcE8HQ44=; b=EX/qEUm5lS8lspZ59pdwAOQEbjs9BipxC+kHMfwVI7w+6H1m4WuDcuVECUnChzd8N0 Cj526WFrnet/zcUQ1CWVkm6+AqfSypxiuRoB0vBxxZOJ7EU9JlwORAcFfjZSjNLYTtLw jhMBaOLtk7WPIpzWCPZ7988syYFKafF2dZDJamruH+dXAzYVZfvBTRpdZQQ79qV/3ldP aa2zuRCXSHf3vJAI7TPDBuDboiL1Tt+CcjF9jlU2+KukHXhH/waTNCetoUDTD3MeVf4u 8OSjkOmAl/LPfg6kG3JG+bLsNjEf8dK1kLNVEO79UUKBNaaQub65p1XEg2Db1M0GauJp UgZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17si23203608pfm.170.2019.04.12.00.03.45; Fri, 12 Apr 2019 00:04:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727042AbfDLHDG (ORCPT + 99 others); Fri, 12 Apr 2019 03:03:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:60230 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726678AbfDLHDG (ORCPT ); Fri, 12 Apr 2019 03:03:06 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F00F2ADAA; Fri, 12 Apr 2019 07:03:04 +0000 (UTC) Date: Fri, 12 Apr 2019 09:03:04 +0200 (CEST) From: Miroslav Benes To: Shuah Khan cc: jpoimboe@redhat.com, jikos@kernel.org, pmladek@suse.com, joe.lawrence@redhat.com, live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts In-Reply-To: <20190412011823.26884-1-shuah@kernel.org> Message-ID: References: <20190412011823.26884-1-shuah@kernel.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 Apr 2019, Shuah Khan wrote: > TEST_PROGS variable is for test shell scripts and common clean target > in lib.mk doesn't touch them. TEST_GEN_PROGS are removed by it. > > Fix it to use TEST_PROGS for test shell scripts and TEST_PROGS_EXTENDED > for common functions.sh. > > Signed-off-by: Shuah Khan > --- > tools/testing/selftests/livepatch/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/livepatch/Makefile b/tools/testing/selftests/livepatch/Makefile > index af4aee79bebb..fd405402c3ff 100644 > --- a/tools/testing/selftests/livepatch/Makefile > +++ b/tools/testing/selftests/livepatch/Makefile > @@ -1,6 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > > -TEST_GEN_PROGS := \ > +TEST_PROGS_EXTENDED := functions.sh > +TEST_PROGS := \ > test-livepatch.sh \ > test-callbacks.sh \ > test-shadow-vars.sh Hi Shuah, thanks for the patch. We have already something similar queued in our git tree. See https://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching.git/commit/?h=for-5.1/upstream-fixes&id=abfe3c4560684864f66641438fee3075de098e89 It is missing TEST_PROGS_EXTENDED though. Should we add it? Miroslav