ClickHouse/contrib/googletest-cmake
Azat Khuzhin 720ea8441c Fix global context for tests with --gtest_filter
If you run tests that requires context, but do not initialize it, then
it will SIGSEGV, because Context is not initialized.

Fix this by using google test envrionment, and instead of gtest_main
implement own main function that will initialize it.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-13 13:44:30 +02:00
..
CMakeLists.txt Fix global context for tests with --gtest_filter 2023-10-13 13:44:30 +02:00