aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton2012-03-28 16:42:54 -0500
committerLinus Torvalds2012-03-28 19:14:37 -0500
commitcab6b0560080c6da5107c5d7dbba6372f7b288ab (patch)
tree80603cebd91e43f94311385655c409bd9d9bdc7c /tools/testing/selftests
parentf467f7140339355978994ffcc23d569e7b4cea4d (diff)
downloadkernel-omap-cab6b0560080c6da5107c5d7dbba6372f7b288ab.tar.gz
kernel-omap-cab6b0560080c6da5107c5d7dbba6372f7b288ab.tar.xz
kernel-omap-cab6b0560080c6da5107c5d7dbba6372f7b288ab.zip
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 <fweisbec@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/Makefile2
1 files changed, 1 insertions, 1 deletions
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:
5 make -C $$TARGET; \ 5 make -C $$TARGET; \
6 done; 6 done;
7 7
8run_tests: 8run_tests: all
9 for TARGET in $(TARGETS); do \ 9 for TARGET in $(TARGETS); do \
10 make -C $$TARGET run_tests; \ 10 make -C $$TARGET run_tests; \
11 done; 11 done;