mirror of
https://github.com/moparisthebest/curl
synced 2025-01-12 22:48:02 -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
|
- libbrotli-dev
|
||||||
- libzstd-dev
|
- libzstd-dev
|
||||||
- env:
|
- 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
|
- *clang
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
@ -346,7 +346,7 @@ jobs:
|
|||||||
- libbrotli-dev
|
- libbrotli-dev
|
||||||
- libzstd-dev
|
- libzstd-dev
|
||||||
- env:
|
- env:
|
||||||
- T=debug C=""
|
- T=debug C="" TFLAGS=-n
|
||||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||||
arch: arm64
|
arch: arm64
|
||||||
addons:
|
addons:
|
||||||
@ -364,7 +364,7 @@ jobs:
|
|||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
|
|
||||||
- env:
|
- env:
|
||||||
- T=debug C=""
|
- T=debug C="" TFLAGS=-n
|
||||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
addons:
|
addons:
|
||||||
@ -382,7 +382,7 @@ jobs:
|
|||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
|
|
||||||
- env:
|
- env:
|
||||||
- T=debug C=""
|
- T=debug C="" TFLAGS=-n
|
||||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||||
arch: s390x
|
arch: s390x
|
||||||
addons:
|
addons:
|
||||||
|
@ -49,7 +49,7 @@ if [ "$T" = "debug" ]; then
|
|||||||
make
|
make
|
||||||
make examples
|
make examples
|
||||||
if [ -z $NOTESTS ]; then
|
if [ -z $NOTESTS ]; then
|
||||||
make TFLAGS=-n test-nonflaky
|
make test-nonflaky
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user