numam-dpdk/app/test
Reshma Pattan 207b1c813f test: fix build without ring PMD
Some unit tests has dependency on RING PMD,
so this patch is trying to fix those and other
closely related issues.

1)pdump, latency, bitrate, ring PMD and test_event_eth_tx_adapter
unit tests are dependent on ring PMD, so compile those
tests only when ring PMD is enabled else ignore.

2)get rid of make file error which was added by bond unit test
for ring PMD disabled case which is not necessary.

3)Tx adapter UT is dependent on RING PMD, but it was
observed that it was missing from the run in meson
build, so added it. TX adapter UT uses 'sw event and
'null' pmd drivers, so for shared builds the drivers .so
path has to be passed to the test args of meson UT run.

Fixes: 086eb64db3 ("test/pdump: add unit test for pdump library")
Fixes: fdeb30fa71 ("test/bitrate: add unit tests for bitrate library")
Fixes: 1e3676a06e ("test/latency: add unit tests for latencystats library")
Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter")
Fixes: d23e09e0ef ("app/test: link with ring pmd when needed")
Cc: stable@dpdk.org

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Tested-by: Nikhil Rao <nikhil.rao@intel.com>
Tested-by: Bruce Richardson <bruce.richardson@intel.com>
2020-02-16 19:08:53 +01:00
..
test_cfgfiles/etc test: move to app directory 2019-02-26 15:29:27 +01:00
autotest_data.py test/hash: move lock-free tests to perf tests 2020-02-05 19:42:24 +01: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 clean bare metal support traces 2019-10-21 16:19:00 +02:00
get-coremask.sh app/test: remove meson dependency on file in /sys 2020-01-20 16:37:27 +01:00
Makefile test: fix build without ring PMD 2020-02-16 19:08:53 +01:00
meson.build test: fix build without ring PMD 2020-02-16 19:08:53 +01:00
packet_burst_generator.c net: use IPV4 VHL constant 2019-11-20 17:36:06 +01: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 ring PMD 2020-02-16 19:08:53 +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 test/acl: add 32-bit range test case 2020-02-13 14:43:56 +01:00
test_acl.h test/acl: add 32-bit range test case 2020-02-13 14:43:56 +01:00
test_alarm.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_atomic.c test/atomic: add atomic 16/32/64-bit exchanges test 2019-11-07 17:46:43 +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: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_bpf.c test/bpf: add new test cases 2019-10-24 09:57:48 +02:00
test_byteorder.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cfgfile.c test/cfgfile: replace license text with SPDX tag 2019-11-28 03:12:55 +01:00
test_cmdline_cirbuf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_etheraddr.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_cmdline_ipaddr.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_cmdline_lib.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cmdline_num.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_cmdline_portlist.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_cmdline_string.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +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 test/common: fix log2 check 2019-12-20 15:05:41 +01:00
test_compressdev_test_buffer.h test/compress: replace test vector 2020-02-13 12:41:04 +01:00
test_compressdev.c test/compress: refactor unit tests 2019-11-08 13:53:09 +01: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 cryptodev: revert Chacha20-Poly1305 AEAD algorithm 2020-02-05 15:14:46 +01:00
test_cryptodev_aes_test_vectors.h crypto/openssl: support in-place scatter gather 2019-11-20 12:35:51 +01:00
test_cryptodev_asym_util.h test/crypto: add ECPM cases 2020-01-15 15:01:55 +01:00
test_cryptodev_asym.c test/crypto: add ECPM cases 2020-01-15 15:01:55 +01:00
test_cryptodev_blockcipher.c test/crypto: refactor unit tests into one combined array 2020-02-05 15:20:51 +01:00
test_cryptodev_blockcipher.h test/crypto: add OCTEON TX2 2019-10-23 16:57:06 +02:00
test_cryptodev_des_test_vectors.h test/crypto: refactor unit tests into one combined array 2020-02-05 15:20:51 +01: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_ecdsa_test_vectors.h test/crypto: add ECDSA sign/verify cases 2020-01-15 15:01:55 +01:00
test_cryptodev_ecpm_test_vectors.h test/crypto: add ECPM cases 2020-01-15 15:01:55 +01:00
test_cryptodev_hash_test_vectors.h test/crypto: add OCTEON TX2 2019-10-23 16:57:06 +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_mixed_test_vectors.h test/crypto: add mixed encypted-digest 2020-01-15 16:45:04 +01: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/crypto: add RSA cases in QAT and openssl 2019-10-23 16:57:06 +02:00
test_cryptodev_security_pdcp_test_func.h test/crypto: add PDCP U-Plane decap cases 2019-10-09 11:50:12 +02:00
test_cryptodev_security_pdcp_test_vectors.h test/crypto: add PDCP U-Plane encap with integrity cases 2019-10-09 11:50:12 +02:00
test_cryptodev_security_pdcp.c test/crypto: add PDCP U-Plane decap cases 2019-10-09 11:50:12 +02: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: add CPU crypto mode cases 2020-02-13 12:41:21 +01:00
test_cryptodev.h test/crypto: add OCTEON TX2 2019-10-23 16:57:06 +02:00
test_cycles.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_debug.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_distributor_perf.c test: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_distributor.c test/distributor: fix spurious failure 2019-10-25 10:27:51 +02:00
test_eal_flags.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01: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: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_efd.c test: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_errno.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_event_crypto_adapter.c test/event_crypto: fix check for HW support 2019-11-26 07:49:31 +01:00
test_event_eth_rx_adapter.c app: check status of getting MAC address 2019-10-07 15:00:55 +02:00
test_event_eth_tx_adapter.c app: check status of getting MAC address 2019-10-07 15:00:55 +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 test/event: fix OCTEON TX2 event device name 2020-01-15 12:06:05 +01:00
test_external_mem.c remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
test_fbarray.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
test_fib6_perf.c test/fib: add IPv6 performance autotests 2019-11-06 00:11:55 +01:00
test_fib6.c test/fib: add IPv6 autotests 2019-11-06 00:11:44 +01:00
test_fib_perf.c test/fib: add performance autotests 2019-11-06 00:11:55 +01:00
test_fib.c test/fib: add autotests 2019-11-06 00:11:44 +01:00
test_flow_classify.c test/flow_classify: fix undefined behavior 2019-07-31 00:22:33 +02:00
test_flow_classify.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_func_reentrancy.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_hash_functions.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +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: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_hash_readwrite_lf_perf.c test/hash: move lock-free tests to perf tests 2020-02-05 19:42:24 +01:00
test_hash_readwrite.c test/hash: add lock-free functional tests 2020-02-05 19:42:24 +01:00
test_hash.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_interrupts.c test/interrupt: account for race with callback 2019-09-13 17:00:19 +02:00
test_ipsec_sad.c test/ipsec: add SAD autotests 2019-10-23 16:57:06 +02:00
test_ipsec.c ipsec: remove redundant replay window size 2019-11-08 13:51:16 +01:00
test_kni.c kni: check code of promiscuous mode switch 2019-10-07 15:00:54 +02:00
test_kvargs.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_latencystats.c test: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_link_bonding_mode4.c test: clean LTO warnings 2019-11-08 15:23:37 +01:00
test_link_bonding_rssconf.c app: check status of getting ethdev info 2019-10-07 14:45:35 +02:00
test_link_bonding.c test/bonding: fix LSC timeout unit 2019-10-23 16:43:08 +02:00
test_logs.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm6_data.h app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_lpm6_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm6.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_lpm_perf.c test/lpm: fix measured cycles for delete 2019-10-24 10:00:27 +02:00
test_lpm.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_malloc.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_mbuf.c test/mbuf: check pinned external buffer 2020-02-06 16:17:14 +01:00
test_mcslock.c test/mcslock: wait for lcore completion 2019-08-08 12:19:59 +02:00
test_member_perf.c test: fix global variable multiple definitions 2019-10-25 23:16:23 +02:00
test_member.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
test_memcpy_perf.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_memcpy.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_memory.c remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
test_mempool_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_mempool.c test/mempool: fix false positive result 2019-11-06 11:55:23 +01:00
test_memzone.c test: clean LTO warnings 2019-11-08 15:23:37 +01:00
test_meter.c meter: replace color definitions 2019-04-11 14:27:32 +02:00
test_metrics.c test: use common macro RTE_DIM 2019-10-27 14:40:55 +01:00
test_mp_secondary.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_pdump.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +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 app: check status of getting MAC address 2019-10-07 15:00:55 +02:00
test_pmd_ring_perf.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_pmd_ring.c app: check status of getting link info 2019-10-07 15:00:54 +02: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 app: use common macro RTE_DIM 2020-02-05 14:37:41 +01: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: enhance log nomenclature 2019-10-21 17:54:40 +02:00
test_rcu_qsbr.c test/rcu: fix build for small number of cores 2019-11-25 23:51:53 +01: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_rib6.c remove blank lines at end of file 2019-11-26 00:12:08 +01:00
test_rib.c test/rib: speed up rib autotests 2019-11-07 17:46:43 +01:00
test_ring_perf.c app: use common macro RTE_DIM 2020-02-05 14:37:41 +01:00
test_ring.c test/ring: add custom element size functional tests 2020-01-19 19:32:50 +01:00
test_ring.h test/ring: add custom element size functional tests 2020-01-19 19:32:50 +01:00
test_rwlock.c test: split into shorter subtests 2019-06-27 22:34:09 +02:00
test_sched.c test/sched: add subport config flexibility 2019-10-25 17:51:30 +02:00
test_service_cores.c test/service: fix wait for service core 2019-11-27 21:23:17 +01: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 common macro RTE_DIM 2019-10-27 14:40:55 +01: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 remove extra blank lines at end of files 2019-08-05 15:19:32 +02: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 remove extra blank lines at end of files 2019-08-05 15:19:32 +02: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 remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
test_thash.c test/thash: replace license text with SPDX tag 2019-11-28 03:02:51 +01: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 app: use common macro RTE_DIM 2020-02-05 14:37:41 +01: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 ring PMD 2020-02-16 19:08:53 +01:00
test.h test/timer: exercise new APIs in secondary process 2019-04-22 21:07:59 +02:00
virtual_pmd.c ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
virtual_pmd.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00