X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Fmeson.build;h=2c23c6347bf5568fa183d51385b1d5036542cee7;hb=94a24aaf6c5bd0a03c2828e7411d30a4fc0ac075;hp=c50b2027579354f8dd1894297fb1b095bff93842;hpb=cef26406ba22124a6ad6441a7ffee62bb44e9581;p=dpdk.git diff --git a/app/test/meson.build b/app/test/meson.build index c50b202757..2c23c6347b 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -30,6 +30,7 @@ test_sources = files('commands.c', 'test_cryptodev.c', 'test_cryptodev_asym.c', 'test_cryptodev_blockcipher.c', + 'test_cryptodev_security_pdcp.c', 'test_cycles.c', 'test_debug.c', 'test_distributor.c', @@ -297,27 +298,38 @@ dump_test_names = [ 'dump_memzone', ] -if dpdk_conf.has('RTE_LIBRTE_PDUMP') - test_deps += 'pdump' +# The following linkages are an exception to allow running the +# unit tests without requiring that the developer install the +# DPDK libraries. Explicit linkage of drivers (plugin libraries) +# in applications should not be used. +if dpdk_conf.has('RTE_LIBRTE_RING_MEMPOOL') + test_deps += 'mempool_ring' endif -if dpdk_conf.has('RTE_LIBRTE_I40E_PMD') - test_deps += 'pmd_i40e' +if dpdk_conf.has('RTE_LIBRTE_STACK_MEMPOOL') + test_deps += 'mempool_stack' endif -if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD') - test_deps += 'pmd_ixgbe' +if dpdk_conf.has('RTE_LIBRTE_SKELETON_EVENTDEV_PMD') + test_deps += 'pmd_skeleton_event' endif + +# The following linkages of drivers are required because +# they are used via a driver-specific API. if dpdk_conf.has('RTE_LIBRTE_BOND_PMD') test_deps += 'pmd_bond' 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 +if dpdk_conf.has('RTE_LIBRTE_PDUMP') + test_deps += 'pdump' +endif cflags = machine_args if cc.has_argument('-Wno-format-truncation')