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

Message ID 20170329140419.27149-5-bruce.richardson@intel.com (mailing list archive)
State Superseded, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson March 29, 2017, 2:04 p.m. UTC
  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@intel.com>
---
 devtools/test-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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"