From: Andrew Morton Date: Wed, 28 Mar 2012 21:42:54 +0000 (-0700) Subject: selftests/Makefile: make `run_tests' depend on `all' X-Git-Tag: MMI-PSA29.97-13-9~17053^2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cab6b0560080c6da5107c5d7dbba6372f7b288ab;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git selftests/Makefile: make `run_tests' depend on `all' So a "make run_tests" will build the tests before trying to run them. Acked-by: Frederic Weisbecker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index b1119f0db518..9203cd77fc33 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -5,7 +5,7 @@ all: make -C $$TARGET; \ done; -run_tests: +run_tests: all for TARGET in $(TARGETS); do \ make -C $$TARGET run_tests; \ done;