* [PATCH] mk: remove useless test targets
@ 2016-05-11 9:27 Thomas Monjalon
2016-05-11 9:46 ` [PATCH v2 1/2] " Thomas Monjalon
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2016-05-11 9:27 UTC (permalink / raw)
To: dev
We can define any custom whitelist of tests to run.
The predefined lists for ring and mempool tests are not quite useful.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
mk/rte.sdktest.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk
index 5b30ec8..c448303 100644
--- a/mk/rte.sdktest.mk
+++ b/mk/rte.sdktest.mk
@@ -50,8 +50,6 @@ PHONY: test fast_test
coverage: BLACKLIST=-Mempool_perf,Memcpy_perf,Hash_perf
fast_test: BLACKLIST=-Ring_perf,Mempool_perf,Memcpy_perf,Hash_perf
-ring_test: WHITELIST=Ring,Ring_perf
-mempool_test: WHITELIST=Mempool,Mempool_perf
perf_test:WHITELIST=Mempool_perf,Memcpy_perf,Hash_perf,Ring_perf
test fast_test ring_test mempool_test perf_test:
@mkdir -p $(AUTOTEST_DIR) ; \
--
2.7.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] mk: remove useless test targets
2016-05-11 9:27 [PATCH] mk: remove useless test targets Thomas Monjalon
@ 2016-05-11 9:46 ` Thomas Monjalon
2016-05-11 9:46 ` [PATCH v2 2/2] mk: fix autotest lists Thomas Monjalon
2016-05-24 15:08 ` [PATCH v2 1/2] mk: remove useless test targets Thomas Monjalon
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-05-11 9:46 UTC (permalink / raw)
To: dev
We can define any custom whitelist of tests to run.
The predefined lists for ring and mempool tests are not quite useful.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
v2: completely remove targets
mk/rte.sdktest.mk | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk
index ee25f28..c0c4023 100644
--- a/mk/rte.sdktest.mk
+++ b/mk/rte.sdktest.mk
@@ -50,10 +50,8 @@ PHONY: test fast_test
coverage: BLACKLIST=-Mempool_perf,Memcpy_perf,Hash_perf
fast_test: BLACKLIST=-Ring_perf,Mempool_perf,Memcpy_perf,Hash_perf,Lpm6
-ring_test: WHITELIST=Ring,Ring_perf
-mempool_test: WHITELIST=Mempool,Mempool_perf
perf_test:WHITELIST=Mempool_perf,Memcpy_perf,Hash_perf,Ring_perf
-test fast_test ring_test mempool_test perf_test:
+test fast_test perf_test:
@mkdir -p $(AUTOTEST_DIR) ; \
cd $(AUTOTEST_DIR) ; \
if [ -f $(RTE_OUTPUT)/app/test ]; then \
--
2.7.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] mk: fix autotest lists
2016-05-11 9:46 ` [PATCH v2 1/2] " Thomas Monjalon
@ 2016-05-11 9:46 ` Thomas Monjalon
2016-05-24 15:08 ` [PATCH v2 1/2] mk: remove useless test targets Thomas Monjalon
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-05-11 9:46 UTC (permalink / raw)
To: dev
The perf test lists were not consistent.
Add timer perf test to the list.
Add LPM6 test to fast tests.
And fix the phony target.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
mk/rte.sdktest.mk | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk
index c0c4023..a6489b0 100644
--- a/mk/rte.sdktest.mk
+++ b/mk/rte.sdktest.mk
@@ -46,11 +46,13 @@ DIR := $(shell basename $(RTE_OUTPUT))
#
# test: launch auto-tests, very simple for now.
#
-PHONY: test fast_test
+.PHONY: test fast_test perf_test coverage
+
+PERFLIST=Ring_perf,Mempool_perf,Memcpy_perf,Hash_perf,Timer_perf
+coverage: BLACKLIST=-$(PERFLIST)
+fast_test: BLACKLIST=-$(PERFLIST)
+perf_test:WHITELIST=$(PERFLIST)
-coverage: BLACKLIST=-Mempool_perf,Memcpy_perf,Hash_perf
-fast_test: BLACKLIST=-Ring_perf,Mempool_perf,Memcpy_perf,Hash_perf,Lpm6
-perf_test:WHITELIST=Mempool_perf,Memcpy_perf,Hash_perf,Ring_perf
test fast_test perf_test:
@mkdir -p $(AUTOTEST_DIR) ; \
cd $(AUTOTEST_DIR) ; \
--
2.7.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] mk: remove useless test targets
2016-05-11 9:46 ` [PATCH v2 1/2] " Thomas Monjalon
2016-05-11 9:46 ` [PATCH v2 2/2] mk: fix autotest lists Thomas Monjalon
@ 2016-05-24 15:08 ` Thomas Monjalon
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-05-24 15:08 UTC (permalink / raw)
To: dev
2016-05-11 11:46, Thomas Monjalon:
> We can define any custom whitelist of tests to run.
> The predefined lists for ring and mempool tests are not quite useful.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
> v2: completely remove targets
Series applied
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-24 15:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-11 9:27 [PATCH] mk: remove useless test targets Thomas Monjalon
2016-05-11 9:46 ` [PATCH v2 1/2] " Thomas Monjalon
2016-05-11 9:46 ` [PATCH v2 2/2] mk: fix autotest lists Thomas Monjalon
2016-05-24 15:08 ` [PATCH v2 1/2] mk: remove useless test targets Thomas Monjalon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.