[2/4] test/test-acl: move to app directory
Checks
Commit Message
Move to "app" directory and enable with meson build.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/Makefile | 1 +
app/meson.build | 1 +
{test => app}/test-acl/Makefile | 0
{test => app}/test-acl/main.c | 0
app/test-acl/meson.build | 5 +++++
test/Makefile | 1 -
6 files changed, 7 insertions(+), 1 deletion(-)
rename {test => app}/test-acl/Makefile (100%)
rename {test => app}/test-acl/main.c (100%)
create mode 100644 app/test-acl/meson.build
@@ -7,6 +7,7 @@ DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd
DIRS-$(CONFIG_RTE_PROC_INFO) += proc-info
DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test
+DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl
ifeq ($(CONFIG_RTE_LIBRTE_BBDEV),y)
DIRS-$(CONFIG_RTE_TEST_BBDEV) += test-bbdev
@@ -4,6 +4,7 @@
apps = ['cmdline_test',
'pdump',
'proc-info',
+ 'test-acl',
'test-bbdev',
'test-compress-perf',
'test-crypto-perf',
similarity index 100%
rename from test/test-acl/Makefile
rename to app/test-acl/Makefile
similarity index 100%
rename from test/test-acl/main.c
rename to app/test-acl/main.c
new file mode 100644
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Intel Corporation
+
+sources = files('main.c')
+deps += ['acl', 'net']
@@ -4,7 +4,6 @@
include $(RTE_SDK)/mk/rte.vars.mk
DIRS-$(CONFIG_RTE_APP_TEST) += test
-DIRS-$(CONFIG_RTE_LIBRTE_ACL) += test-acl
DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
include $(RTE_SDK)/mk/rte.subdir.mk