summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-19 11:13:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-10-19 16:31:43 +0200
commit18dd7cc9af1f1f87522cb6c1a8cec867b6d57b7d (patch)
tree9b1bfc50c3686dd38241162542e5dac39f3bc570
parent4282d5f9d06a1e4c6f9b48f0075cbe959b8a000d (diff)
downloadcurl-18dd7cc9af1f1f87522cb6c1a8cec867b6d57b7d.tar.gz
CI/travis: add brotli and zstd to the libssh2 build
... to make sure such tests are run with valgrind. Suppress the zstd valgrind warnings we get with version 1.3.3 on Ubuntu 18.04 (for debug and non-debug builds). Closes #6105
-rw-r--r--.travis.yml2
-rw-r--r--tests/valgrind.supp32
2 files changed, 34 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 2832a9cac..e69353574 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,6 +59,8 @@ jobs:
- *common_packages
- krb5-user
- libssh2-1-dev
+ - libbrotli-dev
+ - libzstd-dev
- env:
- T=normal C=--with-libssh
# Avoid bionic, its pre-release libssh version triggers deprecation warnings.
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
index 10b07314a..6d72a8bb4 100644
--- a/tests/valgrind.supp
+++ b/tests/valgrind.supp
@@ -1,4 +1,36 @@
{
+ zstd_decompression-1.3.3-on-Ubuntu-18.04
+ Memcheck:Cond
+ fun:ZSTD_decompressStream
+ fun:zstd_unencode_write
+ fun:Curl_unencode_write
+ fun:readwrite_data
+ fun:Curl_readwrite
+ fun:multi_runsingle
+ fun:curl_multi_perform
+ fun:easy_transfer
+ fun:easy_perform
+ fun:curl_easy_perform
+ fun:serial_transfers
+ fun:run_all_transfers
+ fun:operate
+ fun:main
+}
+
+{
+ zstd_decompression-1.3.3-on-Ubuntu-18.04-nondebug
+ Memcheck:Cond
+ fun:ZSTD_decompressStream
+ fun:zstd_unencode_write
+ fun:Curl_readwrite
+ fun:multi_runsingle
+ fun:curl_multi_perform
+ fun:curl_easy_perform
+ fun:operate
+ fun:main
+}
+
+{
libidn-idna_to_ascii-error
Memcheck:Addr4
fun:idna_to_ascii_4z