linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 1/9] kbuild: Don't pass -rR to selftest makefiles
@ 2015-03-11  4:05 Michael Ellerman
  2015-03-11  4:05 ` [PATCH v4 3/9] selftests: Introduce minimal shared logic for running tests Michael Ellerman
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: Michael Ellerman @ 2015-03-11  4:05 UTC (permalink / raw)
  To: shuahkh-JPH+aEBZ4P+UEJcrhfAQsw
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	davej-rdkfGonbjUTCLXcRTR1eJlpr/1R2p/CL, mmarek-AlSwsSmVLrQ,
	linux-api-u79uwXL29TY76Z2rM5mHXA

The makefiles under tools/testing/selftests are not real kbuild
makefiles, they are regular stand alone makefiles. As such they *do*
want all the standard implicit rules and variables defined.

So before calling those makefiles, filter -rR out of MAKEFLAGS.

Without this not all the selftests are built correctly when called via
the top-level Makefile.

Signed-off-by: Michael Ellerman <mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1100ff3c77e3..0836e9d628f0 100644
--- a/Makefile
+++ b/Makefile
@@ -1085,7 +1085,7 @@ headers_check: headers_install
 
 PHONY += kselftest
 kselftest:
-	$(Q)$(MAKE) -C tools/testing/selftests run_tests
+	$(Q)$(MAKE) -C tools/testing/selftests MAKEFLAGS="$(filter-out rR,$(MAKEFLAGS))" run_tests
 
 # ---------------------------------------------------------------------------
 # Modules
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-03-18 14:30 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11  4:05 [PATCH v4 1/9] kbuild: Don't pass -rR to selftest makefiles Michael Ellerman
2015-03-11  4:05 ` [PATCH v4 3/9] selftests: Introduce minimal shared logic for running tests Michael Ellerman
     [not found]   ` <1426046765-19289-3-git-send-email-mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-13 17:19     ` Shuah Khan
     [not found]       ` <55031C14.1030203-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-03-13 20:28         ` Shuah Khan
2015-03-11  4:06 ` [PATCH v4 4/9] selftests: Add install target Michael Ellerman
2015-03-11 13:18   ` Shuah Khan
     [not found]     ` <5500408B.2070604-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-03-11 16:03       ` Shuah Khan
     [not found]         ` <5500675A.1000700-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-03-12  3:11           ` Michael Ellerman
2015-03-12  3:15       ` Michael Ellerman
     [not found]         ` <1426130144.25936.4.camel-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-13 16:33           ` Dave Jones
2015-03-13 17:08             ` Shuah Khan
     [not found]   ` <1426046765-19289-4-git-send-email-mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-13 17:20     ` Shuah Khan
     [not found]       ` <55031C78.4040609-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-03-13 21:32         ` Shuah Khan
     [not found]           ` <5503577C.9050002-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-03-13 23:08             ` Shuah Khan
2015-03-16  3:04           ` Michael Ellerman
     [not found]             ` <1426475092.20210.4.camel-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-16  3:12               ` Michael Ellerman
2015-03-18 14:30               ` Shuah Khan
2015-03-11  4:06 ` [PATCH v4 5/9] selftests: Add install support for the powerpc tests Michael Ellerman
2015-03-11  4:06 ` [PATCH v4 6/9] selftests: Set CC using CROSS_COMPILE once in lib.mk Michael Ellerman
2015-03-11  4:06 ` [PATCH v4 7/9] selftests/timers: Use implicit rules Michael Ellerman
     [not found] ` <1426046765-19289-1-git-send-email-mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-11  4:05   ` [PATCH v4 2/9] kbuild: Don't pass LDFLAGS to selftest Makefile Michael Ellerman
     [not found]     ` <1426046765-19289-2-git-send-email-mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org>
2015-03-11 16:08       ` Shuah Khan
2015-03-13 18:06       ` Shuah Khan
2015-03-11  4:06   ` [PATCH v4 8/9] selftests/mqueue: Use implicit rules Michael Ellerman
2015-03-11  4:06 ` [PATCH v4 9/9] selftests/mount: " Michael Ellerman

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).