[dpdk-dev] [PATCH v2] devtools: add compressdev tests to test-build

Pablo de Lara pablo.de.lara.guarch at intel.com
Thu Jul 19 05:07:52 CEST 2018


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 at 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(+)

diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index 3ea82bb46..0a420da0b 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -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
-- 
2.14.4



More information about the dev mailing list