mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
GH-1208: Use Dictionary validity assertions only during CI
This commit is contained in:
parent
3f25214914
commit
3c4de51f40
2 changed files with 2 additions and 1 deletions
|
@ -161,6 +161,7 @@ sanitizer_task:
|
|||
<< : *CI_TEMPLATE
|
||||
test_fuzzers_script: ./ci/test-fuzzers.sh
|
||||
env:
|
||||
CXXFLAGS: -DZEEK_DICT_DEBUG
|
||||
ZEEK_CI_CONFIGURE_FLAGS: *SANITIZER_CONFIG
|
||||
ZEEK_TAILORED_UB_CHECKS: 1
|
||||
UBSAN_OPTIONS: print_stacktrace=1
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "3rdparty/doctest.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#if defined(DEBUG) && defined(ZEEK_DICT_DEBUG)
|
||||
#define ASSERT_VALID(o) o->AssertValid()
|
||||
#else
|
||||
#define ASSERT_VALID(o)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue