Disable LeakSanitizer for btests that have known leaks

E.g. ones that throw interpreter exceptions,  as those are currently
known to potentially cause leaks.  Fixing the underlying leaks involves
the larger task of more IntrusivePtr usage.

Reference cycles may also cause leaks.
This commit is contained in:
Jon Siwek 2019-12-23 11:21:46 -08:00
parent d917737766
commit 0fe2a14d98
32 changed files with 100 additions and 82 deletions

View file

@ -1,4 +1,5 @@
# @TEST-EXEC: zeek -b %INPUT
# TODO: interpreter exceptions currently may cause memory leaks, so disable leak checks
# @TEST-EXEC: ASAN_OPTIONS="detect_leaks=0" zeek -b %INPUT
# @TEST-EXEC: cp .stderr output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output