mk: fix message when test application is not built

To build the tests, we should use "make test-build".

Fixes: 64592d97c1 ("mk: do not build tests by default")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Olivier Matz 2017-03-17 18:09:14 +01:00 committed by Thomas Monjalon
parent 84aac97b49
commit c0920197cd

View File

@ -62,7 +62,7 @@ test test-basic test-fast test-perf:
$(RTE_TARGET) \ $(RTE_TARGET) \
$(BLACKLIST) $(WHITELIST); \ $(BLACKLIST) $(WHITELIST); \
else \ else \
echo "No test found, please do a 'make build' first, or specify O=" ; \ echo "No test found, please do a 'make test-build' first, or specify O=" ; \
fi fi
# this is a special target to ease the pain of running coverage tests # this is a special target to ease the pain of running coverage tests
@ -80,5 +80,5 @@ coverage:
$(BLACKLIST) $(WHITELIST) ; \ $(BLACKLIST) $(WHITELIST) ; \
$(RTE_OUTPUT)/app/dpdk-procinfo --file-prefix=ring_perf -- -m; \ $(RTE_OUTPUT)/app/dpdk-procinfo --file-prefix=ring_perf -- -m; \
else \ else \
echo "No test found, please do a 'make build' first, or specify O=" ;\ echo "No test found, please do a 'make test-build' first, or specify O=" ;\
fi fi