Commit cab6b0560080c6da5107c5d7dbba6372f7b288ab

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent f467f71403

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

tools/testing/selftests/Makefile
... ... @@ -5,7 +5,7 @@
5 5 make -C $$TARGET; \
6 6 done;
7 7  
8   -run_tests:
  8 +run_tests: all
9 9 for TARGET in $(TARGETS); do \
10 10 make -C $$TARGET run_tests; \
11 11 done;