Commit cab6b056 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

selftests/Makefile: make `run_tests' depend on `all'

So a "make run_tests" will build the tests before trying to run them.
Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f467f714
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment