[dpdk-dev] [PATCH] test: fix build without flow classify

Thomas Monjalon thomas at monjalon.net
Wed Oct 25 17:17:39 CEST 2017


The unit test for flow classify should be disabled
if the library is disabled in the configuration.

Fixes: 9c9befea4f57 ("test: add flow classify unit tests")
Cc: bernard.iremonger at intel.com

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 test/test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test/Makefile b/test/test/Makefile
index c2dbe40fd..bb54c9808 100644
--- a/test/test/Makefile
+++ b/test/test/Makefile
@@ -107,7 +107,7 @@ SRCS-y += test_table_tables.c
 SRCS-y += test_table_ports.c
 SRCS-y += test_table_combined.c
 SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_table_acl.c
-SRCS-$(CONFIG_RTE_LIBRTE_ACL) += test_flow_classify.c
+SRCS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += test_flow_classify.c
 endif
 
 SRCS-y += test_rwlock.c
-- 
2.14.2



More information about the dev mailing list