diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /util/generic | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'util/generic')
-rw-r--r-- | util/generic/ut/ya.make | 73 | ||||
-rw-r--r-- | util/generic/ut_cython/ya.make | 25 | ||||
-rw-r--r-- | util/generic/ya.make | 11 |
3 files changed, 109 insertions, 0 deletions
diff --git a/util/generic/ut/ya.make b/util/generic/ut/ya.make new file mode 100644 index 00000000000..98dda8111e4 --- /dev/null +++ b/util/generic/ut/ya.make @@ -0,0 +1,73 @@ +UNITTEST_FOR(util) + +SUBSCRIBER(g:util-subscribers) + +FORK_TESTS() + +SRCS( + generic/adaptor_ut.cpp + generic/algorithm_ut.cpp + generic/array_ref_ut.cpp + generic/array_size_ut.cpp + generic/bitmap_ut.cpp + generic/bitops_ut.cpp + generic/buffer_ut.cpp + generic/cast_ut.cpp + generic/deque_ut.cpp + generic/explicit_type_ut.cpp + generic/flags_ut.cpp + generic/function_ref_ut.cpp + generic/function_ut.cpp + generic/guid_ut.cpp + generic/hash_primes_ut.cpp + generic/hash_ut.cpp + generic/intrlist_ut.cpp + generic/is_in_ut.cpp + generic/iterator_range_ut.cpp + generic/iterator_ut.cpp + generic/lazy_value_ut.cpp + generic/list_ut.cpp + generic/map_ut.cpp + generic/mapfindptr_ut.cpp + generic/maybe_ut.cpp + generic/mem_copy_ut.cpp + generic/objects_counter_ut.cpp + generic/overloaded_ut.cpp + generic/ptr_ut.cpp + generic/queue_ut.cpp + generic/scope_ut.cpp + generic/serialized_enum_ut.cpp + generic/set_ut.cpp + generic/singleton_ut.cpp + generic/size_literals_ut.cpp + generic/stack_ut.cpp + generic/store_policy_ut.cpp + generic/strbuf_ut.cpp + generic/string_ut.cpp + generic/typelist_ut.cpp + generic/typetraits_ut.cpp + generic/utility_ut.cpp + generic/va_args_ut.cpp + generic/vector_ut.cpp + generic/xrange_ut.cpp + generic/yexception_ut.c + generic/yexception_ut.cpp + generic/ylimits_ut.cpp + generic/ymath_ut.cpp +) + +INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) + +IF (NOT OS_IOS AND NOT ARCH_PPC64LE) + # Abseil fails to build (with linkage error) on ios and with compilation error on PowerPC + # (somewhere in unscaledcycleclock.cc). + PEERDIR( + library/cpp/containers/absl_flat_hash + ) + + SRCS( + generic/string_transparent_hash_ut.cpp + ) +ENDIF() + +END() diff --git a/util/generic/ut_cython/ya.make b/util/generic/ut_cython/ya.make new file mode 100644 index 00000000000..ea923ff4133 --- /dev/null +++ b/util/generic/ut_cython/ya.make @@ -0,0 +1,25 @@ +PY23_TEST() + +SUBSCRIBER(g:util-subscribers) + +SRCDIR(util/generic) + +PY_SRCS( + NAMESPACE util.generic + array_ref_ut.pyx + deque_ut.pyx + hash_set_ut.pyx + hash_ut.pyx + list_ut.pyx + map_ut.pyx + maybe_ut.pyx + ptr_ut.pyx + string_ut.pyx + vector_ut.pyx +) + +TEST_SRCS( + test_generic.py +) + +END() diff --git a/util/generic/ya.make b/util/generic/ya.make new file mode 100644 index 00000000000..c995d26bde1 --- /dev/null +++ b/util/generic/ya.make @@ -0,0 +1,11 @@ +SUBSCRIBER(g:util-subscribers) + +RECURSE_FOR_TESTS( + ut +) + +IF (NOT OS_IOS AND NOT OS_ANDROID AND NOT USE_SYSTEM_PYTHON) + RECURSE( + ut_cython + ) +ENDIF() |