summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-01 23:26:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-02 17:10:50 +0100
commit606d213766fb94a4653ec41ef3b91cc0a96b9570 (patch)
treef3d77323ed15b25c1c80588b858b6983a4fca82e
parentb8895509a07fd60677eed53bfce0947aa5a8e409 (diff)
downloadcurl-606d213766fb94a4653ec41ef3b91cc0a96b9570.tar.gz
travis: use valgrind when running tests for debug builds
Except the non-x86 and sanitizer builds Closes #6154
-rw-r--r--.travis.yml8
-rwxr-xr-xscripts/travis/script.sh2
2 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 2f036c833..6ee8228ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -334,7 +334,7 @@ jobs:
- libbrotli-dev
- libzstd-dev
- env:
- - T=debug CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" LIBS="-ldl -lubsan"
+ - T=debug CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g" LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" LIBS="-ldl -lubsan" TFLAGS=-n
- *clang
compiler: clang
addons:
@@ -346,7 +346,7 @@ jobs:
- libbrotli-dev
- libzstd-dev
- env:
- - T=debug C=""
+ - T=debug C="" TFLAGS=-n
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
arch: arm64
addons:
@@ -364,7 +364,7 @@ jobs:
- zlib1g-dev
- env:
- - T=debug C=""
+ - T=debug C="" TFLAGS=-n
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
arch: ppc64le
addons:
@@ -382,7 +382,7 @@ jobs:
- zlib1g-dev
- env:
- - T=debug C=""
+ - T=debug C="" TFLAGS=-n
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
arch: s390x
addons:
diff --git a/scripts/travis/script.sh b/scripts/travis/script.sh
index 732a50fd7..4b7b7bb0a 100755
--- a/scripts/travis/script.sh
+++ b/scripts/travis/script.sh
@@ -49,7 +49,7 @@ if [ "$T" = "debug" ]; then
make
make examples
if [ -z $NOTESTS ]; then
- make TFLAGS=-n test-nonflaky
+ make test-nonflaky
fi
fi