Skip to content

Commit 72a7aad

Browse files
committed
ASan: Don't do leak checking
Sadly, we *know* we have benign leaks in hard-to-fix places. It would still be valuable to fail CI if ASan detects anything *else* - out of bounds writes, use-after-free, etc. Disable the leak checker so we can mark ASan failures as CI-fatal. Hopefully we can get get the leaks fixed or correctly-suppressed *some*time!
1 parent 459b52c commit 72a7aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spread/build/ubuntu/task.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ execute: |
8484
echo "OVERRIDE_CONFIGURE_OPTIONS += -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" >> debian/opts.mk
8585
8686
# build and run tests
87-
UBSAN_OPTIONS=halt_on_error=1 debian/rules build
87+
UBSAN_OPTIONS=halt_on_error=1 ASAN_OPTIONS=detect_leaks=0 debian/rules build
8888
8989
ccache --show-stats --zero-stats > ${CCACHE_DIR}/ccache.stats

0 commit comments

Comments
 (0)