git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/bnxt: fix VF resource allocation
[dpdk.git]
/
test
/
test
/
meson.build
diff --git
a/test/test/meson.build
b/test/test/meson.build
index
eb4b04a
..
a907fd2
100644
(file)
--- a/
test/test/meson.build
+++ b/
test/test/meson.build
@@
-7,6
+7,8
@@
test_sources = files('commands.c',
'test_acl.c',
'test_alarm.c',
'test_atomic.c',
'test_acl.c',
'test_alarm.c',
'test_atomic.c',
+ 'test_barrier.c',
+ 'test_bpf.c',
'test_byteorder.c',
'test_cmdline.c',
'test_cmdline_cirbuf.c',
'test_byteorder.c',
'test_cmdline.c',
'test_cmdline_cirbuf.c',
@@
-23,7
+25,6
@@
test_sources = files('commands.c',
'test_cryptodev_blockcipher.c',
'test_cycles.c',
'test_debug.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',
'test_distributor.c',
'test_distributor_perf.c',
'test_eal_flags.c',
@@
-70,6
+71,8
@@
test_sources = files('commands.c',
'test_power_acpi_cpufreq.c',
'test_power_kvm_vm.c',
'test_prefetch.c',
'test_power_acpi_cpufreq.c',
'test_power_kvm_vm.c',
'test_prefetch.c',
+ 'test_reciprocal_division.c',
+ 'test_reciprocal_division_perf.c',
'test_red.c',
'test_reorder.c',
'test_ring.c',
'test_red.c',
'test_reorder.c',
'test_ring.c',
@@
-95,6
+98,7
@@
test_sources = files('commands.c',
)
test_deps = ['acl',
)
test_deps = ['acl',
+ 'bpf',
'cfgfile',
'cmdline',
'cryptodev',
'cfgfile',
'cmdline',
'cryptodev',
@@
-108,7
+112,6
@@
test_deps = ['acl',
'member',
'pipeline',
'port',
'member',
'pipeline',
'port',
- 'power',
'reorder',
'ring',
'timer'
'reorder',
'ring',
'timer'
@@
-118,6
+121,7
@@
test_names = [
'acl_autotest',
'alarm_autotest',
'atomic_autotest',
'acl_autotest',
'alarm_autotest',
'atomic_autotest',
+ 'barrier_autotest',
'byteorder_autotest',
'cmdline_autotest',
'common_autotest',
'byteorder_autotest',
'cmdline_autotest',
'common_autotest',
@@
-132,7
+136,7
@@
test_names = [
'cryptodev_sw_kasumi_autotest',
'cryptodev_sw_zuc_autotest',
'cryptodev_sw_armv8_autotest',
'cryptodev_sw_kasumi_autotest',
'cryptodev_sw_zuc_autotest',
'cryptodev_sw_armv8_autotest',
- 'cryptodev_sw_m
rvl
_autotest',
+ 'cryptodev_sw_m
vsam
_autotest',
'cryptodev_dpaa2_sec_autotest',
'cryptodev_dpaa_sec_autotest',
'cycles_autotest',
'cryptodev_dpaa2_sec_autotest',
'cryptodev_dpaa_sec_autotest',
'cycles_autotest',
@@
-184,6
+188,8
@@
test_names = [
'power_autotest',
'power_kvm_vm_autotest',
'prefetch_autotest',
'power_autotest',
'power_kvm_vm_autotest',
'prefetch_autotest',
+ 'reciprocal_division',
+ 'reciprocal_division_perf',
'red_all',
'red_autotest',
'red_perf',
'red_all',
'red_autotest',
'red_perf',
@@
-222,12
+228,27
@@
endif
if dpdk_conf.has('RTE_LIBRTE_RING_PMD')
test_deps += 'pmd_ring'
endif
if dpdk_conf.has('RTE_LIBRTE_RING_PMD')
test_deps += 'pmd_ring'
endif
+if dpdk_conf.has('RTE_LIBRTE_POWER')
+ test_deps += 'power'
+endif
+if dpdk_conf.has('RTE_LIBRTE_KNI')
+ test_deps += 'kni'
+endif
test_dep_objs = []
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)
endforeach
foreach d:test_deps
def_lib = get_option('default_library')
test_dep_objs += get_variable(def_lib + '_rte_' + d)
endforeach
+test_dep_objs += cc.find_library('execinfo', required: false)
link_libs = []
if get_option('default_library') == 'static'
link_libs = []
if get_option('default_library') == 'static'
@@
-239,7
+260,7
@@
if get_option('tests')
test_sources,
link_whole: link_libs,
dependencies: test_dep_objs,
test_sources,
link_whole: link_libs,
dependencies: test_dep_objs,
- c_args: [machine_arg, '-DALLOW_EXPERIMENTAL_API'],
+ c_args: [machine_arg
s
, '-DALLOW_EXPERIMENTAL_API'],
install_rpath: driver_install_path,
install: false)
install_rpath: driver_install_path,
install: false)