devtools: test build of zlib PMD
authorThomas Monjalon <thomas@monjalon.net>
Tue, 12 Feb 2019 22:18:54 +0000 (23:18 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 24 Feb 2019 22:24:11 +0000 (23:24 +0100)
The PMD zlib was not enabled in devtools/test-build.sh.
It is fixed by using the environment variable DPDK_DEP_ZLIB.

Fixes: 0c4e4c16b004 ("compress/zlib: introduce zlib PMD")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
devtools/test-build.sh

index ace52a7..0511ae6 100755 (executable)
@@ -158,6 +158,8 @@ config () # <directory> <target> <options>
                test "$DPDK_DEP_ZLIB" != y || \
                sed -ri          's,(BNX2X_PMD=)n,\1y,' $1/.config
                test "$DPDK_DEP_ZLIB" != y || \
+               sed -ri           's,(PMD_ZLIB=)n,\1y,' $1/.config
+               test "$DPDK_DEP_ZLIB" != y || \
                sed -ri   's,(COMPRESSDEV_TEST=)n,\1y,' $1/.config
                test "$DPDK_DEP_PCAP" != y || \
                sed -ri               's,(PCAP=)n,\1y,' $1/.config