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

Message ID 20180719030752.32484-1-pablo.de.lara.guarch@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v2] devtools: add compressdev tests to test-build |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

De Lara Guarch, Pablo July 19, 2018, 3:07 a.m. UTC
  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

Thomas Monjalon July 26, 2018, 9:04 a.m. UTC | #1
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
  

Patch

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