app/test: rework command registration
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 13 Jul 2016 12:38:13 +0000 (14:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 Jul 2016 15:25:02 +0000 (17:25 +0200)
commit26e09db6cb5fd9bbf0feb928561af9932694574b
treeaa0d4cdb869a2a9fe43f38e879136e277facc8ba
parentd7cdc5065bb78c28607aecb0b3576d7690c71216
app/test: rework command registration

The tests are registered with their command name by adding a structure
to a list. The structure of each test was declared in each test file
and passed to the register macro.
This rework generate the structure inside the register macro.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
71 files changed:
app/test/test.h
app/test/test_acl.c
app/test/test_alarm.c
app/test/test_atomic.c
app/test/test_byteorder.c
app/test/test_cmdline.c
app/test/test_common.c
app/test/test_cpuflags.c
app/test/test_cryptodev.c
app/test/test_cryptodev_perf.c
app/test/test_cycles.c
app/test/test_debug.c
app/test/test_devargs.c
app/test/test_distributor.c
app/test/test_distributor_perf.c
app/test/test_eal_flags.c
app/test/test_eal_fs.c
app/test/test_errno.c
app/test/test_func_reentrancy.c
app/test/test_hash.c
app/test/test_hash_functions.c
app/test/test_hash_multiwriter.c
app/test/test_hash_perf.c
app/test/test_hash_scaling.c
app/test/test_interrupts.c
app/test/test_ivshmem.c
app/test/test_kni.c
app/test/test_kvargs.c
app/test/test_link_bonding.c
app/test/test_link_bonding_mode4.c
app/test/test_link_bonding_rssconf.c
app/test/test_logs.c
app/test/test_lpm.c
app/test/test_lpm6.c
app/test/test_lpm6_perf.c
app/test/test_lpm_perf.c
app/test/test_malloc.c
app/test/test_mbuf.c
app/test/test_memcpy.c
app/test/test_memcpy_perf.c
app/test/test_memory.c
app/test/test_mempool.c
app/test/test_mempool_perf.c
app/test/test_memzone.c
app/test/test_meter.c
app/test/test_mp_secondary.c
app/test/test_pci.c
app/test/test_per_lcore.c
app/test/test_pmd_perf.c
app/test/test_pmd_ring.c
app/test/test_pmd_ring_perf.c
app/test/test_power.c
app/test/test_power_acpi_cpufreq.c
app/test/test_power_kvm_vm.c
app/test/test_prefetch.c
app/test/test_red.c
app/test/test_reorder.c
app/test/test_resource.c
app/test/test_ring.c
app/test/test_ring_perf.c
app/test/test_rwlock.c
app/test/test_sched.c
app/test/test_spinlock.c
app/test/test_string_fns.c
app/test/test_table.c
app/test/test_tailq.c
app/test/test_thash.c
app/test/test_timer.c
app/test/test_timer_perf.c
app/test/test_timer_racecond.c
app/test/test_version.c