Skip to content

Commit

Permalink
selftests/Makefile: make run_tests' depend on all'
Browse files Browse the repository at this point in the history
So a "make run_tests" will build the tests before trying to run them.

Acked-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Mar 29, 2012
1 parent f467f71 commit cab6b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cab6b05

Please sign in to comment.