mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Enable LeakSanitizer for unit tests run via doctest
This commit is contained in:
parent
66ca20b737
commit
a4089bc659
2 changed files with 2 additions and 0 deletions
|
@ -454,6 +454,7 @@ int main(int argc, char** argv)
|
|||
#else
|
||||
doctest::Context context;
|
||||
context.applyCommandLine(std::distance(first, separator), argv);
|
||||
ZEEK_LSAN_ENABLE();
|
||||
return context.run();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue