[dpdk-dev] devtools: add test build to default build
Checks
Commit Message
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(-)
Comments
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
@@ -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)