mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Exit immediately after running unit tests
This commit is contained in:
parent
98845e89aa
commit
91eff92335
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ zeek::SetupResult zeek::setup(int argc, char** argv, zeek::Options* zopts)
|
||||||
auto dargs = to_cargs(options.doctest_args);
|
auto dargs = to_cargs(options.doctest_args);
|
||||||
context.applyCommandLine(dargs.size(), dargs.data());
|
context.applyCommandLine(dargs.size(), dargs.data());
|
||||||
ZEEK_LSAN_ENABLE();
|
ZEEK_LSAN_ENABLE();
|
||||||
return {context.run(), std::move(options)};
|
exit(context.run());
|
||||||
}
|
}
|
||||||
|
|
||||||
auto stem_state = zeek::Supervisor::CreateStem(options.supervisor_mode);
|
auto stem_state = zeek::Supervisor::CreateStem(options.supervisor_mode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue