numam-dpdk/app/test
Natanael Copa 816d76c53e app/test: fix build with musl libc
Fix following build error with musl libc:

app/test/test_eal_flags.c:152:55: error:
'O_RDONLY' undeclared (first use in this function)
      fd = openat(dirfd(hugepage_dir), dirent->d_name, O_RDONLY);
                                                       ^~~~~~~~

Fixes: 45f1b6e868 ("app: add new tests on eal flags")
Cc: stable@dpdk.org

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
2019-03-31 01:03:13 +01:00
..
test_cfgfiles/etc test: move to app directory 2019-02-26 15:29:27 +01:00
autotest_data.py test/ticketlock: add test cases 2019-03-28 15:02:10 +01:00
autotest_runner.py test: move to app directory 2019-02-26 15:29:27 +01:00
autotest_test_funcs.py test: move to app directory 2019-02-26 15:29:27 +01:00
autotest.py mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
commands.c test: move to app directory 2019-02-26 15:29:27 +01:00
Makefile test/ticketlock: add test cases 2019-03-28 15:02:10 +01:00
meson.build app/test: fix flags with meson 2019-03-31 01:03:08 +01:00
packet_burst_generator.c test: move to app directory 2019-02-26 15:29:27 +01:00
packet_burst_generator.h test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01:00
test_acl.h test: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01: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/compress: fix missing header include 2019-02-26 16:22:41 +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 test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_aes_test_vectors.h test/crypto: add tests for XTS on QAT 2019-03-22 15:54:24 +01: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: add result field to mod exp and inv 2019-03-22 14:27:46 +01:00
test_cryptodev_blockcipher.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_blockcipher.h test/crypto: fix duplicate id used by CCP device 2019-03-06 17:41:37 +01:00
test_cryptodev_des_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +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_hash_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_mod_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev_zuc_test_vectors.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_cryptodev.c test/crypto: fix possible overflow using strlcat 2019-03-22 15:54:24 +01:00
test_cryptodev.h test: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01:00
test_distributor.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_eal_flags.c app/test: fix build with musl libc 2019-03-31 01:03:13 +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: move to app directory 2019-02-26 15:29:27 +01:00
test_efd.c test/efd: replace config macro with runtime log level 2019-03-28 19:38:52 +01:00
test_errno.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
test_event_crypto_adapter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_event_eth_rx_adapter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_event_eth_tx_adapter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_event_ring.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_event_timer_adapter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_eventdev.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_external_mem.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_fbarray.c fbarray: add API to find biggest used or free chunks 2019-03-28 23:28:52 +01:00
test_flow_classify.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_flow_classify.h test: move to app directory 2019-02-26 15:29:27 +01:00
test_func_reentrancy.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_functions.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_multiwriter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_readwrite_lf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash_readwrite.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_hash.c test/hash: replace config macro with runtime log level 2019-03-28 19:37:41 +01:00
test_interrupts.c build/linux: rename macro from LINUXAPP to LINUX 2019-03-12 17:31:22 +01:00
test_ipsec.c test: move to app directory 2019-02-26 15:29:27 +01: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: move to app directory 2019-02-26 15:29:27 +01:00
test_link_bonding_mode4.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_link_bonding_rssconf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_link_bonding.c test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01:00
test_lpm.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_malloc.c malloc: add NUMA-aware realloc function 2019-03-23 16:54:50 +01:00
test_mbuf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_member_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_member.c test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01:00
test_meter.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_metrics.c test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01: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_acpi_cpufreq.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_power_kvm_vm.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_power.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_prefetch.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_rawdev.c test: move to app directory 2019-02-26 15:29:27 +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_ring_perf.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_ring.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_rwlock.c test/rwlock: amortize the cost of getting time 2019-03-28 11:49:36 +01:00
test_sched.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_service_cores.c service: fix parameter type for attribute 2019-03-28 21:07:48 +01:00
test_spinlock.c test/spinlock: amortize the cost of getting time 2019-03-28 09:18:59 +01:00
test_string_fns.c test: move to app directory 2019-02-26 15:29:27 +01:00
test_table_acl.c test: move to app directory 2019-02-26 15:29:27 +01: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 test: move to app directory 2019-02-26 15:29:27 +01:00
test_thash.c test: move to app directory 2019-02-26 15:29:27 +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.c test: move to app directory 2019-02-26 15:29:27 +01: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 pdump 2019-03-27 01:09:14 +01:00
test.h use appropriate EAL macro for constructors 2019-03-27 23:10:57 +01:00
virtual_pmd.c test: move to app directory 2019-02-26 15:29:27 +01:00
virtual_pmd.h test: move to app directory 2019-02-26 15:29:27 +01:00