[v2] devtools: add compressdev tests to test-build
Checks
Commit Message
Compressdev tests depend on Zlib library,
so they can only be enabled if this is available.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
v2:
- Add test "$DPDK_DEP_ZLIB" != y" line, to actually check for the
Zlib dependency
devtools/test-build.sh | 2 ++
1 file changed, 2 insertions(+)
Comments
19/07/2018 05:07, Pablo de Lara:
> Compressdev tests depend on Zlib library,
> so they can only be enabled if this is available.
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Applied, thanks
@@ -153,6 +153,8 @@ config () # <directory> <target> <options>
sed -ri 's,(PMD_SZEDATA2=)n,\1y,' $1/.config
test "$DPDK_DEP_ZLIB" != y || \
sed -ri 's,(BNX2X_PMD=)n,\1y,' $1/.config
+ test "$DPDK_DEP_ZLIB" != y || \
+ sed -ri 's,(COMPRESSDEV_TEST=)n,\1y,' $1/.config
sed -ri 's,(NFP_PMD=)n,\1y,' $1/.config
test "$DPDK_DEP_PCAP" != y || \
sed -ri 's,(PCAP=)n,\1y,' $1/.config