[dpdk-dev] [PATCH 4/4] devtools: add autotest app to build script

Bruce Richardson bruce.richardson at intel.com
Wed Mar 29 16:04:19 CEST 2017


Since the test app is no longer being build by default as part of a build,
we need to update the testbuild script to take account of this. Rather than
just doing a "make" in the build directory, we can instead do "make
test-build" which does a normal build as well as building the test
application too.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 devtools/test-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index a38ffab..0894bbd 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -227,7 +227,7 @@ for conf in $configs ; do
 	config $dir $target $options
 
 	echo "================== Build $dir"
-	make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
+	make -j$J test-build EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
 		EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose O=$dir
 	! $short || break
 	echo "================== Build examples for $dir"
-- 
2.9.3



More information about the dev mailing list