From 91230d0cffb22bae238a90ee995b778e7850dbbb Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Wed, 25 Oct 2017 17:17:39 +0200 Subject: [PATCH] test: fix build without flow classify 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") Signed-off-by: Thomas Monjalon Acked-by: Bernard Iremonger --- test/test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/Makefile b/test/test/Makefile index c2dbe40fda..bb54c9808d 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.20.1