[dpdk-dev] test: fix build without flow classify
Checks
Commit Message
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@intel.com
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
test/test/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Wednesday, October 25, 2017 4:18 PM
> To: dev@dpdk.org
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>
> 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")
> Cc: bernard.iremonger@intel.com
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
> > 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@intel.com
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
>
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Applied
@@ -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