From: Bruce Richardson Date: Thu, 15 Oct 2020 15:05:52 +0000 (+0100) Subject: devtools: load all drivers in null test X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5bd4790174107768aba329032a3a8cd6994bac89;p=dpdk.git 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 Signed-off-by: Thomas Monjalon --- diff --git a/devtools/test-null.sh b/devtools/test-null.sh index 548de8113c..fa194f01f5 100755 --- a/devtools/test-null.sh +++ b/devtools/test-null.sh @@ -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