blob: c8eb27acd0f990d683d459536e6383ae43f932e3 (
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
|
# 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-dnsresolver-ut)
target_include_directories(library-cpp-actors-dnsresolver-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver
${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
)
target_link_libraries(library-cpp-actors-dnsresolver-ut PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
cpp-testing-unittest_main
cpp-actors-dnsresolver
cpp-actors-testlib
)
target_link_options(library-cpp-actors-dnsresolver-ut PRIVATE
-ldl
-lrt
-Wl,--no-as-needed
-fPIC
-fPIC
-lpthread
-lrt
-ldl
)
target_sources(library-cpp-actors-dnsresolver-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand_ut.cpp
${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ut.cpp
)
set_property(
TARGET
library-cpp-actors-dnsresolver-ut
PROPERTY
SPLIT_FACTOR
1
)
add_yunittest(
NAME
library-cpp-actors-dnsresolver-ut
TEST_TARGET
library-cpp-actors-dnsresolver-ut
TEST_ARG
--print-before-suite
--print-before-test
--fork-tests
--print-times
--show-fails
)
set_yunittest_property(
TEST
library-cpp-actors-dnsresolver-ut
PROPERTY
LABELS
SMALL
)
set_yunittest_property(
TEST
library-cpp-actors-dnsresolver-ut
PROPERTY
PROCESSORS
1
)
target_allocator(library-cpp-actors-dnsresolver-ut
cpp-malloc-jemalloc
)
vcs_info(library-cpp-actors-dnsresolver-ut)
|