aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/library/binary_json/ut/CMakeLists.linux-x86_64.txt
blob: 9d9050ada017786f12d7eefb66abe12d5bab4fe0 (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
92
93
# 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-library-binary_json-ut)
target_compile_options(ydb-library-binary_json-ut PRIVATE
  -DUSE_CURRENT_UDF_ABI_VERSION
)
target_include_directories(ydb-library-binary_json-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json
)
target_link_libraries(ydb-library-binary_json-ut PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  library-cpp-cpuid_check
  cpp-testing-unittest_main
  ydb-library-binary_json
  library-yql-minikql
  yql-minikql-computation
  yql-minikql-dom
  yql-minikql-invoke_builtins
  udf-service-exception_policy
  core-issue-protos
  yql-sql-pg_dummy
)
target_link_options(ydb-library-binary_json-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
target_sources(ydb-library-binary_json-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/container_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/identity_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/entry_ut.cpp
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/test_base.cpp
  ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/valid_ut.cpp
)
set_property(
  TARGET
  ydb-library-binary_json-ut
  PROPERTY
  SPLIT_FACTOR
  1
)
add_yunittest(
  NAME
  ydb-library-binary_json-ut
  TEST_TARGET
  ydb-library-binary_json-ut
  TEST_ARG
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)
set_yunittest_property(
  TEST
  ydb-library-binary_json-ut
  PROPERTY
  LABELS
  MEDIUM
)
set_yunittest_property(
  TEST
  ydb-library-binary_json-ut
  PROPERTY
  PROCESSORS
  1
)
set_yunittest_property(
  TEST
  ydb-library-binary_json-ut
  PROPERTY
  TIMEOUT
  600
)
target_allocator(ydb-library-binary_json-ut
  cpp-malloc-tcmalloc
  libs-tcmalloc-no_percpu_cache
)
vcs_info(ydb-library-binary_json-ut)