numam-dpdk/app/test
Harman Kalra 9d10f53e40 test/metrics: fix second run
Issue is observed while running 'metrics_autotest' continuously
without quiting. During first execution all test cases pass but
second run onwards first test case fails as library is already
initialized.

To resolve, introduced a new API to deinitialise the library
after all test cases are executed.

Fixes: cd38042429 ("test/metrics: add unit tests for metrics library")

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Remy Horton <remy.horton@intel.com>
Tested-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
2019-07-16 12:46:07 +02:00
..
test_cfgfiles/etc test: move to app directory 2019-02-26 15:29:27 +01:00
autotest_data.py test/mcslock: add MCS queued lock unit test 2019-07-08 10:57:14 +02:00
autotest_runner.py test: fix autotest crash 2019-07-04 23:44:58 +02:00
autotest_test_funcs.py test/mcslock: add MCS queued lock unit test 2019-07-08 10:57:14 +02:00
autotest.py test/eal: set memory channel config only in dedicated test 2019-06-27 22:33:18 +02:00
commands.c app/test: fix sprintf with strlcat 2019-04-02 02:36:22 +02:00
Makefile test/mcslock: add MCS queued lock unit test 2019-07-08 10:57:14 +02:00
meson.build test/mcslock: add MCS queued lock unit test 2019-07-08 10:57:14 +02:00
packet_burst_generator.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
packet_burst_generator.h net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
process.h test: fix build without pdump 2019-03-27 01:09:14 +01:00
resource.c test: move to app directory 2019-02-26 15:29:27 +01:00
resource.h use appropriate EAL macro for constructors 2019-03-27 23:10:57 +01:00
sample_packet_forward.c test: move to app directory 2019-02-26 15:29:27 +01:00
sample_packet_forward.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_acl.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_acl.h net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_alarm.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_atomic.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_barrier.c test/barrier: fix for Power CPUs 2019-05-09 21:58:31 +02:00
test_bitmap.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_bitratestats.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_bpf.c test/bpf: add test-case for function return value 2019-07-04 11:07:05 +02:00
test_byteorder.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cfgfile.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_cirbuf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_etheraddr.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
test_cmdline_ipaddr.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_lib.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_num.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
test_cmdline_portlist.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_string.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_common.c eal: add macro to align value to the nearest multiple 2019-03-28 00:45:00 +01:00
test_compressdev_test_buffer.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_compressdev.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_cpuflags.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_crc.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_aead_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_aes_test_vectors.h test/crypto: add NULL algo to loop test mechanism 2019-07-05 15:28:14 +02:00
test_cryptodev_asym_util.h test: add result field to mod exp and inv 2019-03-22 14:27:46 +01:00
test_cryptodev_asym.c test/crypto: return not supported instead of skipped 2019-05-09 16:21:57 +02:00
test_cryptodev_blockcipher.c test/crypto: add NULL algo to loop test mechanism 2019-07-05 15:28:14 +02:00
test_cryptodev_blockcipher.h test/crypto: add NULL algo to loop test mechanism 2019-07-05 15:28:14 +02:00
test_cryptodev_des_test_vectors.h test/crypto: check out of place for AESNI-MB 2019-04-02 16:50:24 +02:00
test_cryptodev_dh_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_dsa_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_hash_test_vectors.h test/crypto: add NULL algo to loop test mechanism 2019-07-05 15:28:14 +02:00
test_cryptodev_hmac_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_kasumi_hash_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_kasumi_test_vectors.h test/crypto: add KASUMI test cases for auth-cipher 2019-07-05 15:28:14 +02:00
test_cryptodev_mod_test_vectors.h test/crypto: check asymmetric crypto 2019-04-02 16:50:24 +02:00
test_cryptodev_rsa_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_snow3g_hash_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_snow3g_test_vectors.h test/crypto: add scatter-gather tests for IP and OOP 2019-07-05 15:28:14 +02:00
test_cryptodev_zuc_test_vectors.h test/crypto: add ZUC test cases for auth-cipher 2019-07-05 15:28:14 +02:00
test_cryptodev.c test/crypto: return correct value if feature not supported 2019-07-05 15:28:14 +02:00
test_cryptodev.h test/crypto: check asymmetric crypto 2019-04-02 16:50:24 +02:00
test_cycles.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_debug.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_distributor_perf.c test/distributor: replace sync with atomic builtins 2019-07-08 16:35:19 +02:00
test_distributor.c test/distributor: replace sync with atomic builtins 2019-07-08 16:35:19 +02:00
test_eal_flags.c test/eal: add cases for options proc-type and uio 2019-07-04 23:49:23 +02:00
test_eal_fs.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_efd_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_efd.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_errno.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_event_crypto_adapter.c cryptodev: add feature flags to disable 2019-07-05 15:03:25 +02:00
test_event_eth_rx_adapter.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
test_event_eth_tx_adapter.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
test_event_ring.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_event_timer_adapter.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_eventdev.c event/octeontx2: add SSO selftest 2019-07-03 06:56:29 +02:00
test_external_mem.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_fbarray.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
test_flow_classify.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_flow_classify.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_func_reentrancy.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_hash_functions.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_multiwriter.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_hash_perf.c test/hash: replace sprintf with snprintf 2019-04-05 10:40:56 +02:00
test_hash_readwrite_lf.c test/hash: use array for small amount of memory 2019-07-05 10:45:17 +02:00
test_hash_readwrite.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_hash.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_interrupts.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_ipsec.c test/ipsec: fix destroy SA 2019-07-05 15:28:14 +02:00
test_kni.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_kvargs.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_latencystats.c test/latency: fix stack smashing 2019-06-27 22:32:33 +02:00
test_link_bonding_mode4.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_link_bonding_rssconf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
test_link_bonding.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_logs.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm6_data.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm6_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm6.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm_perf.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_lpm.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_malloc.c malloc: deprecate unused function to set limit 2019-07-01 18:37:50 +02:00
test_mbuf.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_mcslock.c test/mcslock: add MCS queued lock unit test 2019-07-08 10:57:14 +02:00
test_member_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_member.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_memcpy_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_memcpy.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_memory.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_mempool_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_mempool.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_memzone.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
test_meter.c meter: replace color definitions 2019-04-11 14:27:32 +02:00
test_metrics.c test/metrics: fix second run 2019-07-16 12:46:07 +02:00
test_mp_secondary.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_pdump.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_pdump.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_per_lcore.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_pmd_perf.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_pmd_ring_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_pmd_ring.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_power_cpufreq.c test/power: add cases for turbo feature 2019-07-05 10:42:43 +02:00
test_power_kvm_vm.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_power.c test/power: check all environment types 2019-04-22 22:46:13 +02:00
test_prefetch.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_rand_perf.c eal: introduce random generator with upper bound 2019-06-28 15:23:55 +02:00
test_rawdev.c raw/ioat: add configure, start and stop functions 2019-07-04 09:44:31 +02:00
test_rcu_qsbr_perf.c test/rcu: increase size of core numbers 2019-06-29 14:29:52 +02:00
test_rcu_qsbr.c test/rcu: fix test case 2019-06-29 14:29:52 +02:00
test_reciprocal_division_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_reciprocal_division.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_red.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_reorder.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_resource.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_ring_perf.c test/ring: replace sync with atomic builtins 2019-07-08 16:35:55 +02:00
test_ring.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_rwlock.c test: split into shorter subtests 2019-06-27 22:34:09 +02:00
test_sched.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_service_cores.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_spinlock.c test/spinlock: amortize the cost of getting time 2019-03-28 09:18:59 +01:00
test_stack_perf.c test: use lcore accessors 2019-06-03 12:30:20 +02:00
test_stack.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_string_fns.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_acl.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_table_acl.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_combined.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_combined.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_pipeline.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_pipeline.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_ports.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_ports.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_tables.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_tables.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_table.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_tailq.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
test_thash.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_ticketlock.c test/ticketlock: add test cases 2019-03-28 15:02:10 +01:00
test_timer_perf.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_timer_racecond.c test/timer: replace config macro with runtime log level 2019-03-28 19:39:13 +01:00
test_timer_secondary.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_timer.c test: skip tests when missing requirements 2019-06-27 22:34:53 +02:00
test_version.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_xmmt_ops.h test: move to app directory 2019-02-26 15:29:27 +01:00
test.c test: fix build without timer library 2019-07-05 10:48:55 +02:00
test.h test/timer: exercise new APIs in secondary process 2019-04-22 21:07:59 +02:00
virtual_pmd.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
virtual_pmd.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00