diff options
| author | rp-1 <[email protected]> | 2025-10-03 14:27:04 +0300 |
|---|---|---|
| committer | rp-1 <[email protected]> | 2025-10-03 15:13:39 +0300 |
| commit | c1ffdb950536fb476f714704061d8714536db34a (patch) | |
| tree | 726f9fee445b2ffeb60c8a3475b09de5c6b4a7a8 /library/cpp/testing/gtest/main.cpp | |
| parent | 71330c140e37851e7d801ac0148e636346997036 (diff) | |
Move NYT::Initialize to separate "weak" hook
Move BEFORE_INIT hook to the beginning
commit_hash:9cbf1d95bf1cda4bcce0d3ab9207debcab65391b
Diffstat (limited to 'library/cpp/testing/gtest/main.cpp')
| -rw-r--r-- | library/cpp/testing/gtest/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/testing/gtest/main.cpp b/library/cpp/testing/gtest/main.cpp index 38504b56904..89ad6bfb1dc 100644 --- a/library/cpp/testing/gtest/main.cpp +++ b/library/cpp/testing/gtest/main.cpp @@ -4,6 +4,7 @@ #include <library/cpp/string_utils/relaxed_escaper/relaxed_escaper.h> #include <library/cpp/testing/common/env.h> #include <library/cpp/testing/hook/hook.h> +#include <library/cpp/testing/hook/yt_initialize_hook.h> #include <util/generic/scope.h> #include <util/string/join.h> #include <util/system/src_root.h> @@ -241,6 +242,8 @@ namespace { } int NGTest::Main(int argc, char** argv) { + InitializeYt(argc, argv); + auto flags = ParseFlags(argc, argv); ::testing::GTEST_FLAG(filter) = flags.Filter; |
