git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testpmd: register a specific log type
[dpdk.git]
/
mk
/
rte.sdktest.mk
diff --git
a/mk/rte.sdktest.mk
b/mk/rte.sdktest.mk
index
d61d4d0
..
daeea90
100644
(file)
--- a/
mk/rte.sdktest.mk
+++ b/
mk/rte.sdktest.mk
@@
-46,14
+46,14
@@
DIR := $(shell basename $(RTE_OUTPUT))
#
# test: launch auto-tests, very simple for now.
#
#
# test: launch auto-tests, very simple for now.
#
-.PHONY: test test-basic
fast_test perf_test
coverage
+.PHONY: test test-basic
test-fast test-perf
coverage
PERFLIST=ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf
coverage: BLACKLIST=-$(PERFLIST)
PERFLIST=ring_perf,mempool_perf,memcpy_perf,hash_perf,timer_perf
coverage: BLACKLIST=-$(PERFLIST)
-
fast_te
st: BLACKLIST=-$(PERFLIST)
-
perf_test
: WHITELIST=$(PERFLIST)
+
test-fa
st: BLACKLIST=-$(PERFLIST)
+
test-perf
: WHITELIST=$(PERFLIST)
-test test-basic
fast_test perf_test
:
+test test-basic
test-fast test-perf
:
@mkdir -p $(AUTOTEST_DIR) ; \
cd $(AUTOTEST_DIR) ; \
if [ -f $(RTE_OUTPUT)/app/test ]; then \
@mkdir -p $(AUTOTEST_DIR) ; \
cd $(AUTOTEST_DIR) ; \
if [ -f $(RTE_OUTPUT)/app/test ]; then \
@@
-62,7
+62,7
@@
test test-basic fast_test perf_test:
$(RTE_TARGET) \
$(BLACKLIST) $(WHITELIST); \
else \
$(RTE_TARGET) \
$(BLACKLIST) $(WHITELIST); \
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
# this is a special target to ease the pain of running coverage tests
fi
# this is a special target to ease the pain of running coverage tests
@@
-80,5
+80,5
@@
coverage:
$(BLACKLIST) $(WHITELIST) ; \
$(RTE_OUTPUT)/app/dpdk-procinfo --file-prefix=ring_perf -- -m; \
else \
$(BLACKLIST) $(WHITELIST) ; \
$(RTE_OUTPUT)/app/dpdk-procinfo --file-prefix=ring_perf -- -m; \
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