* [dpdk-dev] [PATCH] devtools: add test build to default build
@ 2017-03-27 14:35 Ferruh Yigit
2017-04-06 19:34 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2017-03-27 14:35 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, Ferruh Yigit
Test build removed from default build, it needs to be added explicitly
to the test-build script.
Fixes: 7d3b1ec47fae ("test: move unit tests to separate directory")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
devtools/test-build.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index 84d3165..fc00bf3 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -230,9 +230,13 @@ for conf in $configs ; do
make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose O=$dir
! $short || break
- echo "================== Build examples for $dir"
export RTE_SDK=$(pwd)
export RTE_TARGET=$dir
+ echo "================== Build tests for $dir"
+ make -j$J EXTRA_CFLAGS="$maxerr $DPDK_DEP_CFLAGS" \
+ EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose O=$dir \
+ test-build
+ echo "================== Build examples for $dir"
make -j$J -sC examples \
EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \
O=$(readlink -m $dir/examples)
--
2.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-06 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 14:35 [dpdk-dev] [PATCH] devtools: add test build to default build Ferruh Yigit
2017-04-06 19:34 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).