aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-11-24 13:37:43 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-11-24 14:44:06 +0300
commit2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457 (patch)
treeaddbbf6332d3df6d6a657d3c7b8a4159ba58be63 /library/cpp/testing
parent850c48ccf9cadbf8096c6b5015e064c38d0d912e (diff)
downloadydb-2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457.tar.gz
Revert commit rXXXXXX,Add env semantic
Diffstat (limited to 'library/cpp/testing')
-rw-r--r--library/cpp/testing/CMakeLists.txt4
-rw-r--r--library/cpp/testing/gtest/CMakeLists.darwin-arm64.txt25
-rw-r--r--library/cpp/testing/gtest/CMakeLists.darwin-x86_64.txt25
-rw-r--r--library/cpp/testing/gtest/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/testing/gtest/CMakeLists.linux-x86_64.txt26
-rw-r--r--library/cpp/testing/gtest/CMakeLists.txt19
-rw-r--r--library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt25
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.darwin-arm64.txt18
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.darwin-x86_64.txt18
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.linux-x86_64.txt19
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.txt19
-rw-r--r--library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt18
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.darwin-arm64.txt19
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.darwin-x86_64.txt19
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.linux-x86_64.txt20
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.txt19
-rw-r--r--library/cpp/testing/mock_server/CMakeLists.windows-x86_64.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.darwin-arm64.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.darwin-x86_64.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.linux-x86_64.txt20
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt19
25 files changed, 493 insertions, 0 deletions
diff --git a/library/cpp/testing/CMakeLists.txt b/library/cpp/testing/CMakeLists.txt
index 8d3cd11d2a..6e9e24fec8 100644
--- a/library/cpp/testing/CMakeLists.txt
+++ b/library/cpp/testing/CMakeLists.txt
@@ -10,6 +10,10 @@ add_subdirectory(benchmark)
add_subdirectory(common)
add_subdirectory(gbenchmark)
add_subdirectory(gmock_in_unittest)
+add_subdirectory(gtest)
add_subdirectory(gtest_extensions)
+add_subdirectory(gtest_main)
add_subdirectory(hook)
+add_subdirectory(mock_server)
add_subdirectory(unittest)
+add_subdirectory(unittest_main)
diff --git a/library/cpp/testing/gtest/CMakeLists.darwin-arm64.txt b/library/cpp/testing/gtest/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..41bc7e20f9
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,25 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest)
+target_link_libraries(cpp-testing-gtest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-string_utils-relaxed_escaper
+ cpp-testing-common
+ cpp-testing-gtest_extensions
+ cpp-testing-hook
+)
+target_sources(cpp-testing-gtest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp
+)
diff --git a/library/cpp/testing/gtest/CMakeLists.darwin-x86_64.txt b/library/cpp/testing/gtest/CMakeLists.darwin-x86_64.txt
new file mode 100644
index 0000000000..41bc7e20f9
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.darwin-x86_64.txt
@@ -0,0 +1,25 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest)
+target_link_libraries(cpp-testing-gtest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-string_utils-relaxed_escaper
+ cpp-testing-common
+ cpp-testing-gtest_extensions
+ cpp-testing-hook
+)
+target_sources(cpp-testing-gtest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp
+)
diff --git a/library/cpp/testing/gtest/CMakeLists.linux-aarch64.txt b/library/cpp/testing/gtest/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e172e2381a
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest)
+target_link_libraries(cpp-testing-gtest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-string_utils-relaxed_escaper
+ cpp-testing-common
+ cpp-testing-gtest_extensions
+ cpp-testing-hook
+)
+target_sources(cpp-testing-gtest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp
+)
diff --git a/library/cpp/testing/gtest/CMakeLists.linux-x86_64.txt b/library/cpp/testing/gtest/CMakeLists.linux-x86_64.txt
new file mode 100644
index 0000000000..e172e2381a
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.linux-x86_64.txt
@@ -0,0 +1,26 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest)
+target_link_libraries(cpp-testing-gtest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-string_utils-relaxed_escaper
+ cpp-testing-common
+ cpp-testing-gtest_extensions
+ cpp-testing-hook
+)
+target_sources(cpp-testing-gtest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp
+)
diff --git a/library/cpp/testing/gtest/CMakeLists.txt b/library/cpp/testing/gtest/CMakeLists.txt
new file mode 100644
index 0000000000..2dce3a77fe
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+ include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+ include(CMakeLists.windows-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-x86_64.txt)
+endif()
diff --git a/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..41bc7e20f9
--- /dev/null
+++ b/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,25 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest)
+target_link_libraries(cpp-testing-gtest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-string_utils-relaxed_escaper
+ cpp-testing-common
+ cpp-testing-gtest_extensions
+ cpp-testing-hook
+)
+target_sources(cpp-testing-gtest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp
+)
diff --git a/library/cpp/testing/gtest_main/CMakeLists.darwin-arm64.txt b/library/cpp/testing/gtest_main/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..1075010e22
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,18 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest_main)
+target_link_libraries(cpp-testing-gtest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-gtest
+)
+target_sources(cpp-testing-gtest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp
+)
diff --git a/library/cpp/testing/gtest_main/CMakeLists.darwin-x86_64.txt b/library/cpp/testing/gtest_main/CMakeLists.darwin-x86_64.txt
new file mode 100644
index 0000000000..1075010e22
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.darwin-x86_64.txt
@@ -0,0 +1,18 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest_main)
+target_link_libraries(cpp-testing-gtest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-gtest
+)
+target_sources(cpp-testing-gtest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp
+)
diff --git a/library/cpp/testing/gtest_main/CMakeLists.linux-aarch64.txt b/library/cpp/testing/gtest_main/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f3ef692fb6
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest_main)
+target_link_libraries(cpp-testing-gtest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-gtest
+)
+target_sources(cpp-testing-gtest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp
+)
diff --git a/library/cpp/testing/gtest_main/CMakeLists.linux-x86_64.txt b/library/cpp/testing/gtest_main/CMakeLists.linux-x86_64.txt
new file mode 100644
index 0000000000..f3ef692fb6
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.linux-x86_64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest_main)
+target_link_libraries(cpp-testing-gtest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-gtest
+)
+target_sources(cpp-testing-gtest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp
+)
diff --git a/library/cpp/testing/gtest_main/CMakeLists.txt b/library/cpp/testing/gtest_main/CMakeLists.txt
new file mode 100644
index 0000000000..2dce3a77fe
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+ include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+ include(CMakeLists.windows-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-x86_64.txt)
+endif()
diff --git a/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..1075010e22
--- /dev/null
+++ b/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,18 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gtest_main)
+target_link_libraries(cpp-testing-gtest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-gtest
+)
+target_sources(cpp-testing-gtest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp
+)
diff --git a/library/cpp/testing/mock_server/CMakeLists.darwin-arm64.txt b/library/cpp/testing/mock_server/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..a5d1538c15
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-mock_server)
+target_link_libraries(cpp-testing-mock_server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-server
+)
+target_sources(cpp-testing-mock_server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/mock_server/server.cpp
+)
diff --git a/library/cpp/testing/mock_server/CMakeLists.darwin-x86_64.txt b/library/cpp/testing/mock_server/CMakeLists.darwin-x86_64.txt
new file mode 100644
index 0000000000..a5d1538c15
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.darwin-x86_64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-mock_server)
+target_link_libraries(cpp-testing-mock_server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-server
+)
+target_sources(cpp-testing-mock_server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/mock_server/server.cpp
+)
diff --git a/library/cpp/testing/mock_server/CMakeLists.linux-aarch64.txt b/library/cpp/testing/mock_server/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c630a22d23
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-mock_server)
+target_link_libraries(cpp-testing-mock_server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-server
+)
+target_sources(cpp-testing-mock_server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/mock_server/server.cpp
+)
diff --git a/library/cpp/testing/mock_server/CMakeLists.linux-x86_64.txt b/library/cpp/testing/mock_server/CMakeLists.linux-x86_64.txt
new file mode 100644
index 0000000000..c630a22d23
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.linux-x86_64.txt
@@ -0,0 +1,20 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-mock_server)
+target_link_libraries(cpp-testing-mock_server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-server
+)
+target_sources(cpp-testing-mock_server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/mock_server/server.cpp
+)
diff --git a/library/cpp/testing/mock_server/CMakeLists.txt b/library/cpp/testing/mock_server/CMakeLists.txt
new file mode 100644
index 0000000000..2dce3a77fe
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+ include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+ include(CMakeLists.windows-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-x86_64.txt)
+endif()
diff --git a/library/cpp/testing/mock_server/CMakeLists.windows-x86_64.txt b/library/cpp/testing/mock_server/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..a5d1538c15
--- /dev/null
+++ b/library/cpp/testing/mock_server/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-mock_server)
+target_link_libraries(cpp-testing-mock_server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-server
+)
+target_sources(cpp-testing-mock_server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/mock_server/server.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.darwin-arm64.txt b/library/cpp/testing/unittest_main/CMakeLists.darwin-arm64.txt
new file mode 100644
index 0000000000..47d1aa79f6
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.darwin-x86_64.txt b/library/cpp/testing/unittest_main/CMakeLists.darwin-x86_64.txt
new file mode 100644
index 0000000000..47d1aa79f6
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.darwin-x86_64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt b/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..38c9a6036d
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.linux-x86_64.txt b/library/cpp/testing/unittest_main/CMakeLists.linux-x86_64.txt
new file mode 100644
index 0000000000..38c9a6036d
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.linux-x86_64.txt
@@ -0,0 +1,20 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.txt b/library/cpp/testing/unittest_main/CMakeLists.txt
new file mode 100644
index 0000000000..2dce3a77fe
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
+ include(CMakeLists.darwin-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
+ include(CMakeLists.darwin-arm64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+ include(CMakeLists.windows-x86_64.txt)
+elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
+ include(CMakeLists.linux-x86_64.txt)
+endif()
diff --git a/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..47d1aa79f6
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,19 @@
+
+# This file was generated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)