All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuah@kernel.org>
To: jpoimboe@redhat.com, jikos@kernel.org, mbenes@suse.cz,
	pmladek@suse.com, joe.lawrence@redhat.com, shuah@kernel.org
Cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts
Date: Thu, 11 Apr 2019 19:18:23 -0600	[thread overview]
Message-ID: <20190412011823.26884-1-shuah@kernel.org> (raw)

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 <shuah@kernel.org>
---
 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
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: shuah at kernel.org (Shuah Khan)
Subject: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts
Date: Thu, 11 Apr 2019 19:18:23 -0600	[thread overview]
Message-ID: <20190412011823.26884-1-shuah@kernel.org> (raw)

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 <shuah at kernel.org>
---
 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
-- 
2.17.1

WARNING: multiple messages have this Message-ID (diff)
From: shuah@kernel.org (Shuah Khan)
Subject: [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts
Date: Thu, 11 Apr 2019 19:18:23 -0600	[thread overview]
Message-ID: <20190412011823.26884-1-shuah@kernel.org> (raw)
Message-ID: <20190412011823.CQLmCTxlhYhPQGGhZVVujP_jtm5w6xV8fmif-Tz4juI@z> (raw)

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 <shuah at kernel.org>
---
 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
-- 
2.17.1

             reply	other threads:[~2019-04-12  1:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12  1:18 Shuah Khan [this message]
2019-04-12  1:18 ` [PATCH] selftests: livepatch use TEST_PROGS for test shell scripts Shuah Khan
2019-04-12  1:18 ` shuah
2019-04-12  7:03 ` Miroslav Benes
2019-04-12  7:03   ` Miroslav Benes
2019-04-12  7:03   ` mbenes
2019-04-12 13:26   ` shuah
2019-04-12 13:26     ` shuah
2019-04-12 13:26     ` shuah
2019-04-12 13:37     ` Miroslav Benes
2019-04-12 13:37       ` Miroslav Benes
2019-04-12 13:37       ` mbenes
2019-04-12 17:05       ` shuah
2019-04-12 17:05         ` shuah
2019-04-12 17:05         ` shuah
2019-04-12 18:51         ` Joe Lawrence
2019-04-12 18:51           ` Joe Lawrence
2019-04-12 18:51           ` joe.lawrence
2019-04-12 19:06           ` shuah
2019-04-12 19:06             ` shuah
2019-04-12 19:06             ` shuah
2019-04-15 12:42       ` Petr Mladek
2019-04-15 12:42         ` Petr Mladek
2019-04-15 12:42         ` pmladek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190412011823.26884-1-shuah@kernel.org \
    --to=shuah@kernel.org \
    --cc=jikos@kernel.org \
    --cc=joe.lawrence@redhat.com \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=live-patching@vger.kernel.org \
    --cc=mbenes@suse.cz \
    --cc=pmladek@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.