From: Andrew Morton Date: Wed, 28 Mar 2012 21:42:54 +0000 (-0700) Subject: selftests/Makefile: make `run_tests' depend on `all' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cab6b0560080c6da5107c5d7dbba6372f7b288ab;p=linux-beck.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;