// Copyright (c) 2020-now by the Zeek Project. See LICENSE for details. #include #define DOCTEST_CONFIG_IMPLEMENT #include struct RuntimeWrapper { ~RuntimeWrapper() { hilti::rt::done(); } }; // NOLINTNEXTLINE(bugprone-exception-escape) int main(int argc, char** argv) { doctest::Context context; auto rt = RuntimeWrapper(); context.applyCommandLine(argc, argv); int result = context.run(); if ( context.shouldExit() ) return result; return result; }