mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
travis: use valgrind when running tests for debug builds
Except the non-x86 and sanitizer builds Closes #6154
This commit is contained in:
parent
b8895509a0
commit
606d213766
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user