selftests/Makefile: make `run_tests' depend on `all'
[~shefty/rdma-dev.git] / tools / testing / selftests / Makefile
index b1119f0db51834bd0e2768450f7e284cab0bcaaa..9203cd77fc330c4414092f1244c2b34be3a89aa3 100644 (file)
@@ -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;