X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=test%2Ftest%2Fmeson.build;h=7c6e3b00b44dcd300422150b8eba463088cad44b;hb=5d7b673d5fd6663b20c675dd382d9fb43b42af18;hp=263cc1cf3bddea152c15dfcb2bb2fe61fe99f4fe;hpb=2c6dab9cd93d42e4aad35a73b6e6421f76cf8068;p=dpdk.git diff --git a/test/test/meson.build b/test/test/meson.build index 263cc1cf3b..7c6e3b00b4 100644 --- a/test/test/meson.build +++ b/test/test/meson.build @@ -33,7 +33,11 @@ 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', @@ -141,6 +145,7 @@ test_names = [ 'cryptodev_sw_mvsam_autotest', 'cryptodev_dpaa2_sec_autotest', 'cryptodev_dpaa_sec_autotest', + 'cryptodev_octeontx_autotest', 'cycles_autotest', 'debug_autotest', 'devargs_autotest', @@ -151,10 +156,16 @@ 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', @@ -237,6 +248,14 @@ 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() @@ -262,7 +281,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)