test/bonding: allow disabling driver
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 1 May 2020 15:05:49 +0000 (16:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 11 May 2020 19:40:12 +0000 (21:40 +0200)
commit7f6ef1664027982e5c8f1290385d25224de19e83
tree26ba028e159669cab38b86d0bc5c90d4eca213f9
parentf4d1e19c293dc95073614f630ea729cf0bfb57b7
test/bonding: allow disabling driver

The autotest application build was partially enabled for building with
the net/bond driver disabled, but a number of items were missed, leading
to build errors when the driver was disabled, e.g. by simply doing
"-Ddisable_drivers=net/*" when calling meson.

  ../app/test/test_link_bonding.c:25:10: fatal error: rte_eth_bond.h: \
No such file or directory

With this fix in place, it's possible to build DPDK with meson with all
non-bus, non-mempool drivers disabled i.e. using meson option

-Ddisable_drivers=baseband/*,compress/*,crypto/*,event/*,net/*,raw/*,vdpa/*

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tested-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
app/test/meson.build