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/ice: support src MAC filter for flow director
[dpdk.git]
/
app
/
test
/
meson.build
diff --git
a/app/test/meson.build
b/app/test/meson.build
index
1715ddb
..
e0d33ea
100644
(file)
--- a/
app/test/meson.build
+++ b/
app/test/meson.build
@@
-12,6
+12,7
@@
test_sources = files('commands.c',
'test_alarm.c',
'test_atomic.c',
'test_barrier.c',
'test_alarm.c',
'test_atomic.c',
'test_barrier.c',
+ 'test_bitops.c',
'test_bpf.c',
'test_byteorder.c',
'test_cmdline.c',
'test_bpf.c',
'test_byteorder.c',
'test_cmdline.c',
@@
-66,6
+67,7
@@
test_sources = files('commands.c',
'test_ipsec_perf.c',
'test_kni.c',
'test_kvargs.c',
'test_ipsec_perf.c',
'test_kni.c',
'test_kvargs.c',
+ 'test_lcores.c',
'test_logs.c',
'test_lpm.c',
'test_lpm6.c',
'test_logs.c',
'test_lpm.c',
'test_lpm6.c',
@@
-104,9
+106,10
@@
test_sources = files('commands.c',
'test_ring.c',
'test_ring_mpmc_stress.c',
'test_ring_hts_stress.c',
'test_ring.c',
'test_ring_mpmc_stress.c',
'test_ring_hts_stress.c',
- 'test_ring_peek_stress.c',
+ 'test_ring_
mt_
peek_stress.c',
'test_ring_perf.c',
'test_ring_rts_stress.c',
'test_ring_perf.c',
'test_ring_rts_stress.c',
+ 'test_ring_st_peek_stress.c',
'test_ring_stress.c',
'test_rwlock.c',
'test_sched.c',
'test_ring_stress.c',
'test_rwlock.c',
'test_sched.c',
@@
-176,6
+179,7
@@
fast_tests = [
['acl_autotest', true],
['alarm_autotest', false],
['atomic_autotest', false],
['acl_autotest', true],
['alarm_autotest', false],
['atomic_autotest', false],
+ ['bitops_autotest', true],
['byteorder_autotest', true],
['cmdline_autotest', true],
['common_autotest', true],
['byteorder_autotest', true],
['cmdline_autotest', true],
['common_autotest', true],
@@
-204,6
+208,7
@@
fast_tests = [
['hash_autotest', true],
['interrupt_autotest', true],
['ipfrag_autotest', false],
['hash_autotest', true],
['interrupt_autotest', true],
['ipfrag_autotest', false],
+ ['lcores_autotest', true],
['logs_autotest', true],
['lpm_autotest', true],
['lpm6_autotest', true],
['logs_autotest', true],
['lpm_autotest', true],
['lpm6_autotest', true],
@@
-350,6
+355,10
@@
if dpdk_conf.has('RTE_LIBRTE_BOND_PMD')
test_deps += 'pmd_bond'
test_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']
driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']
test_deps += 'pmd_bond'
test_sources += ['test_link_bonding.c', 'test_link_bonding_rssconf.c']
driver_test_names += ['link_bonding_autotest', 'link_bonding_rssconf_autotest']
+ if dpdk_conf.has('RTE_LIBRTE_RING_PMD')
+ test_sources += 'test_link_bonding_mode4.c'
+ driver_test_names += 'link_bonding_mode4_autotest'
+ endif
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'
@@
-358,7
+367,6
@@
if dpdk_conf.has('RTE_LIBRTE_RING_PMD')
test_sources += 'test_event_eth_tx_adapter.c'
test_sources += 'test_bitratestats.c'
test_sources += 'test_latencystats.c'
test_sources += 'test_event_eth_tx_adapter.c'
test_sources += 'test_bitratestats.c'
test_sources += 'test_latencystats.c'
- test_sources += 'test_link_bonding_mode4.c'
test_sources += 'sample_packet_forward.c'
test_sources += 'test_pdump.c'
fast_tests += [['ring_pmd_autotest', true]]
test_sources += 'sample_packet_forward.c'
test_sources += 'test_pdump.c'
fast_tests += [['ring_pmd_autotest', true]]
@@
-366,7
+374,6
@@
if dpdk_conf.has('RTE_LIBRTE_RING_PMD')
fast_tests += [['event_eth_tx_adapter_autotest', false]]
fast_tests += [['bitratestats_autotest', true]]
fast_tests += [['latencystats_autotest', true]]
fast_tests += [['event_eth_tx_adapter_autotest', false]]
fast_tests += [['bitratestats_autotest', true]]
fast_tests += [['latencystats_autotest', true]]
- driver_test_names += 'link_bonding_mode4_autotest'
fast_tests += [['pdump_autotest', true]]
endif
fast_tests += [['pdump_autotest', true]]
endif
@@
-411,18
+418,17
@@
endforeach
test_dep_objs += cc.find_library('execinfo', required: false)
link_libs = []
test_dep_objs += cc.find_library('execinfo', required: false)
link_libs = []
-link_nodes = []
if get_option('default_library') == 'static'
if get_option('default_library') == 'static'
- link_libs = dpdk_drivers
- link_nodes = dpdk_graph_nodes
+ link_libs = dpdk_static_libraries + dpdk_drivers
endif
dpdk_test = executable('dpdk-test',
test_sources,
endif
dpdk_test = executable('dpdk-test',
test_sources,
- link_whole: link_libs
+ link_nodes
,
+ link_whole: link_libs,
dependencies: test_dep_objs,
c_args: cflags,
dependencies: test_dep_objs,
c_args: cflags,
- install_rpath: driver_install_path,
+ install_rpath: join_paths(get_option('prefix'),
+ driver_install_path),
install: true)
has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0'
install: true)
has_hugepage = run_command('has-hugepage.sh').stdout().strip() != '0'