1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

travis: use valgrind when running tests for debug builds

Except the non-x86 and sanitizer builds

Closes #6154
This commit is contained in:
Daniel Stenberg 2020-11-01 23:26:04 +01:00
parent b8895509a0
commit 606d213766
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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