Skip to content

Commit 0c2b5b4

Browse files
authored
Re-enable ASan testing (without LSan which still fails due to #1351) (#2490)
1 parent 9d4acee commit 0c2b5b4

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
sources: ['ubuntu-toolchain-r-test']
4848
packages: ['cmake', 'g++-5', 'python3-pip']
4949
before_install:
50-
- export ASAN_OPTIONS="symbolize=1"
50+
- export ASAN_OPTIONS="$ASAN_OPTIONS symbolize=1"
5151
install:
5252
- nvm install 12
5353
- nvm use 12
@@ -80,9 +80,10 @@ jobs:
8080
COMPILER_FLAGS="-fsanitize=undefined -fno-sanitize-recover=all -fsanitize-blacklist=$(pwd)/ubsan.blacklist"
8181
8282
# FIXME we currently must disable LSAN entirely, see #1351
83-
#- <<: *test-ubuntu
84-
# env: |
85-
# COMPILER_FLAGS="-fsanitize=address"
83+
- <<: *test-ubuntu
84+
env: |
85+
COMPILER_FLAGS="-fsanitize=address"
86+
ASAN_OPTIONS="detect_leaks=0"
8687
8788
- <<: *test-ubuntu
8889
env: |

0 commit comments

Comments
 (0)