[PATCH 2/6] app/test: link unit test binary against all available libs
David Marchand
david.marchand at redhat.com
Wed Jan 19 17:51:20 CET 2022
On Thu, Jan 13, 2022 at 6:40 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> Rather than maintaining a list of the libraries the unit tests need, and
> having to conditionally include/omit optional libs from the list, we can
> just link against all available libraries, simplifying the code
> considerably.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> app/test/meson.build | 47 +-------------------------------------------
> 1 file changed, 1 insertion(+), 46 deletions(-)
>
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 344a609a4d..9919de4307 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -157,39 +157,7 @@ test_sources = files(
> 'virtual_pmd.c',
> )
>
> -test_deps = [
> - 'acl',
> - 'bus_pci',
> - 'bus_vdev',
bus_pci and bus_vdev are not "libraries", but "drivers" dependencies
and must be kept.
This probably explains an error seen in UNH test report for a job that
disables all but those bus drivers and net/hns3:
http://mails.dpdk.org/archives/test-report/2022-January/251477.html
--
David Marchand
More information about the dev
mailing list