From 5bd4790174107768aba329032a3a8cd6994bac89 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 15 Oct 2020 16:05:52 +0100 Subject: [PATCH] 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 --- devtools/test-null.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1