aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/core/mind/ut/CMakeLists.linux.txt
blob: a7d54213a9cca8a650a8d05e07a27909a1dfec53 (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
# 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(ydb-core-mind-ut)
target_compile_options(ydb-core-mind-ut PRIVATE
  -DUSE_CURRENT_UDF_ABI_VERSION
)
target_include_directories(ydb-core-mind-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/core/mind
)
target_link_libraries(ydb-core-mind-ut PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  cpp-malloc-tcmalloc
  libs-tcmalloc-no_percpu_cache
  library-cpp-cpuid_check
  cpp-testing-unittest_main
  ydb-core-mind
  library-cpp-getopt
  cpp-regex-pcre
  library-cpp-svnversion
  core-testlib-default
)
target_link_options(ydb-core-mind-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(ydb-core-mind-ut PRIVATE
  \${CMAKE_SOURCE_DIR}/ydb/core/mind/node_broker_ut.cpp
  \${CMAKE_SOURCE_DIR}/ydb/core/mind/tenant_ut_local.cpp
  \${CMAKE_SOURCE_DIR}/ydb/core/mind/tenant_ut_pool.cpp
  \${CMAKE_SOURCE_DIR}/ydb/core/mind/tenant_node_enumeration_ut.cpp
)
set_property(
  TARGET
  ydb-core-mind-ut
  PROPERTY
  SPLIT_FACTOR
  80
)
add_yunittest(
  NAME
  ydb-core-mind-ut
  TEST_TARGET
  ydb-core-mind-ut
  TEST_ARG
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)
set_yunittest_property(
  TEST
  ydb-core-mind-ut
  PROPERTY
  LABELS
  MEDIUM
)
set_yunittest_property(
  TEST
  ydb-core-mind-ut
  PROPERTY
  PROCESSORS
  4
)
set_yunittest_property(
  TEST
  ydb-core-mind-ut
  PROPERTY
  TIMEOUT
  600
)
vcs_info(ydb-core-mind-ut)