mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 06:33:06 +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:
|
||||
- clang-10
|
||||
- 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:
|
||||
# Do a manual build+test sequence rather than using all.sh,
|
||||
# because there's no all.sh component that does what we want,
|
||||
@ -89,6 +93,10 @@ jobs:
|
||||
apt:
|
||||
packages:
|
||||
- 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:
|
||||
# Do a manual build+test sequence rather than using all.sh.
|
||||
#
|
||||
@ -115,6 +123,10 @@ jobs:
|
||||
packages:
|
||||
- clang
|
||||
- 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:
|
||||
# Do a manual build+test sequence rather than using all.sh.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user