mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Enable leak checks for btests that produce runtime exceptions
These were previously reporting leaks due to various allocations not getting cleaned up during the stack unwind, but at the current state of the transition toward IntrusivePtr usage, theses tests no longer leak.
This commit is contained in:
parent
427150b27a
commit
98d94ec785
31 changed files with 81 additions and 97 deletions
|
@ -1,5 +1,4 @@
|
|||
# TODO: interpreter exceptions currently may cause memory leaks, so disable leak checks
|
||||
# @TEST-EXEC: ASAN_OPTIONS="$ASAN_OPTIONS,detect_leaks=0" zeek %INPUT
|
||||
# @TEST-EXEC: zeek %INPUT
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-remove-timestamps" btest-diff reporter.log
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# TODO: interpreter exceptions currently may cause memory leaks, so disable leak checks
|
||||
# @TEST-EXEC: ASAN_OPTIONS="$ASAN_OPTIONS,detect_leaks=0" zeek %INPUT
|
||||
# @TEST-EXEC: zeek %INPUT
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-remove-timestamps" btest-diff reporter.log
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue