提交 cab6b056 编写于 作者: A Andrew Morton 提交者: 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: NFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册