* + kselftest-vm-override-targets-from-arguments.patch added to -mm tree
@ 2022-02-28 5:04 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-02-28 5:04 UTC (permalink / raw)
To: mm-commits, shuah, zhouchengming, akpm
The patch titled
Subject: kselftest/vm: override TARGETS from arguments
has been added to the -mm tree. Its filename is
kselftest-vm-override-targets-from-arguments.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/kselftest-vm-override-targets-from-arguments.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/kselftest-vm-override-targets-from-arguments.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Chengming Zhou <zhouchengming@bytedance.com>
Subject: kselftest/vm: override TARGETS from arguments
We can specify which testcases to build using TARGETS argument, for
example: make -C tools/testing/selftests TARGETS=vm, cause the ordinary
assignment of TARGETS in Makefile will be ignored. So we need to use
override directive to change that.
Link: https://lkml.kernel.org/r/20220227055330.43087-1-zhouchengming@bytedance.com
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/testing/selftests/vm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/testing/selftests/vm/Makefile~kselftest-vm-override-targets-from-arguments
+++ a/tools/testing/selftests/vm/Makefile
@@ -56,7 +56,7 @@ CAN_BUILD_I386 := $(shell ./../x86/check
CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_64bit_program.c)
CAN_BUILD_WITH_NOPIE := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_program.c -no-pie)
-TARGETS := protection_keys
+override TARGETS := protection_keys
BINARIES_32 := $(TARGETS:%=%_32)
BINARIES_64 := $(TARGETS:%=%_64)
_
Patches currently in -mm which might be from zhouchengming@bytedance.com are
kselftest-vm-override-targets-from-arguments.patch
kselftest-vm-fix-tests-build-with-old-libc.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-28 5:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 5:04 + kselftest-vm-override-targets-from-arguments.patch added to -mm tree Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).