blob: d1143a475b47a2de00c53471d2b57d9b55ad3eb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# 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_executable(library-cpp-actors-util-ut)
target_include_directories(library-cpp-actors-util-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/util
)
target_link_libraries(library-cpp-actors-util-ut PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
library-cpp-cpuid_check
cpp-testing-unittest_main
cpp-actors-util
)
target_link_options(library-cpp-actors-util-ut PRIVATE
-ldl
-lrt
-Wl,--no-as-needed
-fPIC
-fPIC
-lpthread
-lrt
-ldl
)
target_sources(library-cpp-actors-util-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/cpu_load_log_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/thread_load_log_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rope_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rc_buf_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_rope_backend_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_native_rope_backend_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/util/unordered_cache_ut.cpp
)
set_property(
TARGET
library-cpp-actors-util-ut
PROPERTY
SPLIT_FACTOR
1
)
add_yunittest(
NAME
library-cpp-actors-util-ut
TEST_TARGET
library-cpp-actors-util-ut
TEST_ARG
--print-before-suite
--print-before-test
--fork-tests
--print-times
--show-fails
)
set_yunittest_property(
TEST
library-cpp-actors-util-ut
PROPERTY
LABELS
SMALL
)
set_yunittest_property(
TEST
library-cpp-actors-util-ut
PROPERTY
PROCESSORS
1
)
target_allocator(library-cpp-actors-util-ut
cpp-malloc-tcmalloc
libs-tcmalloc-no_percpu_cache
)
vcs_info(library-cpp-actors-util-ut)
|