test: allow running shared build without installing
authorMichael Santana <msantana@redhat.com>
Fri, 2 Aug 2019 21:25:51 +0000 (17:25 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 2 Aug 2019 21:53:25 +0000 (23:53 +0200)
commit9b1c025cfe0a0bbae62bcda867e1ad6ccdf9cd39
tree8d253b43482383b0095127bb09bace26bad8e9e2
parent04b83f8f4501e50bcd3e51fe1664e360189763a6
test: allow running shared build without installing

Currently many unit tests fail when running tests under shared builds.
This happens because of missing driver dependencies. This is fixed by
explicitly linking in missing drivers for the test application.

before and after (clang):
https://travis-ci.com/Maickii/dpdk-2/jobs/212329160#L623
https://travis-ci.com/Maickii/dpdk-2/jobs/212335912#L620

Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Michael Santana <msantana@redhat.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
app/test/meson.build