X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=test%2Ftest%2Fmeson.build;h=554e9945f6e686aee463381a4ae707bdf783f8d6;hb=cd38042429015980eef6d0d33adef5a53b704211;hp=e8ddb76e35d7d853e209f2381f53d237a03c186f;hpb=7ae096c46ceef5aba8254ce043321ed5073cb4ee;p=dpdk.git diff --git a/test/test/meson.build b/test/test/meson.build index e8ddb76e35..554e9945f6 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -8,6 +8,7 @@ test_sources = files('commands.c', 'test_alarm.c', 'test_atomic.c', 'test_barrier.c', + 'test_bpf.c', 'test_byteorder.c', 'test_cmdline.c', 'test_cmdline_cirbuf.c', @@ -21,10 +22,10 @@ test_sources = files('commands.c', 'test_cpuflags.c', 'test_crc.c', 'test_cryptodev.c', + 'test_cryptodev_asym.c', 'test_cryptodev_blockcipher.c', 'test_cycles.c', 'test_debug.c', - 'test_devargs.c', 'test_distributor.c', 'test_distributor_perf.c', 'test_eal_flags.c', @@ -32,15 +33,20 @@ test_sources = files('commands.c', 'test_efd.c', 'test_efd_perf.c', 'test_errno.c', + 'test_event_crypto_adapter.c', + 'test_event_eth_rx_adapter.c', 'test_event_ring.c', + 'test_event_eth_tx_adapter.c', + 'test_event_timer_adapter.c', 'test_eventdev.c', 'test_func_reentrancy.c', 'test_flow_classify.c', 'test_hash.c', 'test_hash_functions.c', 'test_hash_multiwriter.c', + 'test_hash_readwrite.c', 'test_hash_perf.c', - 'test_hash_scaling.c', + 'test_hash_readwrite_lf.c', 'test_interrupts.c', 'test_kni.c', 'test_kvargs.c', @@ -62,6 +68,7 @@ test_sources = files('commands.c', 'test_mempool_perf.c', 'test_memzone.c', 'test_meter.c', + 'test_metrics.c', 'test_mp_secondary.c', 'test_per_lcore.c', 'test_pmd_perf.c', @@ -98,6 +105,7 @@ test_sources = files('commands.c', ) test_deps = ['acl', + 'bpf', 'cfgfile', 'cmdline', 'cryptodev', @@ -109,6 +117,7 @@ test_deps = ['acl', 'hash', 'lpm', 'member', + 'metrics', 'pipeline', 'port', 'reorder', @@ -129,17 +138,20 @@ test_names = [ 'cryptodev_qat_autotest', 'cryptodev_aesni_mb_autotest', 'cryptodev_openssl_autotest', + 'cryptodev_openssl_asym_autotest', 'cryptodev_aesni_gcm_autotest', 'cryptodev_null_autotest', 'cryptodev_sw_snow3g_autotest', 'cryptodev_sw_kasumi_autotest', 'cryptodev_sw_zuc_autotest', 'cryptodev_sw_armv8_autotest', - 'cryptodev_sw_mrvl_autotest', + 'cryptodev_sw_mvsam_autotest', 'cryptodev_dpaa2_sec_autotest', 'cryptodev_dpaa_sec_autotest', + 'cryptodev_octeontx_autotest', 'cycles_autotest', 'debug_autotest', + 'delay_us_sleep_autotest', 'devargs_autotest', 'distributor_autotest', 'distributor_perf_autotest', @@ -148,17 +160,24 @@ test_names = [ 'efd_autotest', 'efd_perf_autotest', 'errno_autotest', + 'event_crypto_adapter_autotest', + 'event_eth_rx_adapter_autotest', + 'event_eth_rx_intr_adapter_autotest', 'event_ring_autotest', + 'event_eth_tx_adapter_autotest', + 'event_timer_adapter_autotest', 'eventdev_common_autotest', 'eventdev_octeontx_autotest', 'eventdev_sw_autotest', + 'external_mem_autotest', 'func_reentrancy_autotest', 'flow_classify_autotest', - 'hash_scaling_autotest', 'hash_autotest', 'hash_functions_autotest', 'hash_multiwriter_autotest', 'hash_perf_autotest', + 'hash_readwrite_autotest', + 'hash_readwrite_lf_autotest', 'interrupt_autotest', 'kni_autotest', 'kvargs_autotest', @@ -180,6 +199,7 @@ test_names = [ 'mempool_perf_autotest', 'memzone_autotest', 'meter_autotest', + 'metrics_autotest', 'multiprocess_autotest', 'per_lcore_autotest', 'pmd_perf_autotest', @@ -230,8 +250,27 @@ endif if dpdk_conf.has('RTE_LIBRTE_POWER') test_deps += 'power' endif +if dpdk_conf.has('RTE_LIBRTE_KNI') + test_deps += 'kni' +endif + +cflags = machine_args +if cc.has_argument('-Wno-format-truncation') + cflags += '-Wno-format-truncation' +endif + +# specify -D_GNU_SOURCE unconditionally +default_cflags += '-D_GNU_SOURCE' test_dep_objs = [] +compress_test_dep = dependency('zlib', required: false) +if compress_test_dep.found() + test_dep_objs += compress_test_dep + test_sources += 'test_compressdev.c' + test_deps += 'compressdev' + test_names += 'compressdev_autotest' +endif + foreach d:test_deps def_lib = get_option('default_library') test_dep_objs += get_variable(def_lib + '_rte_' + d) @@ -248,7 +287,7 @@ if get_option('tests') test_sources, link_whole: link_libs, dependencies: test_dep_objs, - c_args: [machine_args, '-DALLOW_EXPERIMENTAL_API'], + c_args: [cflags, '-DALLOW_EXPERIMENTAL_API'], install_rpath: driver_install_path, install: false)