aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/ut/CMakeLists.linux-x86_64.txt
blob: 3ee5b5f656238238430e23cfae4c09c1d8d32e41 (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
81
82
83
84
85
86
87
88
89
90
91
# 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_subdirectory(lib)
add_subdirectory(protos)

add_executable(library-cpp-actors-interconnect-ut)
target_link_libraries(library-cpp-actors-interconnect-ut PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  library-cpp-cpuid_check
  cpp-testing-unittest_main
  cpp-actors-core
  cpp-actors-interconnect
  interconnect-ut-lib
  interconnect-ut-protos
  cpp-actors-testlib
  cpp-digest-md5
  cpp-testing-unittest
)
target_link_options(library-cpp-actors-interconnect-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(library-cpp-actors-interconnect-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/channel_scheduler_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/event_holder_pool_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/interconnect_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/large.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/outgoing_stream_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/poller_actor_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/dynamic_proxy_ut.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/sticking_ut.cpp
)
set_property(
  TARGET
  library-cpp-actors-interconnect-ut
  PROPERTY
  SPLIT_FACTOR
  1
)
add_yunittest(
  NAME
  library-cpp-actors-interconnect-ut
  TEST_TARGET
  library-cpp-actors-interconnect-ut
  TEST_ARG
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)
set_yunittest_property(
  TEST
  library-cpp-actors-interconnect-ut
  PROPERTY
  LABELS
  MEDIUM
)
set_yunittest_property(
  TEST
  library-cpp-actors-interconnect-ut
  PROPERTY
  PROCESSORS
  1
)
set_yunittest_property(
  TEST
  library-cpp-actors-interconnect-ut
  PROPERTY
  TIMEOUT
  600
)
target_allocator(library-cpp-actors-interconnect-ut
  cpp-malloc-tcmalloc
  libs-tcmalloc-no_percpu_cache
)
vcs_info(library-cpp-actors-interconnect-ut)