devtools: add compressdev tests to build test
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 19 Jul 2018 03:07:52 +0000 (04:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 09:08:05 +0000 (11:08 +0200)
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>
devtools/test-build.sh

index f6db99f..1eee241 100755 (executable)
@@ -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
                test "$DPDK_DEP_PCAP" != y || \
                sed -ri               's,(PCAP=)n,\1y,' $1/.config
                test -z "$ARMV8_CRYPTO_LIB_PATH" || \