test: fix build without flow classify
authorThomas Monjalon <thomas@monjalon.net>
Wed, 25 Oct 2017 15:17:39 +0000 (17:17 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Oct 2017 22:37:50 +0000 (00:37 +0200)
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 <thomas@monjalon.net>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
test/test/Makefile

index c2dbe40..bb54c98 100644 (file)
@@ -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