From c22ada8c65daf7da42e263442b9a716bb841f368 Mon Sep 17 00:00:00 2001 From: Kevin Laatz Date: Wed, 20 Dec 2017 12:06:21 +0000 Subject: [PATCH] test: build more test cases with meson This commit adds most of the remaining tests to the meson build. They can be run using test binary as normal, or via "ninja test". Signed-off-by: Kevin Laatz --- test/test/meson.build | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index 0ff568f8b5..eb4b04a711 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -19,6 +19,8 @@ test_sources = files('commands.c', 'test_common.c', 'test_cpuflags.c', 'test_crc.c', + 'test_cryptodev.c', + 'test_cryptodev_blockcipher.c', 'test_cycles.c', 'test_debug.c', 'test_devargs.c', @@ -32,6 +34,7 @@ test_sources = files('commands.c', 'test_event_ring.c', 'test_eventdev.c', 'test_func_reentrancy.c', + 'test_flow_classify.c', 'test_hash.c', 'test_hash_functions.c', 'test_hash_multiwriter.c', @@ -40,6 +43,8 @@ test_sources = files('commands.c', 'test_interrupts.c', 'test_kni.c', 'test_kvargs.c', + 'test_link_bonding.c', + 'test_link_bonding_mode4.c', 'test_logs.c', 'test_lpm.c', 'test_lpm6.c', @@ -47,6 +52,8 @@ test_sources = files('commands.c', 'test_lpm_perf.c', 'test_malloc.c', 'test_mbuf.c', + 'test_member.c', + 'test_member_perf.c', 'test_memcpy.c', 'test_memcpy_perf.c', 'test_memory.c', @@ -57,6 +64,8 @@ test_sources = files('commands.c', 'test_mp_secondary.c', 'test_per_lcore.c', 'test_pmd_perf.c', + 'test_pmd_ring.c', + 'test_pmd_ring_perf.c', 'test_power.c', 'test_power_acpi_cpufreq.c', 'test_power_kvm_vm.c', @@ -93,8 +102,10 @@ test_deps = ['acl', 'efd', 'ethdev', 'eventdev', + 'flow_classify', 'hash', 'lpm', + 'member', 'pipeline', 'port', 'power', @@ -112,6 +123,18 @@ test_names = [ 'common_autotest', 'cpuflags_autotest', 'crc_autotest', + 'cryptodev_qat_autotest', + 'cryptodev_aesni_mb_autotest', + 'cryptodev_openssl_autotest', + 'cryptodev_aesni_gcm_autotest', + 'cryptodev_null_autotest', + 'cryptodev_sw_snow3g_autotest', + 'cryptodev_sw_kasumi_autotest', + 'cryptodev_sw_zuc_autotest', + 'cryptodev_sw_armv8_autotest', + 'cryptodev_sw_mrvl_autotest', + 'cryptodev_dpaa2_sec_autotest', + 'cryptodev_dpaa_sec_autotest', 'cycles_autotest', 'debug_autotest', 'devargs_autotest', @@ -127,6 +150,7 @@ test_names = [ 'eventdev_octeontx_autotest', 'eventdev_sw_autotest', 'func_reentrancy_autotest', + 'flow_classify_autotest', 'hash_scaling_autotest', 'hash_autotest', 'hash_functions_autotest', @@ -135,6 +159,8 @@ test_names = [ 'interrupt_autotest', 'kni_autotest', 'kvargs_autotest', + 'link_bonding_autotest', + 'link_bonding_mode4_autotest', 'logs_autotest', 'lpm6_autotest', 'lpm6_perf_autotest', @@ -142,6 +168,8 @@ test_names = [ 'lpm_perf_autotest', 'malloc_autotest', 'mbuf_autotest', + 'member_autotest', + 'member_perf_autotest', 'memcpy_autotest', 'memcpy_perf_autotest', 'memory_autotest', @@ -162,10 +190,13 @@ test_names = [ 'reorder_autotest', 'ring_autotest', 'ring_perf_autotest', + 'ring_pmd_autotest', + 'ring_pmd_perf_autotest', 'rwlock_autotest', 'sched_autotest', 'service_autotest', 'spinlock_autotest', + 'string_autotest', 'table_autotest', 'tailq_autotest', 'thash_autotest', @@ -185,6 +216,12 @@ endif if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD') test_deps += 'pmd_ixgbe' endif +if dpdk_conf.has('RTE_LIBRTE_BOND_PMD') + test_deps += 'pmd_bond' +endif +if dpdk_conf.has('RTE_LIBRTE_RING_PMD') + test_deps += 'pmd_ring' +endif test_dep_objs = [] foreach d:test_deps -- 2.20.1