mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-06 21:40:11 +00:00
Add msan and asan env variables to .travis.yml
This way the CI tests don't fail on a null allocation. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
026235c4ec
commit
548894fea1
12
.travis.yml
12
.travis.yml
@ -32,6 +32,10 @@ jobs:
|
|||||||
packages:
|
packages:
|
||||||
- clang-10
|
- clang-10
|
||||||
- gnutls-bin
|
- gnutls-bin
|
||||||
|
env:
|
||||||
|
# Platform tests have an allocation that returns null
|
||||||
|
- ASAN_OPTIONS="allocator_may_return_null=1"
|
||||||
|
- MSAN_OPTIONS="allocator_may_return_null=1"
|
||||||
script:
|
script:
|
||||||
# Do a manual build+test sequence rather than using all.sh,
|
# Do a manual build+test sequence rather than using all.sh,
|
||||||
# because there's no all.sh component that does what we want,
|
# because there's no all.sh component that does what we want,
|
||||||
@ -89,6 +93,10 @@ jobs:
|
|||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- gcc
|
- gcc
|
||||||
|
env:
|
||||||
|
# Platform tests have an allocation that returns null
|
||||||
|
- ASAN_OPTIONS="allocator_may_return_null=1"
|
||||||
|
- MSAN_OPTIONS="allocator_may_return_null=1"
|
||||||
script:
|
script:
|
||||||
# Do a manual build+test sequence rather than using all.sh.
|
# Do a manual build+test sequence rather than using all.sh.
|
||||||
#
|
#
|
||||||
@ -115,6 +123,10 @@ jobs:
|
|||||||
packages:
|
packages:
|
||||||
- clang
|
- clang
|
||||||
- gnutls-bin
|
- gnutls-bin
|
||||||
|
env:
|
||||||
|
# Platform tests have an allocation that returns null
|
||||||
|
- ASAN_OPTIONS="allocator_may_return_null=1"
|
||||||
|
- MSAN_OPTIONS="allocator_may_return_null=1"
|
||||||
script:
|
script:
|
||||||
# Do a manual build+test sequence rather than using all.sh.
|
# Do a manual build+test sequence rather than using all.sh.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user