devtools: load all drivers in null test
Rather than specifying specific drivers in the driver directory to load, we can just pass in the whole driver directory to the "-d" EAL flag, causing all drivers to load. This makes the load of driver independent of any specific driver names. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
This commit is contained in:
parent
63b3907833
commit
5bd4790174
@ -20,8 +20,8 @@ if [ ! -f "$testpmd" ] ; then
|
||||
fi
|
||||
|
||||
if ldd $testpmd | grep -q librte_ ; then
|
||||
export LD_LIBRARY_PATH=$build/drivers:$build/lib:$LD_LIBRARY_PATH
|
||||
libs='-d librte_mempool_ring.so -d librte_pmd_null.so'
|
||||
export LD_LIBRARY_PATH=$build/lib:$LD_LIBRARY_PATH
|
||||
libs="-d $build/drivers"
|
||||
else
|
||||
libs=
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user