aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/testlib
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/actors/testlib
parent850c48ccf9cadbf8096c6b5015e064c38d0d912e (diff)
downloadydb-2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457.tar.gz
Revert commit rXXXXXX,Add env semantic
Diffstat (limited to 'library/cpp/actors/testlib')
-rw-r--r--library/cpp/actors/testlib/ut/CMakeLists.darwin-arm64.txt13
-rw-r--r--library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt14
-rw-r--r--library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt14
-rw-r--r--library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt16
-rw-r--r--library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt14
5 files changed, 71 insertions, 0 deletions
diff --git a/library/cpp/actors/testlib/ut/CMakeLists.darwin-arm64.txt b/library/cpp/actors/testlib/ut/CMakeLists.darwin-arm64.txt
index 89c8ba99c7..ae1df12ed6 100644
--- a/library/cpp/actors/testlib/ut/CMakeLists.darwin-arm64.txt
+++ b/library/cpp/actors/testlib/ut/CMakeLists.darwin-arm64.txt
@@ -11,6 +11,13 @@ add_executable(library-cpp-actors-testlib-ut)
target_include_directories(library-cpp-actors-testlib-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib
)
+target_link_libraries(library-cpp-actors-testlib-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest_main
+ cpp-actors-testlib
+ cpp-actors-core
+)
target_link_options(library-cpp-actors-testlib-ut PRIVATE
-Wl,-platform_version,macos,11.0,11.0
-fPIC
@@ -18,6 +25,9 @@ target_link_options(library-cpp-actors-testlib-ut PRIVATE
-framework
CoreFoundation
)
+target_sources(library-cpp-actors-testlib-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-testlib-ut
@@ -51,4 +61,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-testlib-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-testlib-ut)
diff --git a/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt
index 89c8ba99c7..03d106c63f 100644
--- a/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt
+++ b/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt
@@ -11,6 +11,14 @@ add_executable(library-cpp-actors-testlib-ut)
target_include_directories(library-cpp-actors-testlib-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib
)
+target_link_libraries(library-cpp-actors-testlib-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-testlib
+ cpp-actors-core
+)
target_link_options(library-cpp-actors-testlib-ut PRIVATE
-Wl,-platform_version,macos,11.0,11.0
-fPIC
@@ -18,6 +26,9 @@ target_link_options(library-cpp-actors-testlib-ut PRIVATE
-framework
CoreFoundation
)
+target_sources(library-cpp-actors-testlib-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-testlib-ut
@@ -51,4 +62,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-testlib-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-testlib-ut)
diff --git a/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt
index 36ab768399..598b6e53de 100644
--- a/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt
@@ -11,6 +11,14 @@ add_executable(library-cpp-actors-testlib-ut)
target_include_directories(library-cpp-actors-testlib-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib
)
+target_link_libraries(library-cpp-actors-testlib-ut PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest_main
+ cpp-actors-testlib
+ cpp-actors-core
+)
target_link_options(library-cpp-actors-testlib-ut PRIVATE
-ldl
-lrt
@@ -21,6 +29,9 @@ target_link_options(library-cpp-actors-testlib-ut PRIVATE
-lrt
-ldl
)
+target_sources(library-cpp-actors-testlib-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-testlib-ut
@@ -54,4 +65,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-testlib-ut
+ cpp-malloc-jemalloc
+)
vcs_info(library-cpp-actors-testlib-ut)
diff --git a/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt
index 36ab768399..42713842da 100644
--- a/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt
+++ b/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt
@@ -11,6 +11,15 @@ add_executable(library-cpp-actors-testlib-ut)
target_include_directories(library-cpp-actors-testlib-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib
)
+target_link_libraries(library-cpp-actors-testlib-ut PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-testlib
+ cpp-actors-core
+)
target_link_options(library-cpp-actors-testlib-ut PRIVATE
-ldl
-lrt
@@ -21,6 +30,9 @@ target_link_options(library-cpp-actors-testlib-ut PRIVATE
-lrt
-ldl
)
+target_sources(library-cpp-actors-testlib-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-testlib-ut
@@ -54,4 +66,8 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-testlib-ut
+ cpp-malloc-tcmalloc
+ libs-tcmalloc-no_percpu_cache
+)
vcs_info(library-cpp-actors-testlib-ut)
diff --git a/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt
index 084b0187b2..077ccae7fb 100644
--- a/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt
+++ b/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt
@@ -11,6 +11,17 @@ add_executable(library-cpp-actors-testlib-ut)
target_include_directories(library-cpp-actors-testlib-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib
)
+target_link_libraries(library-cpp-actors-testlib-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-testlib
+ cpp-actors-core
+)
+target_sources(library-cpp-actors-testlib-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-testlib-ut
@@ -44,4 +55,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-testlib-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-testlib-ut)