* [dpdk-dev] [PATCH] meson: add tests to build @ 2017-12-19 17:31 Kevin Laatz 2017-12-19 17:36 ` Laatz, Kevin ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Kevin Laatz @ 2017-12-19 17:31 UTC (permalink / raw) To: dev; +Cc: bruce.richardson, Kevin Laatz This commit adds most of the remaining tests to the meson build. They can be run using test binary as normal. Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> --- test/test/meson.build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index 1a4f894..a9bc2f6 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -47,6 +47,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', @@ -62,6 +64,7 @@ test_sources = files('commands.c', 'test_eventdev_octeontx.c', 'test_eventdev_sw.c', 'test_func_reentrancy.c', + 'test_flow_classify.c', 'test_hash.c', 'test_hash_functions.c', 'test_hash_multiwriter.c', @@ -70,6 +73,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', @@ -77,6 +82,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', @@ -87,6 +94,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', @@ -123,8 +132,10 @@ test_deps = ['acl', 'efd', 'ethdev', 'eventdev', + 'flow_classify', 'hash', 'lpm', + 'member', 'pipeline', 'port', 'power', @@ -215,6 +226,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.9.4 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] meson: add tests to build 2017-12-19 17:31 [dpdk-dev] [PATCH] meson: add tests to build Kevin Laatz @ 2017-12-19 17:36 ` Laatz, Kevin 2017-12-20 10:14 ` Van Haaren, Harry 2017-12-20 12:06 ` [dpdk-dev] [PATCH v2] " Kevin Laatz 2 siblings, 0 replies; 5+ messages in thread From: Laatz, Kevin @ 2017-12-19 17:36 UTC (permalink / raw) To: dev; +Cc: Richardson, Bruce > From: Laatz, Kevin > Sent: Tuesday, December 19, 2017 5:32 PM > To: dev@dpdk.org > Cc: Richardson, Bruce <bruce.richardson@intel.com>; Laatz, Kevin > <kevin.laatz@intel.com> > Subject: [PATCH] meson: add tests to build > > This commit adds most of the remaining tests to the meson build. > They can be run using test binary as normal. > Just a side note that this patch applies on top of the previous meson test patch, see here http://dpdk.org/dev/patchwork/patch/32357/ <snip> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] meson: add tests to build 2017-12-19 17:31 [dpdk-dev] [PATCH] meson: add tests to build Kevin Laatz 2017-12-19 17:36 ` Laatz, Kevin @ 2017-12-20 10:14 ` Van Haaren, Harry 2017-12-20 12:06 ` [dpdk-dev] [PATCH v2] " Kevin Laatz 2 siblings, 0 replies; 5+ messages in thread From: Van Haaren, Harry @ 2017-12-20 10:14 UTC (permalink / raw) To: Laatz, Kevin, dev; +Cc: Richardson, Bruce > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Kevin Laatz > Sent: Tuesday, December 19, 2017 5:32 PM > To: dev@dpdk.org > Cc: Richardson, Bruce <bruce.richardson@intel.com>; Laatz, Kevin > <kevin.laatz@intel.com> > Subject: [dpdk-dev] [PATCH] meson: add tests to build > > This commit adds most of the remaining tests to the meson build. > They can be run using test binary as normal. Cool, thanks for adding more tests! > Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> > --- > test/test/meson.build | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/test/test/meson.build b/test/test/meson.build > index 1a4f894..a9bc2f6 100644 > --- a/test/test/meson.build > +++ b/test/test/meson.build > @@ -47,6 +47,8 @@ test_sources = files('commands.c', > 'test_common.c', > 'test_cpuflags.c', > 'test_crc.c', > + 'test_cryptodev.c', > + 'test_cryptodev_blockcipher.c', Each of the test files here exports a number of actual test cases, eg: RTE>> cryptodev_null_autotest and similar. These test cases should be added to the list called "test_names" in the same file - so Meson knows about the tests. There was talk of refactoring away this list totally - and that would be good - but for now we're best to keep it in sync with the available tests. Apart from the above, the patch looks good to me! Will Review/Ack a v2. <snip> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [dpdk-dev] [PATCH v2] meson: add tests to build 2017-12-19 17:31 [dpdk-dev] [PATCH] meson: add tests to build Kevin Laatz 2017-12-19 17:36 ` Laatz, Kevin 2017-12-20 10:14 ` Van Haaren, Harry @ 2017-12-20 12:06 ` Kevin Laatz 2018-01-22 14:53 ` Bruce Richardson 2 siblings, 1 reply; 5+ messages in thread From: Kevin Laatz @ 2017-12-20 12:06 UTC (permalink / raw) To: dev; +Cc: bruce.richardson, Kevin Laatz This commit adds most of the remaining tests to the meson build. They can be run using test binary as normal. Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> --- v2: Added the test names for the added tests. --- test/test/meson.build | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/test/test/meson.build b/test/test/meson.build index 1a4f894..d5fc0e6 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -47,6 +47,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', @@ -62,6 +64,7 @@ test_sources = files('commands.c', 'test_eventdev_octeontx.c', 'test_eventdev_sw.c', 'test_func_reentrancy.c', + 'test_flow_classify.c', 'test_hash.c', 'test_hash_functions.c', 'test_hash_multiwriter.c', @@ -70,6 +73,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', @@ -77,6 +82,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', @@ -87,6 +94,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', @@ -123,8 +132,10 @@ test_deps = ['acl', 'efd', 'ethdev', 'eventdev', + 'flow_classify', 'hash', 'lpm', + 'member', 'pipeline', 'port', 'power', @@ -142,6 +153,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', @@ -157,6 +180,7 @@ test_names = [ 'eventdev_octeontx_autotest', 'eventdev_sw_autotest', 'func_reentrancy_autotest', + 'flow_classify_autotest', 'has_scaling_autotest', 'hash_autotest', 'hash_functions_autotest', @@ -165,6 +189,8 @@ test_names = [ 'interrupt_autotest', 'kni_autotest', 'kvargs_autotest', + 'link_bonding_autotest', + 'link_bonding_mode4_autotest', 'logs_autotest', 'lpm6_autotest', 'lpm6_perf_autotest', @@ -172,6 +198,8 @@ test_names = [ 'lpm_perf_autotest', 'malloc_autotest', 'mbuf_autotest', + 'member_autotest', + 'member_perf_autotest', 'memcpy_autotest', 'memcpy_perf_autotest', 'memory_autotest', @@ -192,10 +220,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', @@ -215,6 +246,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.9.4 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH v2] meson: add tests to build 2017-12-20 12:06 ` [dpdk-dev] [PATCH v2] " Kevin Laatz @ 2018-01-22 14:53 ` Bruce Richardson 0 siblings, 0 replies; 5+ messages in thread From: Bruce Richardson @ 2018-01-22 14:53 UTC (permalink / raw) To: Kevin Laatz; +Cc: dev On Wed, Dec 20, 2017 at 12:06:21PM +0000, Kevin Laatz wrote: > This commit adds most of the remaining tests to the meson build. > They can be run using test binary as normal. > > Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> > > --- > v2: > Added the test names for the added tests. > --- > test/test/meson.build | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > Acked-by: Bruce Richardson <bruce.richardson@intel.com> Applied to dpdk-next-build as "test/test: add additional test cases to meson build" More work I think is needed in cleaning up the tests and speeding up test runs, but this is forward progress anyway. > diff --git a/test/test/meson.build b/test/test/meson.build > index 1a4f894..d5fc0e6 100644 > --- a/test/test/meson.build > +++ b/test/test/meson.build > @@ -47,6 +47,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', > @@ -62,6 +64,7 @@ test_sources = files('commands.c', > 'test_eventdev_octeontx.c', > 'test_eventdev_sw.c', > 'test_func_reentrancy.c', > + 'test_flow_classify.c', > 'test_hash.c', > 'test_hash_functions.c', > 'test_hash_multiwriter.c', > @@ -70,6 +73,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', > @@ -77,6 +82,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', > @@ -87,6 +94,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', > @@ -123,8 +132,10 @@ test_deps = ['acl', > 'efd', > 'ethdev', > 'eventdev', > + 'flow_classify', > 'hash', > 'lpm', > + 'member', > 'pipeline', > 'port', > 'power', > @@ -142,6 +153,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', > @@ -157,6 +180,7 @@ test_names = [ > 'eventdev_octeontx_autotest', > 'eventdev_sw_autotest', > 'func_reentrancy_autotest', > + 'flow_classify_autotest', > 'has_scaling_autotest', > 'hash_autotest', > 'hash_functions_autotest', > @@ -165,6 +189,8 @@ test_names = [ > 'interrupt_autotest', > 'kni_autotest', > 'kvargs_autotest', > + 'link_bonding_autotest', > + 'link_bonding_mode4_autotest', > 'logs_autotest', > 'lpm6_autotest', > 'lpm6_perf_autotest', > @@ -172,6 +198,8 @@ test_names = [ > 'lpm_perf_autotest', > 'malloc_autotest', > 'mbuf_autotest', > + 'member_autotest', > + 'member_perf_autotest', > 'memcpy_autotest', > 'memcpy_perf_autotest', > 'memory_autotest', > @@ -192,10 +220,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', > @@ -215,6 +246,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.9.4 > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-01-22 14:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-12-19 17:31 [dpdk-dev] [PATCH] meson: add tests to build Kevin Laatz 2017-12-19 17:36 ` Laatz, Kevin 2017-12-20 10:14 ` Van Haaren, Harry 2017-12-20 12:06 ` [dpdk-dev] [PATCH v2] " Kevin Laatz 2018-01-22 14:53 ` Bruce Richardson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).