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 <[email protected]>
---
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