All of lore.kernel.org
 help / color / mirror / Atom feed
* [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 related	[flat|nested] 2+ messages in thread

* Re: [PATCH] devtools: add test build to default build
  2017-03-27 14:35 [PATCH] devtools: add test build to default build Ferruh Yigit
@ 2017-04-06 19:34 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-04-06 19:34 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

2017-03-27 15:35, 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>

Bruce's version has been picked:
	http://dpdk.org/patch/22750

^ 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 [PATCH] devtools: add test build to default build Ferruh Yigit
2017-04-06 19:34 ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.