From 7d3b1ec47fae5b2d972e05d0ee37bb7a1731b085 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Thu, 16 Feb 2017 14:57:42 +0000 Subject: [PATCH] test: move unit tests to separate directory This is to logically group unit tests into their own folder, separating them from "app" folder. Hopefully this will make the unit test in DPDK more visible. Following binaries moved to "test" folder: cmdline-test test-acl test-pipeline test <-- various DPDK unit tests Signed-off-by: Ferruh Yigit Acked-by: Bruce Richardson --- GNUmakefile | 2 +- MAINTAINERS | 140 +++++++++--------- app/Makefile | 4 - mk/rte.sdktest.mk | 6 +- test/Makefile | 39 +++++ {app => test}/cmdline_test/Makefile | 0 {app => test}/cmdline_test/cmdline_test.c | 0 {app => test}/cmdline_test/cmdline_test.h | 0 {app => test}/cmdline_test/cmdline_test.py | 0 .../cmdline_test/cmdline_test_data.py | 0 {app => test}/cmdline_test/commands.c | 0 {app => test}/test-acl/Makefile | 0 {app => test}/test-acl/main.c | 0 {app => test}/test-pipeline/Makefile | 0 {app => test}/test-pipeline/config.c | 0 {app => test}/test-pipeline/init.c | 0 {app => test}/test-pipeline/main.c | 0 {app => test}/test-pipeline/main.h | 0 {app => test}/test-pipeline/pipeline_acl.c | 0 {app => test}/test-pipeline/pipeline_hash.c | 0 {app => test}/test-pipeline/pipeline_lpm.c | 0 .../test-pipeline/pipeline_lpm_ipv6.c | 0 {app => test}/test-pipeline/pipeline_stub.c | 0 {app => test}/test-pipeline/runtime.c | 0 {app => test}/test/Makefile | 0 {app => test}/test/autotest.py | 0 {app => test}/test/autotest_data.py | 0 {app => test}/test/autotest_runner.py | 0 {app => test}/test/autotest_test_funcs.py | 0 {app => test}/test/commands.c | 0 {app => test}/test/packet_burst_generator.c | 0 {app => test}/test/packet_burst_generator.h | 0 {app => test}/test/process.h | 0 {app => test}/test/resource.c | 0 {app => test}/test/resource.h | 0 {app => test}/test/test.c | 0 {app => test}/test/test.h | 0 {app => test}/test/test_acl.c | 0 {app => test}/test/test_acl.h | 0 {app => test}/test/test_alarm.c | 0 {app => test}/test/test_atomic.c | 0 {app => test}/test/test_byteorder.c | 0 {app => test}/test/test_cmdline.c | 0 {app => test}/test/test_cmdline.h | 0 {app => test}/test/test_cmdline_cirbuf.c | 0 {app => test}/test/test_cmdline_etheraddr.c | 0 {app => test}/test/test_cmdline_ipaddr.c | 0 {app => test}/test/test_cmdline_lib.c | 0 {app => test}/test/test_cmdline_num.c | 0 {app => test}/test/test_cmdline_portlist.c | 0 {app => test}/test/test_cmdline_string.c | 0 {app => test}/test/test_common.c | 0 {app => test}/test/test_cpuflags.c | 0 {app => test}/test/test_cryptodev.c | 0 {app => test}/test/test_cryptodev.h | 0 .../test/test_cryptodev_aes_test_vectors.h | 0 .../test/test_cryptodev_blockcipher.c | 0 .../test/test_cryptodev_blockcipher.h | 0 .../test/test_cryptodev_des_test_vectors.h | 0 .../test/test_cryptodev_gcm_test_vectors.h | 0 .../test/test_cryptodev_hash_test_vectors.h | 0 .../test/test_cryptodev_hmac_test_vectors.h | 0 .../test_cryptodev_kasumi_hash_test_vectors.h | 0 .../test/test_cryptodev_kasumi_test_vectors.h | 0 {app => test}/test/test_cryptodev_perf.c | 0 .../test_cryptodev_snow3g_hash_test_vectors.h | 0 .../test/test_cryptodev_snow3g_test_vectors.h | 0 .../test_cryptodev_zuc_hash_test_vectors.h | 0 .../test/test_cryptodev_zuc_test_vectors.h | 0 {app => test}/test/test_cycles.c | 0 {app => test}/test/test_debug.c | 0 {app => test}/test/test_devargs.c | 0 {app => test}/test/test_distributor.c | 0 {app => test}/test/test_distributor_perf.c | 0 {app => test}/test/test_eal_flags.c | 0 {app => test}/test/test_eal_fs.c | 0 {app => test}/test/test_efd.c | 0 {app => test}/test/test_efd_perf.c | 0 {app => test}/test/test_errno.c | 0 {app => test}/test/test_func_reentrancy.c | 0 {app => test}/test/test_hash.c | 0 {app => test}/test/test_hash_functions.c | 0 {app => test}/test/test_hash_multiwriter.c | 0 {app => test}/test/test_hash_perf.c | 0 {app => test}/test/test_hash_scaling.c | 0 {app => test}/test/test_interrupts.c | 0 {app => test}/test/test_kni.c | 0 {app => test}/test/test_kvargs.c | 0 {app => test}/test/test_link_bonding.c | 0 {app => test}/test/test_link_bonding_mode4.c | 0 .../test/test_link_bonding_rssconf.c | 0 {app => test}/test/test_logs.c | 0 {app => test}/test/test_lpm.c | 0 {app => test}/test/test_lpm6.c | 0 {app => test}/test/test_lpm6_data.h | 0 {app => test}/test/test_lpm6_perf.c | 0 {app => test}/test/test_lpm_perf.c | 0 {app => test}/test/test_malloc.c | 0 {app => test}/test/test_mbuf.c | 0 {app => test}/test/test_memcpy.c | 0 {app => test}/test/test_memcpy_perf.c | 0 {app => test}/test/test_memory.c | 0 {app => test}/test/test_mempool.c | 0 {app => test}/test/test_mempool_perf.c | 0 {app => test}/test/test_memzone.c | 0 {app => test}/test/test_meter.c | 0 {app => test}/test/test_mp_secondary.c | 0 {app => test}/test/test_pci.c | 0 .../bus/pci/devices/0000:01:00.0/class | 0 .../bus/pci/devices/0000:01:00.0/config | Bin .../0000:01:00.0/consistent_dma_mask_bits | 0 .../bus/pci/devices/0000:01:00.0/device | 0 .../pci/devices/0000:01:00.0/dma_mask_bits | 0 .../bus/pci/devices/0000:01:00.0/enable | 0 .../bus/pci/devices/0000:01:00.0/irq | 0 .../bus/pci/devices/0000:01:00.0/modalias | 0 .../bus/pci/devices/0000:01:00.0/msi_bus | 0 .../bus/pci/devices/0000:01:00.0/numa_node | 0 .../bus/pci/devices/0000:01:00.0/resource | 0 .../bus/pci/devices/0000:01:00.0/sriov_numvfs | 0 .../pci/devices/0000:01:00.0/sriov_totalvfs | 0 .../pci/devices/0000:01:00.0/subsystem_device | 0 .../pci/devices/0000:01:00.0/subsystem_vendor | 0 .../bus/pci/devices/0000:01:00.0/uevent | 0 .../bus/pci/devices/0000:01:00.0/vendor | 0 .../bus/pci/devices/0000:01:02.0/class | 0 .../bus/pci/devices/0000:01:02.0/device | 0 .../bus/pci/devices/0000:01:02.0/resource | 0 .../pci/devices/0000:01:02.0/subsystem_device | 0 .../pci/devices/0000:01:02.0/subsystem_vendor | 0 .../bus/pci/devices/0000:01:02.0/vendor | 0 .../bus/pci/devices/0000:02:ab.0/class | 0 .../bus/pci/devices/0000:02:ab.0/device | 0 .../bus/pci/devices/0000:02:ab.0/resource | 0 .../pci/devices/0000:02:ab.0/subsystem_device | 0 .../pci/devices/0000:02:ab.0/subsystem_vendor | 0 .../bus/pci/devices/0000:02:ab.0/vendor | 0 {app => test}/test/test_per_lcore.c | 0 {app => test}/test/test_pmd_perf.c | 0 {app => test}/test/test_pmd_ring.c | 0 {app => test}/test/test_pmd_ring_perf.c | 0 {app => test}/test/test_power.c | 0 {app => test}/test/test_power_acpi_cpufreq.c | 0 {app => test}/test/test_power_kvm_vm.c | 0 {app => test}/test/test_prefetch.c | 0 {app => test}/test/test_red.c | 0 {app => test}/test/test_reorder.c | 0 {app => test}/test/test_resource.c | 0 {app => test}/test/test_ring.c | 0 {app => test}/test/test_ring_perf.c | 0 {app => test}/test/test_rwlock.c | 0 {app => test}/test/test_sched.c | 0 {app => test}/test/test_spinlock.c | 0 {app => test}/test/test_string_fns.c | 0 {app => test}/test/test_table.c | 0 {app => test}/test/test_table.h | 0 {app => test}/test/test_table_acl.c | 0 {app => test}/test/test_table_acl.h | 0 {app => test}/test/test_table_combined.c | 0 {app => test}/test/test_table_combined.h | 0 {app => test}/test/test_table_pipeline.c | 0 {app => test}/test/test_table_pipeline.h | 0 {app => test}/test/test_table_ports.c | 0 {app => test}/test/test_table_ports.h | 0 {app => test}/test/test_table_tables.c | 0 {app => test}/test/test_table_tables.h | 0 {app => test}/test/test_tailq.c | 0 {app => test}/test/test_thash.c | 0 {app => test}/test/test_timer.c | 0 {app => test}/test/test_timer_perf.c | 0 {app => test}/test/test_timer_racecond.c | 0 {app => test}/test/test_version.c | 0 {app => test}/test/test_xmmt_ops.h | 0 {app => test}/test/virtual_pmd.c | 0 {app => test}/test/virtual_pmd.h | 0 175 files changed, 114 insertions(+), 77 deletions(-) create mode 100644 test/Makefile rename {app => test}/cmdline_test/Makefile (100%) rename {app => test}/cmdline_test/cmdline_test.c (100%) rename {app => test}/cmdline_test/cmdline_test.h (100%) rename {app => test}/cmdline_test/cmdline_test.py (100%) rename {app => test}/cmdline_test/cmdline_test_data.py (100%) rename {app => test}/cmdline_test/commands.c (100%) rename {app => test}/test-acl/Makefile (100%) rename {app => test}/test-acl/main.c (100%) rename {app => test}/test-pipeline/Makefile (100%) rename {app => test}/test-pipeline/config.c (100%) rename {app => test}/test-pipeline/init.c (100%) rename {app => test}/test-pipeline/main.c (100%) rename {app => test}/test-pipeline/main.h (100%) rename {app => test}/test-pipeline/pipeline_acl.c (100%) rename {app => test}/test-pipeline/pipeline_hash.c (100%) rename {app => test}/test-pipeline/pipeline_lpm.c (100%) rename {app => test}/test-pipeline/pipeline_lpm_ipv6.c (100%) rename {app => test}/test-pipeline/pipeline_stub.c (100%) rename {app => test}/test-pipeline/runtime.c (100%) rename {app => test}/test/Makefile (100%) rename {app => test}/test/autotest.py (100%) rename {app => test}/test/autotest_data.py (100%) rename {app => test}/test/autotest_runner.py (100%) rename {app => test}/test/autotest_test_funcs.py (100%) rename {app => test}/test/commands.c (100%) rename {app => test}/test/packet_burst_generator.c (100%) rename {app => test}/test/packet_burst_generator.h (100%) rename {app => test}/test/process.h (100%) rename {app => test}/test/resource.c (100%) rename {app => test}/test/resource.h (100%) rename {app => test}/test/test.c (100%) rename {app => test}/test/test.h (100%) rename {app => test}/test/test_acl.c (100%) rename {app => test}/test/test_acl.h (100%) rename {app => test}/test/test_alarm.c (100%) rename {app => test}/test/test_atomic.c (100%) rename {app => test}/test/test_byteorder.c (100%) rename {app => test}/test/test_cmdline.c (100%) rename {app => test}/test/test_cmdline.h (100%) rename {app => test}/test/test_cmdline_cirbuf.c (100%) rename {app => test}/test/test_cmdline_etheraddr.c (100%) rename {app => test}/test/test_cmdline_ipaddr.c (100%) rename {app => test}/test/test_cmdline_lib.c (100%) rename {app => test}/test/test_cmdline_num.c (100%) rename {app => test}/test/test_cmdline_portlist.c (100%) rename {app => test}/test/test_cmdline_string.c (100%) rename {app => test}/test/test_common.c (100%) rename {app => test}/test/test_cpuflags.c (100%) rename {app => test}/test/test_cryptodev.c (100%) rename {app => test}/test/test_cryptodev.h (100%) rename {app => test}/test/test_cryptodev_aes_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_blockcipher.c (100%) rename {app => test}/test/test_cryptodev_blockcipher.h (100%) rename {app => test}/test/test_cryptodev_des_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_gcm_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_hash_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_hmac_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_kasumi_hash_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_kasumi_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_perf.c (100%) rename {app => test}/test/test_cryptodev_snow3g_hash_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_snow3g_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_zuc_hash_test_vectors.h (100%) rename {app => test}/test/test_cryptodev_zuc_test_vectors.h (100%) rename {app => test}/test/test_cycles.c (100%) rename {app => test}/test/test_debug.c (100%) rename {app => test}/test/test_devargs.c (100%) rename {app => test}/test/test_distributor.c (100%) rename {app => test}/test/test_distributor_perf.c (100%) rename {app => test}/test/test_eal_flags.c (100%) rename {app => test}/test/test_eal_fs.c (100%) rename {app => test}/test/test_efd.c (100%) rename {app => test}/test/test_efd_perf.c (100%) rename {app => test}/test/test_errno.c (100%) rename {app => test}/test/test_func_reentrancy.c (100%) rename {app => test}/test/test_hash.c (100%) rename {app => test}/test/test_hash_functions.c (100%) rename {app => test}/test/test_hash_multiwriter.c (100%) rename {app => test}/test/test_hash_perf.c (100%) rename {app => test}/test/test_hash_scaling.c (100%) rename {app => test}/test/test_interrupts.c (100%) rename {app => test}/test/test_kni.c (100%) rename {app => test}/test/test_kvargs.c (100%) rename {app => test}/test/test_link_bonding.c (100%) rename {app => test}/test/test_link_bonding_mode4.c (100%) rename {app => test}/test/test_link_bonding_rssconf.c (100%) rename {app => test}/test/test_logs.c (100%) rename {app => test}/test/test_lpm.c (100%) rename {app => test}/test/test_lpm6.c (100%) rename {app => test}/test/test_lpm6_data.h (100%) rename {app => test}/test/test_lpm6_perf.c (100%) rename {app => test}/test/test_lpm_perf.c (100%) rename {app => test}/test/test_malloc.c (100%) rename {app => test}/test/test_mbuf.c (100%) rename {app => test}/test/test_memcpy.c (100%) rename {app => test}/test/test_memcpy_perf.c (100%) rename {app => test}/test/test_memory.c (100%) rename {app => test}/test/test_mempool.c (100%) rename {app => test}/test/test_mempool_perf.c (100%) rename {app => test}/test/test_memzone.c (100%) rename {app => test}/test/test_meter.c (100%) rename {app => test}/test/test_mp_secondary.c (100%) rename {app => test}/test/test_pci.c (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor (100%) rename {app => test}/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor (100%) rename {app => test}/test/test_per_lcore.c (100%) rename {app => test}/test/test_pmd_perf.c (100%) rename {app => test}/test/test_pmd_ring.c (100%) rename {app => test}/test/test_pmd_ring_perf.c (100%) rename {app => test}/test/test_power.c (100%) rename {app => test}/test/test_power_acpi_cpufreq.c (100%) rename {app => test}/test/test_power_kvm_vm.c (100%) rename {app => test}/test/test_prefetch.c (100%) rename {app => test}/test/test_red.c (100%) rename {app => test}/test/test_reorder.c (100%) rename {app => test}/test/test_resource.c (100%) rename {app => test}/test/test_ring.c (100%) rename {app => test}/test/test_ring_perf.c (100%) rename {app => test}/test/test_rwlock.c (100%) rename {app => test}/test/test_sched.c (100%) rename {app => test}/test/test_spinlock.c (100%) rename {app => test}/test/test_string_fns.c (100%) rename {app => test}/test/test_table.c (100%) rename {app => test}/test/test_table.h (100%) rename {app => test}/test/test_table_acl.c (100%) rename {app => test}/test/test_table_acl.h (100%) rename {app => test}/test/test_table_combined.c (100%) rename {app => test}/test/test_table_combined.h (100%) rename {app => test}/test/test_table_pipeline.c (100%) rename {app => test}/test/test_table_pipeline.h (100%) rename {app => test}/test/test_table_ports.c (100%) rename {app => test}/test/test_table_ports.h (100%) rename {app => test}/test/test_table_tables.c (100%) rename {app => test}/test/test_table_tables.h (100%) rename {app => test}/test/test_tailq.c (100%) rename {app => test}/test/test_thash.c (100%) rename {app => test}/test/test_timer.c (100%) rename {app => test}/test/test_timer_perf.c (100%) rename {app => test}/test/test_timer_racecond.c (100%) rename {app => test}/test/test_version.c (100%) rename {app => test}/test/test_xmmt_ops.h (100%) rename {app => test}/test/virtual_pmd.c (100%) rename {app => test}/test/virtual_pmd.h (100%) diff --git a/GNUmakefile b/GNUmakefile index 00fe0db713..b1a5b761ab 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,6 +40,6 @@ export RTE_SDK # directory list # -ROOTDIRS-y := buildtools lib drivers app +ROOTDIRS-y := buildtools lib drivers app test include $(RTE_SDK)/mk/rte.sdkroot.mk diff --git a/MAINTAINERS b/MAINTAINERS index 24e0effe91..5030c1c113 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -87,28 +87,28 @@ F: lib/librte_eal/common/* F: lib/librte_eal/common/include/* F: lib/librte_eal/common/include/generic/ F: doc/guides/prog_guide/env_abstraction_layer.rst -F: app/test/test_alarm.c -F: app/test/test_atomic.c -F: app/test/test_byteorder.c -F: app/test/test_common.c -F: app/test/test_cpuflags.c -F: app/test/test_cycles.c -F: app/test/test_debug.c -F: app/test/test_devargs.c -F: app/test/test_eal* -F: app/test/test_errno.c -F: app/test/test_interrupts.c -F: app/test/test_logs.c -F: app/test/test_memcpy* -F: app/test/test_pci.c -F: app/test/test_pci_sysfs/ -F: app/test/test_per_lcore.c -F: app/test/test_prefetch.c -F: app/test/test_rwlock.c -F: app/test/test_spinlock.c -F: app/test/test_string_fns.c -F: app/test/test_tailq.c -F: app/test/test_version.c +F: test/test/test_alarm.c +F: test/test/test_atomic.c +F: test/test/test_byteorder.c +F: test/test/test_common.c +F: test/test/test_cpuflags.c +F: test/test/test_cycles.c +F: test/test/test_debug.c +F: test/test/test_devargs.c +F: test/test/test_eal* +F: test/test/test_errno.c +F: test/test/test_interrupts.c +F: test/test/test_logs.c +F: test/test/test_memcpy* +F: test/test/test_pci.c +F: test/test/test_pci_sysfs/ +F: test/test/test_per_lcore.c +F: test/test/test_prefetch.c +F: test/test/test_rwlock.c +F: test/test/test_spinlock.c +F: test/test/test_string_fns.c +F: test/test/test_tailq.c +F: test/test/test_version.c Memory Allocation M: Sergio Gonzalez Monroy @@ -118,10 +118,10 @@ F: lib/librte_eal/common/*malloc* F: lib/librte_eal/common/eal_common_mem* F: lib/librte_eal/common/eal_hugepages.h F: doc/guides/prog_guide/env_abstraction_layer.rst -F: app/test/test_func_reentrancy.c -F: app/test/test_malloc.c -F: app/test/test_memory.c -F: app/test/test_memzone.c +F: test/test/test_func_reentrancy.c +F: test/test/test_malloc.c +F: test/test/test_memory.c +F: test/test/test_memzone.c Keep alive M: Remy Horton @@ -134,7 +134,7 @@ Secondary process M: Sergio Gonzalez Monroy K: RTE_PROC_ F: doc/guides/prog_guide/multi_proc_support.rst -F: app/test/test_mp_secondary.c +F: test/test/test_mp_secondary.c F: examples/multi_process/ F: doc/guides/sample_app_ug/multi_process.rst @@ -222,21 +222,21 @@ Memory pool M: Olivier Matz F: lib/librte_mempool/ F: doc/guides/prog_guide/mempool_lib.rst -F: app/test/test_mempool* -F: app/test/test_func_reentrancy.c +F: test/test/test_mempool* +F: test/test/test_func_reentrancy.c Ring queue M: Olivier Matz F: lib/librte_ring/ F: doc/guides/prog_guide/ring_lib.rst -F: app/test/test_ring* -F: app/test/test_func_reentrancy.c +F: test/test/test_ring* +F: test/test/test_func_reentrancy.c Packet buffer M: Olivier Matz F: lib/librte_mbuf/ F: doc/guides/prog_guide/mbuf_lib.rst -F: app/test/test_mbuf.c +F: test/test/test_mbuf.c Ethernet API M: Thomas Monjalon @@ -250,7 +250,7 @@ F: lib/librte_ether/rte_flow* Crypto API M: Declan Doherty F: lib/librte_cryptodev/ -F: app/test/test_cryptodev* +F: test/test/test_cryptodev* F: examples/l2fwd-crypto/ @@ -263,7 +263,7 @@ Link bonding M: Declan Doherty F: drivers/net/bonding/ F: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst -F: app/test/test_link_bonding* +F: test/test/test_link_bonding* F: examples/bond/ Linux KNI @@ -271,7 +271,7 @@ M: Ferruh Yigit F: lib/librte_eal/linuxapp/kni/ F: lib/librte_kni/ F: doc/guides/prog_guide/kernel_nic_interface.rst -F: app/test/test_kni.c +F: test/test/test_kni.c F: examples/kni/ F: doc/guides/sample_app_ug/kernel_nic_interface.rst @@ -416,8 +416,8 @@ Ring PMD M: Bruce Richardson F: drivers/net/ring/ F: doc/guides/nics/pcap_ring.rst -F: app/test/test_pmd_ring.c -F: app/test/test_pmd_ring_perf.c +F: test/test/test_pmd_ring.c +F: test/test/test_pmd_ring_perf.c Null Networking PMD M: Tetsuya Mukawa @@ -503,7 +503,7 @@ Distributor M: Bruce Richardson F: lib/librte_distributor/ F: doc/guides/prog_guide/packet_distrib_lib.rst -F: app/test/test_distributor* +F: test/test/test_distributor* F: examples/distributor/ F: doc/guides/sample_app_ug/dist_app.rst @@ -511,7 +511,7 @@ Reorder M: Reshma Pattan F: lib/librte_reorder/ F: doc/guides/prog_guide/reorder_lib.rst -F: app/test/test_reorder* +F: test/test/test_reorder* F: examples/packet_ordering/ F: doc/guides/sample_app_ug/packet_ordering.rst @@ -519,8 +519,8 @@ Hierarchical scheduler M: Cristian Dumitrescu F: lib/librte_sched/ F: doc/guides/prog_guide/qos_framework.rst -F: app/test/test_red.c -F: app/test/test_sched.c +F: test/test/test_red.c +F: test/test/test_sched.c F: examples/qos_sched/ F: doc/guides/sample_app_ug/qos_scheduler.rst @@ -539,8 +539,8 @@ F: lib/librte_pipeline/ F: lib/librte_port/ F: lib/librte_table/ F: doc/guides/prog_guide/packet_framework.rst -F: app/test/test_table* -F: app/test-pipeline/ +F: test/test/test_table* +F: test/test-pipeline/ F: doc/guides/sample_app_ug/test_pipeline.rst F: examples/ip_pipeline/ F: doc/guides/sample_app_ug/ip_pipeline.rst @@ -553,8 +553,8 @@ ACL M: Konstantin Ananyev F: lib/librte_acl/ F: doc/guides/prog_guide/packet_classif_access_ctrl.rst -F: app/test-acl/ -F: app/test/test_acl.* +F: test/test-acl/ +F: test/test/test_acl.* F: examples/l3fwd-acl/ F: doc/guides/sample_app_ug/l3_forward_access_ctrl.rst @@ -563,7 +563,7 @@ M: Byron Marohn M: Pablo de Lara Guarch F: lib/librte_efd/ F: doc/guides/prog_guide/efd_lib.rst -F: app/test/test_efd* +F: test/test/test_efd* F: examples/server_node_efd/ F: doc/guides/sample_app_ug/server_node_efd.rst @@ -572,22 +572,22 @@ M: Bruce Richardson M: Pablo de Lara F: lib/librte_hash/ F: doc/guides/prog_guide/hash_lib.rst -F: app/test/test_*hash* -F: app/test/test_func_reentrancy.c +F: test/test/test_*hash* +F: test/test/test_func_reentrancy.c LPM M: Bruce Richardson F: lib/librte_lpm/ F: doc/guides/prog_guide/lpm* -F: app/test/test_lpm* -F: app/test/test_func_reentrancy.c -F: app/test/test_xmmt_ops.h +F: test/test/test_lpm* +F: test/test/test_func_reentrancy.c +F: test/test/test_xmmt_ops.h Traffic metering M: Cristian Dumitrescu F: lib/librte_meter/ F: doc/guides/sample_app_ug/qos_scheduler.rst -F: app/test/test_meter.c +F: test/test/test_meter.c F: examples/qos_meter/ F: doc/guides/sample_app_ug/qos_metering.rst @@ -602,20 +602,20 @@ F: lib/librte_cfgfile/ Interactive command line M: Olivier Matz F: lib/librte_cmdline/ -F: app/cmdline_test/ -F: app/test/test_cmdline* +F: test/cmdline_test/ +F: test/test/test_cmdline* F: examples/cmdline/ F: doc/guides/sample_app_ug/cmd_line.rst Key/Value parsing M: Olivier Matz F: lib/librte_kvargs/ -F: app/test/test_kvargs.c +F: test/test/test_kvargs.c Power management F: lib/librte_power/ F: doc/guides/prog_guide/power_man.rst -F: app/test/test_power* +F: test/test/test_power* F: examples/l3fwd-power/ F: doc/guides/sample_app_ug/l3_forward_power_man.rst F: examples/vm_power_manager/ @@ -625,7 +625,7 @@ Timers M: Robert Sanford F: lib/librte_timer/ F: doc/guides/prog_guide/timer_lib.rst -F: app/test/test_timer* +F: test/test/test_timer* F: examples/timer/ F: doc/guides/sample_app_ug/timer.rst @@ -640,18 +640,20 @@ Test Applications ----------------- Unit tests framework -F: app/test/autotest* -F: app/test/commands.c -F: app/test/packet_burst_generator.c -F: app/test/packet_burst_generator.h -F: app/test/process.h -F: app/test/resource.* -F: app/test/test.c -F: app/test/test.h -F: app/test/test_pmd_perf.c -F: app/test/test_resource.c -F: app/test/virtual_pmd.c -F: app/test/virtual_pmd.h +F: test/Makefile +F: test/test/Makefile +F: test/test/autotest* +F: test/test/commands.c +F: test/test/packet_burst_generator.c +F: test/test/packet_burst_generator.h +F: test/test/process.h +F: test/test/resource.* +F: test/test/test.c +F: test/test/test.h +F: test/test/test_pmd_perf.c +F: test/test/test_resource.c +F: test/test/virtual_pmd.c +F: test/test/virtual_pmd.h Driver testing tool M: Jingjing Wu diff --git a/app/Makefile b/app/Makefile index 1a974a57da..4b3a4487e0 100644 --- a/app/Makefile +++ b/app/Makefile @@ -31,12 +31,8 @@ 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 DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf -DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump diff --git a/mk/rte.sdktest.mk b/mk/rte.sdktest.mk index ddbbbf6b24..1cdb40ba52 100644 --- a/mk/rte.sdktest.mk +++ b/mk/rte.sdktest.mk @@ -57,7 +57,7 @@ test fast_test perf_test: @mkdir -p $(AUTOTEST_DIR) ; \ cd $(AUTOTEST_DIR) ; \ if [ -f $(RTE_OUTPUT)/app/test ]; then \ - python $(RTE_SDK)/app/test/autotest.py \ + python $(RTE_SDK)/test/test/autotest.py \ $(RTE_OUTPUT)/app/test \ $(RTE_TARGET) \ $(BLACKLIST) $(WHITELIST); \ @@ -71,10 +71,10 @@ coverage: @mkdir -p $(AUTOTEST_DIR) ; \ cd $(AUTOTEST_DIR) ; \ if [ -f $(RTE_OUTPUT)/app/test ]; then \ - python $(RTE_SDK)/app/cmdline_test/cmdline_test.py \ + python $(RTE_SDK)/test/cmdline_test/cmdline_test.py \ $(RTE_OUTPUT)/app/cmdline_test; \ ulimit -S -n 100 ; \ - python $(RTE_SDK)/app/test/autotest.py \ + python $(RTE_SDK)/test/test/autotest.py \ $(RTE_OUTPUT)/app/test \ $(RTE_TARGET) \ $(BLACKLIST) $(WHITELIST) ; \ diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000000..e996fd8cf1 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,39 @@ +# BSD LICENSE +# +# Copyright(c) 2017 Intel Corporation. All rights reserved. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Intel Corporation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +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 +DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test + +include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/app/cmdline_test/Makefile b/test/cmdline_test/Makefile similarity index 100% rename from app/cmdline_test/Makefile rename to test/cmdline_test/Makefile diff --git a/app/cmdline_test/cmdline_test.c b/test/cmdline_test/cmdline_test.c similarity index 100% rename from app/cmdline_test/cmdline_test.c rename to test/cmdline_test/cmdline_test.c diff --git a/app/cmdline_test/cmdline_test.h b/test/cmdline_test/cmdline_test.h similarity index 100% rename from app/cmdline_test/cmdline_test.h rename to test/cmdline_test/cmdline_test.h diff --git a/app/cmdline_test/cmdline_test.py b/test/cmdline_test/cmdline_test.py similarity index 100% rename from app/cmdline_test/cmdline_test.py rename to test/cmdline_test/cmdline_test.py diff --git a/app/cmdline_test/cmdline_test_data.py b/test/cmdline_test/cmdline_test_data.py similarity index 100% rename from app/cmdline_test/cmdline_test_data.py rename to test/cmdline_test/cmdline_test_data.py diff --git a/app/cmdline_test/commands.c b/test/cmdline_test/commands.c similarity index 100% rename from app/cmdline_test/commands.c rename to test/cmdline_test/commands.c diff --git a/app/test-acl/Makefile b/test/test-acl/Makefile similarity index 100% rename from app/test-acl/Makefile rename to test/test-acl/Makefile diff --git a/app/test-acl/main.c b/test/test-acl/main.c similarity index 100% rename from app/test-acl/main.c rename to test/test-acl/main.c diff --git a/app/test-pipeline/Makefile b/test/test-pipeline/Makefile similarity index 100% rename from app/test-pipeline/Makefile rename to test/test-pipeline/Makefile diff --git a/app/test-pipeline/config.c b/test/test-pipeline/config.c similarity index 100% rename from app/test-pipeline/config.c rename to test/test-pipeline/config.c diff --git a/app/test-pipeline/init.c b/test/test-pipeline/init.c similarity index 100% rename from app/test-pipeline/init.c rename to test/test-pipeline/init.c diff --git a/app/test-pipeline/main.c b/test/test-pipeline/main.c similarity index 100% rename from app/test-pipeline/main.c rename to test/test-pipeline/main.c diff --git a/app/test-pipeline/main.h b/test/test-pipeline/main.h similarity index 100% rename from app/test-pipeline/main.h rename to test/test-pipeline/main.h diff --git a/app/test-pipeline/pipeline_acl.c b/test/test-pipeline/pipeline_acl.c similarity index 100% rename from app/test-pipeline/pipeline_acl.c rename to test/test-pipeline/pipeline_acl.c diff --git a/app/test-pipeline/pipeline_hash.c b/test/test-pipeline/pipeline_hash.c similarity index 100% rename from app/test-pipeline/pipeline_hash.c rename to test/test-pipeline/pipeline_hash.c diff --git a/app/test-pipeline/pipeline_lpm.c b/test/test-pipeline/pipeline_lpm.c similarity index 100% rename from app/test-pipeline/pipeline_lpm.c rename to test/test-pipeline/pipeline_lpm.c diff --git a/app/test-pipeline/pipeline_lpm_ipv6.c b/test/test-pipeline/pipeline_lpm_ipv6.c similarity index 100% rename from app/test-pipeline/pipeline_lpm_ipv6.c rename to test/test-pipeline/pipeline_lpm_ipv6.c diff --git a/app/test-pipeline/pipeline_stub.c b/test/test-pipeline/pipeline_stub.c similarity index 100% rename from app/test-pipeline/pipeline_stub.c rename to test/test-pipeline/pipeline_stub.c diff --git a/app/test-pipeline/runtime.c b/test/test-pipeline/runtime.c similarity index 100% rename from app/test-pipeline/runtime.c rename to test/test-pipeline/runtime.c diff --git a/app/test/Makefile b/test/test/Makefile similarity index 100% rename from app/test/Makefile rename to test/test/Makefile diff --git a/app/test/autotest.py b/test/test/autotest.py similarity index 100% rename from app/test/autotest.py rename to test/test/autotest.py diff --git a/app/test/autotest_data.py b/test/test/autotest_data.py similarity index 100% rename from app/test/autotest_data.py rename to test/test/autotest_data.py diff --git a/app/test/autotest_runner.py b/test/test/autotest_runner.py similarity index 100% rename from app/test/autotest_runner.py rename to test/test/autotest_runner.py diff --git a/app/test/autotest_test_funcs.py b/test/test/autotest_test_funcs.py similarity index 100% rename from app/test/autotest_test_funcs.py rename to test/test/autotest_test_funcs.py diff --git a/app/test/commands.c b/test/test/commands.c similarity index 100% rename from app/test/commands.c rename to test/test/commands.c diff --git a/app/test/packet_burst_generator.c b/test/test/packet_burst_generator.c similarity index 100% rename from app/test/packet_burst_generator.c rename to test/test/packet_burst_generator.c diff --git a/app/test/packet_burst_generator.h b/test/test/packet_burst_generator.h similarity index 100% rename from app/test/packet_burst_generator.h rename to test/test/packet_burst_generator.h diff --git a/app/test/process.h b/test/test/process.h similarity index 100% rename from app/test/process.h rename to test/test/process.h diff --git a/app/test/resource.c b/test/test/resource.c similarity index 100% rename from app/test/resource.c rename to test/test/resource.c diff --git a/app/test/resource.h b/test/test/resource.h similarity index 100% rename from app/test/resource.h rename to test/test/resource.h diff --git a/app/test/test.c b/test/test/test.c similarity index 100% rename from app/test/test.c rename to test/test/test.c diff --git a/app/test/test.h b/test/test/test.h similarity index 100% rename from app/test/test.h rename to test/test/test.h diff --git a/app/test/test_acl.c b/test/test/test_acl.c similarity index 100% rename from app/test/test_acl.c rename to test/test/test_acl.c diff --git a/app/test/test_acl.h b/test/test/test_acl.h similarity index 100% rename from app/test/test_acl.h rename to test/test/test_acl.h diff --git a/app/test/test_alarm.c b/test/test/test_alarm.c similarity index 100% rename from app/test/test_alarm.c rename to test/test/test_alarm.c diff --git a/app/test/test_atomic.c b/test/test/test_atomic.c similarity index 100% rename from app/test/test_atomic.c rename to test/test/test_atomic.c diff --git a/app/test/test_byteorder.c b/test/test/test_byteorder.c similarity index 100% rename from app/test/test_byteorder.c rename to test/test/test_byteorder.c diff --git a/app/test/test_cmdline.c b/test/test/test_cmdline.c similarity index 100% rename from app/test/test_cmdline.c rename to test/test/test_cmdline.c diff --git a/app/test/test_cmdline.h b/test/test/test_cmdline.h similarity index 100% rename from app/test/test_cmdline.h rename to test/test/test_cmdline.h diff --git a/app/test/test_cmdline_cirbuf.c b/test/test/test_cmdline_cirbuf.c similarity index 100% rename from app/test/test_cmdline_cirbuf.c rename to test/test/test_cmdline_cirbuf.c diff --git a/app/test/test_cmdline_etheraddr.c b/test/test/test_cmdline_etheraddr.c similarity index 100% rename from app/test/test_cmdline_etheraddr.c rename to test/test/test_cmdline_etheraddr.c diff --git a/app/test/test_cmdline_ipaddr.c b/test/test/test_cmdline_ipaddr.c similarity index 100% rename from app/test/test_cmdline_ipaddr.c rename to test/test/test_cmdline_ipaddr.c diff --git a/app/test/test_cmdline_lib.c b/test/test/test_cmdline_lib.c similarity index 100% rename from app/test/test_cmdline_lib.c rename to test/test/test_cmdline_lib.c diff --git a/app/test/test_cmdline_num.c b/test/test/test_cmdline_num.c similarity index 100% rename from app/test/test_cmdline_num.c rename to test/test/test_cmdline_num.c diff --git a/app/test/test_cmdline_portlist.c b/test/test/test_cmdline_portlist.c similarity index 100% rename from app/test/test_cmdline_portlist.c rename to test/test/test_cmdline_portlist.c diff --git a/app/test/test_cmdline_string.c b/test/test/test_cmdline_string.c similarity index 100% rename from app/test/test_cmdline_string.c rename to test/test/test_cmdline_string.c diff --git a/app/test/test_common.c b/test/test/test_common.c similarity index 100% rename from app/test/test_common.c rename to test/test/test_common.c diff --git a/app/test/test_cpuflags.c b/test/test/test_cpuflags.c similarity index 100% rename from app/test/test_cpuflags.c rename to test/test/test_cpuflags.c diff --git a/app/test/test_cryptodev.c b/test/test/test_cryptodev.c similarity index 100% rename from app/test/test_cryptodev.c rename to test/test/test_cryptodev.c diff --git a/app/test/test_cryptodev.h b/test/test/test_cryptodev.h similarity index 100% rename from app/test/test_cryptodev.h rename to test/test/test_cryptodev.h diff --git a/app/test/test_cryptodev_aes_test_vectors.h b/test/test/test_cryptodev_aes_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_aes_test_vectors.h rename to test/test/test_cryptodev_aes_test_vectors.h diff --git a/app/test/test_cryptodev_blockcipher.c b/test/test/test_cryptodev_blockcipher.c similarity index 100% rename from app/test/test_cryptodev_blockcipher.c rename to test/test/test_cryptodev_blockcipher.c diff --git a/app/test/test_cryptodev_blockcipher.h b/test/test/test_cryptodev_blockcipher.h similarity index 100% rename from app/test/test_cryptodev_blockcipher.h rename to test/test/test_cryptodev_blockcipher.h diff --git a/app/test/test_cryptodev_des_test_vectors.h b/test/test/test_cryptodev_des_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_des_test_vectors.h rename to test/test/test_cryptodev_des_test_vectors.h diff --git a/app/test/test_cryptodev_gcm_test_vectors.h b/test/test/test_cryptodev_gcm_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_gcm_test_vectors.h rename to test/test/test_cryptodev_gcm_test_vectors.h diff --git a/app/test/test_cryptodev_hash_test_vectors.h b/test/test/test_cryptodev_hash_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_hash_test_vectors.h rename to test/test/test_cryptodev_hash_test_vectors.h diff --git a/app/test/test_cryptodev_hmac_test_vectors.h b/test/test/test_cryptodev_hmac_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_hmac_test_vectors.h rename to test/test/test_cryptodev_hmac_test_vectors.h diff --git a/app/test/test_cryptodev_kasumi_hash_test_vectors.h b/test/test/test_cryptodev_kasumi_hash_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_kasumi_hash_test_vectors.h rename to test/test/test_cryptodev_kasumi_hash_test_vectors.h diff --git a/app/test/test_cryptodev_kasumi_test_vectors.h b/test/test/test_cryptodev_kasumi_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_kasumi_test_vectors.h rename to test/test/test_cryptodev_kasumi_test_vectors.h diff --git a/app/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c similarity index 100% rename from app/test/test_cryptodev_perf.c rename to test/test/test_cryptodev_perf.c diff --git a/app/test/test_cryptodev_snow3g_hash_test_vectors.h b/test/test/test_cryptodev_snow3g_hash_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_snow3g_hash_test_vectors.h rename to test/test/test_cryptodev_snow3g_hash_test_vectors.h diff --git a/app/test/test_cryptodev_snow3g_test_vectors.h b/test/test/test_cryptodev_snow3g_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_snow3g_test_vectors.h rename to test/test/test_cryptodev_snow3g_test_vectors.h diff --git a/app/test/test_cryptodev_zuc_hash_test_vectors.h b/test/test/test_cryptodev_zuc_hash_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_zuc_hash_test_vectors.h rename to test/test/test_cryptodev_zuc_hash_test_vectors.h diff --git a/app/test/test_cryptodev_zuc_test_vectors.h b/test/test/test_cryptodev_zuc_test_vectors.h similarity index 100% rename from app/test/test_cryptodev_zuc_test_vectors.h rename to test/test/test_cryptodev_zuc_test_vectors.h diff --git a/app/test/test_cycles.c b/test/test/test_cycles.c similarity index 100% rename from app/test/test_cycles.c rename to test/test/test_cycles.c diff --git a/app/test/test_debug.c b/test/test/test_debug.c similarity index 100% rename from app/test/test_debug.c rename to test/test/test_debug.c diff --git a/app/test/test_devargs.c b/test/test/test_devargs.c similarity index 100% rename from app/test/test_devargs.c rename to test/test/test_devargs.c diff --git a/app/test/test_distributor.c b/test/test/test_distributor.c similarity index 100% rename from app/test/test_distributor.c rename to test/test/test_distributor.c diff --git a/app/test/test_distributor_perf.c b/test/test/test_distributor_perf.c similarity index 100% rename from app/test/test_distributor_perf.c rename to test/test/test_distributor_perf.c diff --git a/app/test/test_eal_flags.c b/test/test/test_eal_flags.c similarity index 100% rename from app/test/test_eal_flags.c rename to test/test/test_eal_flags.c diff --git a/app/test/test_eal_fs.c b/test/test/test_eal_fs.c similarity index 100% rename from app/test/test_eal_fs.c rename to test/test/test_eal_fs.c diff --git a/app/test/test_efd.c b/test/test/test_efd.c similarity index 100% rename from app/test/test_efd.c rename to test/test/test_efd.c diff --git a/app/test/test_efd_perf.c b/test/test/test_efd_perf.c similarity index 100% rename from app/test/test_efd_perf.c rename to test/test/test_efd_perf.c diff --git a/app/test/test_errno.c b/test/test/test_errno.c similarity index 100% rename from app/test/test_errno.c rename to test/test/test_errno.c diff --git a/app/test/test_func_reentrancy.c b/test/test/test_func_reentrancy.c similarity index 100% rename from app/test/test_func_reentrancy.c rename to test/test/test_func_reentrancy.c diff --git a/app/test/test_hash.c b/test/test/test_hash.c similarity index 100% rename from app/test/test_hash.c rename to test/test/test_hash.c diff --git a/app/test/test_hash_functions.c b/test/test/test_hash_functions.c similarity index 100% rename from app/test/test_hash_functions.c rename to test/test/test_hash_functions.c diff --git a/app/test/test_hash_multiwriter.c b/test/test/test_hash_multiwriter.c similarity index 100% rename from app/test/test_hash_multiwriter.c rename to test/test/test_hash_multiwriter.c diff --git a/app/test/test_hash_perf.c b/test/test/test_hash_perf.c similarity index 100% rename from app/test/test_hash_perf.c rename to test/test/test_hash_perf.c diff --git a/app/test/test_hash_scaling.c b/test/test/test_hash_scaling.c similarity index 100% rename from app/test/test_hash_scaling.c rename to test/test/test_hash_scaling.c diff --git a/app/test/test_interrupts.c b/test/test/test_interrupts.c similarity index 100% rename from app/test/test_interrupts.c rename to test/test/test_interrupts.c diff --git a/app/test/test_kni.c b/test/test/test_kni.c similarity index 100% rename from app/test/test_kni.c rename to test/test/test_kni.c diff --git a/app/test/test_kvargs.c b/test/test/test_kvargs.c similarity index 100% rename from app/test/test_kvargs.c rename to test/test/test_kvargs.c diff --git a/app/test/test_link_bonding.c b/test/test/test_link_bonding.c similarity index 100% rename from app/test/test_link_bonding.c rename to test/test/test_link_bonding.c diff --git a/app/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c similarity index 100% rename from app/test/test_link_bonding_mode4.c rename to test/test/test_link_bonding_mode4.c diff --git a/app/test/test_link_bonding_rssconf.c b/test/test/test_link_bonding_rssconf.c similarity index 100% rename from app/test/test_link_bonding_rssconf.c rename to test/test/test_link_bonding_rssconf.c diff --git a/app/test/test_logs.c b/test/test/test_logs.c similarity index 100% rename from app/test/test_logs.c rename to test/test/test_logs.c diff --git a/app/test/test_lpm.c b/test/test/test_lpm.c similarity index 100% rename from app/test/test_lpm.c rename to test/test/test_lpm.c diff --git a/app/test/test_lpm6.c b/test/test/test_lpm6.c similarity index 100% rename from app/test/test_lpm6.c rename to test/test/test_lpm6.c diff --git a/app/test/test_lpm6_data.h b/test/test/test_lpm6_data.h similarity index 100% rename from app/test/test_lpm6_data.h rename to test/test/test_lpm6_data.h diff --git a/app/test/test_lpm6_perf.c b/test/test/test_lpm6_perf.c similarity index 100% rename from app/test/test_lpm6_perf.c rename to test/test/test_lpm6_perf.c diff --git a/app/test/test_lpm_perf.c b/test/test/test_lpm_perf.c similarity index 100% rename from app/test/test_lpm_perf.c rename to test/test/test_lpm_perf.c diff --git a/app/test/test_malloc.c b/test/test/test_malloc.c similarity index 100% rename from app/test/test_malloc.c rename to test/test/test_malloc.c diff --git a/app/test/test_mbuf.c b/test/test/test_mbuf.c similarity index 100% rename from app/test/test_mbuf.c rename to test/test/test_mbuf.c diff --git a/app/test/test_memcpy.c b/test/test/test_memcpy.c similarity index 100% rename from app/test/test_memcpy.c rename to test/test/test_memcpy.c diff --git a/app/test/test_memcpy_perf.c b/test/test/test_memcpy_perf.c similarity index 100% rename from app/test/test_memcpy_perf.c rename to test/test/test_memcpy_perf.c diff --git a/app/test/test_memory.c b/test/test/test_memory.c similarity index 100% rename from app/test/test_memory.c rename to test/test/test_memory.c diff --git a/app/test/test_mempool.c b/test/test/test_mempool.c similarity index 100% rename from app/test/test_mempool.c rename to test/test/test_mempool.c diff --git a/app/test/test_mempool_perf.c b/test/test/test_mempool_perf.c similarity index 100% rename from app/test/test_mempool_perf.c rename to test/test/test_mempool_perf.c diff --git a/app/test/test_memzone.c b/test/test/test_memzone.c similarity index 100% rename from app/test/test_memzone.c rename to test/test/test_memzone.c diff --git a/app/test/test_meter.c b/test/test/test_meter.c similarity index 100% rename from app/test/test_meter.c rename to test/test/test_meter.c diff --git a/app/test/test_mp_secondary.c b/test/test/test_mp_secondary.c similarity index 100% rename from app/test/test_mp_secondary.c rename to test/test/test_mp_secondary.c diff --git a/app/test/test_pci.c b/test/test/test_pci.c similarity index 100% rename from app/test/test_pci.c rename to test/test/test_pci.c diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor diff --git a/app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor b/test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor similarity index 100% rename from app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor rename to test/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor diff --git a/app/test/test_per_lcore.c b/test/test/test_per_lcore.c similarity index 100% rename from app/test/test_per_lcore.c rename to test/test/test_per_lcore.c diff --git a/app/test/test_pmd_perf.c b/test/test/test_pmd_perf.c similarity index 100% rename from app/test/test_pmd_perf.c rename to test/test/test_pmd_perf.c diff --git a/app/test/test_pmd_ring.c b/test/test/test_pmd_ring.c similarity index 100% rename from app/test/test_pmd_ring.c rename to test/test/test_pmd_ring.c diff --git a/app/test/test_pmd_ring_perf.c b/test/test/test_pmd_ring_perf.c similarity index 100% rename from app/test/test_pmd_ring_perf.c rename to test/test/test_pmd_ring_perf.c diff --git a/app/test/test_power.c b/test/test/test_power.c similarity index 100% rename from app/test/test_power.c rename to test/test/test_power.c diff --git a/app/test/test_power_acpi_cpufreq.c b/test/test/test_power_acpi_cpufreq.c similarity index 100% rename from app/test/test_power_acpi_cpufreq.c rename to test/test/test_power_acpi_cpufreq.c diff --git a/app/test/test_power_kvm_vm.c b/test/test/test_power_kvm_vm.c similarity index 100% rename from app/test/test_power_kvm_vm.c rename to test/test/test_power_kvm_vm.c diff --git a/app/test/test_prefetch.c b/test/test/test_prefetch.c similarity index 100% rename from app/test/test_prefetch.c rename to test/test/test_prefetch.c diff --git a/app/test/test_red.c b/test/test/test_red.c similarity index 100% rename from app/test/test_red.c rename to test/test/test_red.c diff --git a/app/test/test_reorder.c b/test/test/test_reorder.c similarity index 100% rename from app/test/test_reorder.c rename to test/test/test_reorder.c diff --git a/app/test/test_resource.c b/test/test/test_resource.c similarity index 100% rename from app/test/test_resource.c rename to test/test/test_resource.c diff --git a/app/test/test_ring.c b/test/test/test_ring.c similarity index 100% rename from app/test/test_ring.c rename to test/test/test_ring.c diff --git a/app/test/test_ring_perf.c b/test/test/test_ring_perf.c similarity index 100% rename from app/test/test_ring_perf.c rename to test/test/test_ring_perf.c diff --git a/app/test/test_rwlock.c b/test/test/test_rwlock.c similarity index 100% rename from app/test/test_rwlock.c rename to test/test/test_rwlock.c diff --git a/app/test/test_sched.c b/test/test/test_sched.c similarity index 100% rename from app/test/test_sched.c rename to test/test/test_sched.c diff --git a/app/test/test_spinlock.c b/test/test/test_spinlock.c similarity index 100% rename from app/test/test_spinlock.c rename to test/test/test_spinlock.c diff --git a/app/test/test_string_fns.c b/test/test/test_string_fns.c similarity index 100% rename from app/test/test_string_fns.c rename to test/test/test_string_fns.c diff --git a/app/test/test_table.c b/test/test/test_table.c similarity index 100% rename from app/test/test_table.c rename to test/test/test_table.c diff --git a/app/test/test_table.h b/test/test/test_table.h similarity index 100% rename from app/test/test_table.h rename to test/test/test_table.h diff --git a/app/test/test_table_acl.c b/test/test/test_table_acl.c similarity index 100% rename from app/test/test_table_acl.c rename to test/test/test_table_acl.c diff --git a/app/test/test_table_acl.h b/test/test/test_table_acl.h similarity index 100% rename from app/test/test_table_acl.h rename to test/test/test_table_acl.h diff --git a/app/test/test_table_combined.c b/test/test/test_table_combined.c similarity index 100% rename from app/test/test_table_combined.c rename to test/test/test_table_combined.c diff --git a/app/test/test_table_combined.h b/test/test/test_table_combined.h similarity index 100% rename from app/test/test_table_combined.h rename to test/test/test_table_combined.h diff --git a/app/test/test_table_pipeline.c b/test/test/test_table_pipeline.c similarity index 100% rename from app/test/test_table_pipeline.c rename to test/test/test_table_pipeline.c diff --git a/app/test/test_table_pipeline.h b/test/test/test_table_pipeline.h similarity index 100% rename from app/test/test_table_pipeline.h rename to test/test/test_table_pipeline.h diff --git a/app/test/test_table_ports.c b/test/test/test_table_ports.c similarity index 100% rename from app/test/test_table_ports.c rename to test/test/test_table_ports.c diff --git a/app/test/test_table_ports.h b/test/test/test_table_ports.h similarity index 100% rename from app/test/test_table_ports.h rename to test/test/test_table_ports.h diff --git a/app/test/test_table_tables.c b/test/test/test_table_tables.c similarity index 100% rename from app/test/test_table_tables.c rename to test/test/test_table_tables.c diff --git a/app/test/test_table_tables.h b/test/test/test_table_tables.h similarity index 100% rename from app/test/test_table_tables.h rename to test/test/test_table_tables.h diff --git a/app/test/test_tailq.c b/test/test/test_tailq.c similarity index 100% rename from app/test/test_tailq.c rename to test/test/test_tailq.c diff --git a/app/test/test_thash.c b/test/test/test_thash.c similarity index 100% rename from app/test/test_thash.c rename to test/test/test_thash.c diff --git a/app/test/test_timer.c b/test/test/test_timer.c similarity index 100% rename from app/test/test_timer.c rename to test/test/test_timer.c diff --git a/app/test/test_timer_perf.c b/test/test/test_timer_perf.c similarity index 100% rename from app/test/test_timer_perf.c rename to test/test/test_timer_perf.c diff --git a/app/test/test_timer_racecond.c b/test/test/test_timer_racecond.c similarity index 100% rename from app/test/test_timer_racecond.c rename to test/test/test_timer_racecond.c diff --git a/app/test/test_version.c b/test/test/test_version.c similarity index 100% rename from app/test/test_version.c rename to test/test/test_version.c diff --git a/app/test/test_xmmt_ops.h b/test/test/test_xmmt_ops.h similarity index 100% rename from app/test/test_xmmt_ops.h rename to test/test/test_xmmt_ops.h diff --git a/app/test/virtual_pmd.c b/test/test/virtual_pmd.c similarity index 100% rename from app/test/virtual_pmd.c rename to test/test/virtual_pmd.c diff --git a/app/test/virtual_pmd.h b/test/test/virtual_pmd.h similarity index 100% rename from app/test/virtual_pmd.h rename to test/test/virtual_pmd.h -- 2.20.1