diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-01 20:45:28 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-01 20:45:28 +0300 |
commit | c71dfbc7a152b6f951bca559dcfa23af6d3952a3 (patch) | |
tree | fe52870e806f35cce8853bd4a0e0b6ec3619bf10 | |
parent | 05995d9c65035b08087f9971beea7a009b2b1872 (diff) | |
download | ydb-c71dfbc7a152b6f951bca559dcfa23af6d3952a3.tar.gz |
intermediate changes
ref:1bd5d52142d3b1cd797d1dcc1dc7c82ea4a091be
318 files changed, 12458 insertions, 856 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ec5bd3e01..6a5631e507 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -274,6 +274,7 @@ add_subdirectory(ydb/library/yql/public/decimal) add_subdirectory(ydb/library/yql/public/types) add_subdirectory(contrib/libs/protobuf) add_subdirectory(contrib/tools/protoc/bin) +add_subdirectory(library/cpp/lfalloc) add_subdirectory(contrib/libs/protoc) add_subdirectory(contrib/tools/protoc/plugins/cpp_styleguide) add_subdirectory(ydb/library/yql/utils) @@ -499,20 +500,6 @@ add_subdirectory(ydb/library/yql/core/sql_types) add_subdirectory(ydb/library/yql/protos) add_subdirectory(ydb/library/yql/core/expr_nodes) add_subdirectory(ydb/library/yql/core/expr_nodes_gen) -add_subdirectory(contrib/tools/python3/src) -add_subdirectory(contrib/tools/python3/src/Modules) -add_subdirectory(contrib/libs/expat) -add_subdirectory(contrib/libs/xz/liblzma) -add_subdirectory(contrib/libs/xz/common) -add_subdirectory(contrib/restricted/libffi) -add_subdirectory(library/python/symbols/libc) -add_subdirectory(library/python/symbols/registry) -add_subdirectory(library/python/symbols/python) -add_subdirectory(contrib/tools/python3/lib) -add_subdirectory(library/cpp/malloc/jemalloc) -add_subdirectory(contrib/libs/jemalloc) -add_subdirectory(contrib/tools/python3/src/Modules/_sqlite) -add_subdirectory(contrib/libs/sqlite3) add_subdirectory(ydb/library/yql/providers/common/proto) add_subdirectory(ydb/library/yql/providers/common/schema/expr) add_subdirectory(ydb/library/yql/providers/common/schema/parser) @@ -1071,6 +1058,7 @@ add_subdirectory(contrib/restricted/cityhash-1.0.2) add_subdirectory(contrib/libs/pdqsort) add_subdirectory(contrib/restricted/dragonbox) add_subdirectory(contrib/libs/poco/Util) +add_subdirectory(contrib/libs/expat) add_subdirectory(contrib/libs/poco/Foundation) add_subdirectory(contrib/libs/poco/JSON) add_subdirectory(contrib/libs/poco/XML) @@ -1144,10 +1132,6 @@ add_subdirectory(ydb/public/sdk/cpp/client/ydb_export) add_subdirectory(ydb/public/sdk/cpp/client/ydb_import) add_subdirectory(ydb/public/sdk/cpp/client/ydb_operation) add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_public) -add_subdirectory(ydb/core/blockstore) -add_subdirectory(ydb/core/filestore) -add_subdirectory(ydb/core/grpc_caching) -add_subdirectory(ydb/core/yql_testlib) add_subdirectory(ydb/core/testlib) add_subdirectory(library/cpp/testing/gmock_in_unittest) add_subdirectory(contrib/restricted/googletest/googlemock) @@ -1157,49 +1141,304 @@ add_subdirectory(ydb/core/testlib/actors) add_subdirectory(library/cpp/actors/testlib) add_subdirectory(ydb/core/testlib/basics) add_subdirectory(ydb/core/yq/libs/mock) -add_subdirectory(ydb/core/client/minikql_result_lib) -add_subdirectory(ydb/core/grpc_services/validation/ut) +add_subdirectory(ydb/core/blockstore) +add_subdirectory(ydb/core/filestore) +add_subdirectory(ydb/core/grpc_caching) +add_subdirectory(ydb/core/yql_testlib) +add_subdirectory(ydb/core/actorlib_impl/ut) add_subdirectory(library/cpp/testing/unittest_main) add_subdirectory(library/cpp/terminate_handler) -add_subdirectory(ydb/core/grpc_services/validation/ut/protos) +add_subdirectory(ydb/core/base/ut) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage/lib) +add_subdirectory(ydb/core/blobstorage/pdisk/mock) +add_subdirectory(ydb/library/yql/public/udf/service/stub) +add_subdirectory(ydb/core/blobstorage/ut_group) +add_subdirectory(ydb/core/blobstorage/ut_mirror3of4) +add_subdirectory(ydb/core/blobstorage/ut_vdisk) +add_subdirectory(ydb/core/blobstorage/ut_vdisk/lib) +add_subdirectory(ydb/core/blobstorage/ut_vdisk2) +add_subdirectory(ydb/core/client/ut) +add_subdirectory(ydb/core/tablet_flat/test/libs/rows) +add_subdirectory(ydb/core/client/minikql_result_lib) +add_subdirectory(ydb/core/cms/ut) +add_subdirectory(ydb/core/cms/ut_sentinel) +add_subdirectory(ydb/core/control/ut) +add_subdirectory(ydb/core/engine/ut) +add_subdirectory(library/cpp/malloc/jemalloc) +add_subdirectory(contrib/libs/jemalloc) +add_subdirectory(ydb/core/kqp/ut/common) +add_subdirectory(ydb/core/tablet_flat/test/libs/table) +add_subdirectory(ydb/core/tablet_flat/test/libs/table/model) +add_subdirectory(ydb/core/erasure/ut) +add_subdirectory(ydb/core/erasure/ut_rope) +add_subdirectory(ydb/core/erasure/ut_perf) +add_subdirectory(ydb/core/formats/ut) add_subdirectory(ydb/core/grpc_services/ut) +add_subdirectory(ydb/core/grpc_services/validation/ut) +add_subdirectory(ydb/core/grpc_services/validation/ut/protos) +add_subdirectory(ydb/core/grpc_streaming/ut) +add_subdirectory(ydb/core/grpc_streaming/ut/grpc) +add_subdirectory(ydb/core/health_check/ut) +add_subdirectory(ydb/core/keyvalue/ut) +add_subdirectory(ydb/core/kqp/ut) +add_subdirectory(ydb/core/metering/ut) +add_subdirectory(ydb/core/mind/ut) +add_subdirectory(ydb/core/mind/ut_fat) +add_subdirectory(ydb/core/persqueue/ut) +add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils) +add_subdirectory(ydb/core/persqueue/ut_slow) +add_subdirectory(ydb/core/quoter/ut) add_subdirectory(ydb/core/quoter/quoter_service_bandwidth_test) +add_subdirectory(ydb/core/scheme/ut) +add_subdirectory(ydb/core/security/ut) +add_subdirectory(ydb/core/sys_view/ut_kqp) +add_subdirectory(ydb/core/tablet/ut) +add_subdirectory(ydb/core/tablet_flat/ut) +add_subdirectory(ydb/core/tablet_flat/test/libs/exec) +add_subdirectory(ydb/core/tablet_flat/ut_large) +add_subdirectory(ydb/core/util/btree_benchmark) +add_subdirectory(library/cpp/testing/benchmark/main) +add_subdirectory(library/cpp/testing/benchmark) +add_subdirectory(library/cpp/linear_regression) +add_subdirectory(library/cpp/accurate_accumulate) +add_subdirectory(library/cpp/threading/skip_list) +add_subdirectory(ydb/core/util/ut) +add_subdirectory(ydb/core/viewer/ut) +add_subdirectory(ydb/core/wrappers/ut) +add_subdirectory(ydb/core/ydb_convert/ut) +add_subdirectory(ydb/core/ymq/ut) +add_subdirectory(ydb/library/aclib/ut) +add_subdirectory(ydb/library/backup/ut) +add_subdirectory(ydb/library/binary_json/ut) +add_subdirectory(ydb/library/dynumber/ut) +add_subdirectory(ydb/library/keys/ut) +add_subdirectory(ydb/library/login/ut) +add_subdirectory(ydb/library/mkql_proto/ut) +add_subdirectory(ydb/library/naming_conventions/ut) +add_subdirectory(ydb/library/protobuf_printer/ut) +add_subdirectory(ydb/library/schlab/ut) +add_subdirectory(ydb/library/security/ut) add_subdirectory(ydb/library/yql/sql/pg) add_subdirectory(ydb/library/yql/parser/pg_query_wrapper) add_subdirectory(ydb/public/lib/idx_test) -add_subdirectory(ydb/core/blobstorage/pdisk/mock) +add_subdirectory(ydb/services/cms/ut) +add_subdirectory(ydb/services/datastreams/ut) +add_subdirectory(ydb/services/persqueue_cluster_discovery/ut) +add_subdirectory(ydb/services/persqueue_v1/ut) +add_subdirectory(ydb/services/rate_limiter/ut) +add_subdirectory(ydb/public/sdk/cpp/client/ydb_coordination) +add_subdirectory(ydb/public/sdk/cpp/client/ydb_rate_limiter) +add_subdirectory(ydb/services/ydb/index_ut) +add_subdirectory(ydb/services/ydb/sdk_credprovider_ut) +add_subdirectory(ydb/services/ydb/ut) +add_subdirectory(ydb/public/sdk/cpp/client/ydb_extension) +add_subdirectory(ydb/services/yq/ut_integration) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage/ut_osiris) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage/ut_replication) +add_subdirectory(ydb/core/blobstorage/ut_blobstorage/ut_scrub) +add_subdirectory(ydb/core/blobstorage/ut_pdiskfit/ut) +add_subdirectory(ydb/core/blobstorage/ut_pdiskfit/lib) +add_subdirectory(ydb/core/blobstorage/ut_pdiskfit/pdiskfit) +add_subdirectory(ydb/core/blobstorage/backpressure/ut) +add_subdirectory(ydb/core/blobstorage/backpressure/ut_client) +add_subdirectory(ydb/core/blobstorage/base/ut) +add_subdirectory(ydb/core/blobstorage/crypto/ut) +add_subdirectory(ydb/core/blobstorage/dsproxy/ut) +add_subdirectory(ydb/core/blobstorage/dsproxy/ut_fat) +add_subdirectory(ydb/core/blobstorage/groupinfo/ut) +add_subdirectory(ydb/core/blobstorage/incrhuge/ut) +add_subdirectory(ydb/core/blobstorage/nodewarden/ut) +add_subdirectory(ydb/core/blobstorage/nodewarden/ut_sequence) +add_subdirectory(ydb/core/blobstorage/pdisk/ut) +add_subdirectory(ydb/core/blobstorage/storagepoolmon/ut) add_subdirectory(ydb/library/schlab/mon/test) add_subdirectory(ydb/library/schlab/mon/static) add_subdirectory(ydb/library/schlab/mon/static/css) add_subdirectory(ydb/library/schlab/mon/static/js) +add_subdirectory(ydb/core/tx/balance_coverage/ut) +add_subdirectory(ydb/core/tx/columnshard/ut) +add_subdirectory(ydb/core/tx/coordinator/ut) +add_subdirectory(ydb/core/tx/datashard/ut_background_compaction) +add_subdirectory(ydb/core/tx/datashard/ut_build_index) +add_subdirectory(ydb/core/tx/datashard/ut_change_collector) +add_subdirectory(ydb/core/tx/datashard/ut_change_exchange) +add_subdirectory(ydb/core/tx/datashard/ut_compaction) +add_subdirectory(ydb/core/tx/datashard/ut_erase_rows) +add_subdirectory(ydb/core/tx/datashard/ut_followers) +add_subdirectory(ydb/core/tx/datashard/ut_init) +add_subdirectory(ydb/core/tx/datashard/ut_keys) +add_subdirectory(ydb/core/tx/datashard/ut_kqp) +add_subdirectory(ydb/core/tx/datashard/ut_kqp_errors) +add_subdirectory(ydb/core/tx/datashard/ut_kqp_scan) +add_subdirectory(ydb/core/tx/datashard/ut_locks) +add_subdirectory(ydb/core/tx/datashard/ut_minikql) +add_subdirectory(ydb/core/tx/datashard/ut_minstep) +add_subdirectory(ydb/core/tx/datashard/ut_order) +add_subdirectory(ydb/core/tx/datashard/ut_range_avl_tree) +add_subdirectory(ydb/core/tx/datashard/ut_range_ops) +add_subdirectory(ydb/core/tx/datashard/ut_range_treap) +add_subdirectory(ydb/core/tx/datashard/ut_read_iterator) +add_subdirectory(ydb/core/tx/datashard/ut_read_table) +add_subdirectory(ydb/core/tx/datashard/ut_reassign) +add_subdirectory(ydb/core/tx/datashard/ut_replication) +add_subdirectory(ydb/core/tx/datashard/ut_rs) +add_subdirectory(ydb/core/tx/datashard/ut_snapshot) +add_subdirectory(ydb/core/tx/datashard/ut_stats) +add_subdirectory(ydb/core/tx/datashard/ut_upload_rows) add_subdirectory(ydb/core/tx/long_tx_service/ut) add_subdirectory(ydb/core/tx/long_tx_service/public/ut) +add_subdirectory(ydb/core/tx/scheme_board/ut_cache) +add_subdirectory(ydb/core/tx/schemeshard/ut_helpers) +add_subdirectory(ydb/core/tx/scheme_board/ut_double_indexed) +add_subdirectory(ydb/core/tx/scheme_board/ut_monitoring) +add_subdirectory(ydb/core/tx/scheme_board/ut_populator) +add_subdirectory(ydb/core/tx/scheme_board/ut_replica) +add_subdirectory(ydb/core/tx/scheme_board/ut_subscriber) +add_subdirectory(ydb/core/tx/schemeshard/ut_async_index) +add_subdirectory(ydb/core/tx/schemeshard/ut_base) +add_subdirectory(ydb/core/tx/schemeshard/ut_base_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_bsvolume) +add_subdirectory(ydb/core/tx/schemeshard/ut_bsvolume_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_cdc_stream) +add_subdirectory(ydb/core/tx/schemeshard/ut_cdc_stream_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_compaction) +add_subdirectory(ydb/core/tx/schemeshard/ut_export) +add_subdirectory(ydb/core/tx/schemeshard/ut_export_reboots_s3) +add_subdirectory(ydb/core/tx/schemeshard/ut_extsubdomain) +add_subdirectory(ydb/core/tx/schemeshard/ut_extsubdomain_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_filestore_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_index_build) +add_subdirectory(ydb/core/tx/schemeshard/ut_index_build_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_login) +add_subdirectory(ydb/core/tx/schemeshard/ut_move) +add_subdirectory(ydb/core/tx/schemeshard/ut_move_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_olap) +add_subdirectory(ydb/core/tx/schemeshard/ut_olap_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_pq) +add_subdirectory(ydb/core/tx/schemeshard/ut_pq_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_replication) +add_subdirectory(ydb/core/tx/schemeshard/ut_replication_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_restore) +add_subdirectory(ydb/core/tx/schemeshard/ut_rtmr) +add_subdirectory(ydb/core/tx/schemeshard/ut_rtmr_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_ru_calculator) +add_subdirectory(ydb/core/tx/schemeshard/ut_sequence) +add_subdirectory(ydb/core/tx/schemeshard/ut_sequence_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_serverless) +add_subdirectory(ydb/core/tx/schemeshard/ut_split_merge) +add_subdirectory(ydb/core/tx/schemeshard/ut_split_merge_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_subdomain) +add_subdirectory(ydb/core/tx/schemeshard/ut_subdomain_reboots) +add_subdirectory(ydb/core/tx/schemeshard/ut_ttl) +add_subdirectory(ydb/core/tx/schemeshard/ut_user_attributes) +add_subdirectory(ydb/core/tx/schemeshard/ut_user_attributes_reboots) add_subdirectory(ydb/core/tx/sequenceproxy/ut) -add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/test) +add_subdirectory(ydb/core/tx/sequenceshard/ut) +add_subdirectory(ydb/core/tx/time_cast/ut) +add_subdirectory(ydb/core/tx/tx_allocator/ut) +add_subdirectory(ydb/core/tx/tx_proxy/ut_base_tenant) +add_subdirectory(ydb/core/tx/tx_proxy/ut_encrypted_storage) +add_subdirectory(ydb/core/tx/tx_proxy/ut_ext_tenant) +add_subdirectory(ydb/core/tx/tx_proxy/ut_storage_tenant) +add_subdirectory(ydb/core/blobstorage/vdisk/anubis_osiris/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/common/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/defrag/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/huge/ut) add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/test) +add_subdirectory(ydb/core/blobstorage/vdisk/hullop/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/ingress/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/query/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/repl/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/skeleton/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/syncer/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/synclog/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/barriers/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/base/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/compstrat/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/fresh/ut) +add_subdirectory(ydb/core/blobstorage/vdisk/hulldb/generic/ut) +add_subdirectory(ydb/core/sys_view/partition_stats/ut) +add_subdirectory(ydb/core/sys_view/query_stats/ut) +add_subdirectory(ydb/core/sys_view/service/ut) +add_subdirectory(ydb/core/kqp/ut/fat) +add_subdirectory(ydb/core/kqp/rm/ut) +add_subdirectory(ydb/core/kqp/proxy/ut) +add_subdirectory(ydb/core/kqp/runtime/ut) +add_subdirectory(ydb/core/kqp/executer/ut) +add_subdirectory(ydb/core/kqp/node/ut) +add_subdirectory(ydb/core/kqp/provider/ut) +add_subdirectory(ydb/core/mind/address_classification/ut) +add_subdirectory(ydb/core/mind/bscontroller/ut) +add_subdirectory(ydb/core/mind/bscontroller/ut_bscontroller) +add_subdirectory(ydb/core/mind/bscontroller/ut_selfheal) +add_subdirectory(ydb/core/mind/hive/ut) +add_subdirectory(ydb/core/cms/console/ut) +add_subdirectory(ydb/core/cms/console/validators/ut) +add_subdirectory(ydb/core/tx/columnshard/engines/ut) +add_subdirectory(ydb/core/tx/sequenceshard/public/ut) +add_subdirectory(ydb/core/client/metadata/ut) +add_subdirectory(ydb/core/client/minikql_compile/ut) +add_subdirectory(ydb/core/client/minikql_result_lib/ut) +add_subdirectory(ydb/core/client/server/ut) +add_subdirectory(ydb/core/testlib/actors/ut) +add_subdirectory(ydb/core/kesus/proxy/ut) +add_subdirectory(ydb/core/kesus/tablet/ut) add_subdirectory(ydb/core/kesus/tablet/quoter_performance_test) add_subdirectory(ydb/core/ymq/client/bin) add_subdirectory(ydb/core/ymq/client/cpp) +add_subdirectory(ydb/core/driver_lib/run/ut) add_subdirectory(ydb/core/yq/libs/pretty_printers) +add_subdirectory(ydb/library/http_proxy/authorization/ut) +add_subdirectory(ydb/library/persqueue/topic_parser/ut) +add_subdirectory(ydb/library/yql/ast/ut) +add_subdirectory(ydb/library/yql/core/file_storage/ut) +add_subdirectory(ydb/library/yql/core/file_storage/http_download) +add_subdirectory(ydb/library/yql/core/file_storage/http_download/proto) +add_subdirectory(ydb/library/yql/core/issue/ut) +add_subdirectory(ydb/library/yql/minikql/ut) add_subdirectory(ydb/library/yql/parser/lexer_common) +add_subdirectory(ydb/library/yql/utils/ut) add_subdirectory(ydb/library/yql/utils/threading) +add_subdirectory(ydb/library/yql/utils/failure_injector/ut) +add_subdirectory(ydb/library/yql/utils/log/ut) +add_subdirectory(ydb/public/lib/idx_test/ut) +add_subdirectory(ydb/public/lib/json_value/ut) +add_subdirectory(ydb/public/lib/operation_id/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut) -add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils) -add_subdirectory(ydb/public/sdk/cpp/client/ydb_coordination) add_subdirectory(ydb/public/sdk/cpp/client/ydb_driver/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_table/impl/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_value/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut) -add_subdirectory(ydb/public/sdk/cpp/client/ydb_extension) add_subdirectory(ydb/public/sdk/cpp/client/ydb_result/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_params/ut) -add_subdirectory(ydb/public/sdk/cpp/client/ydb_rate_limiter) add_subdirectory(ydb/public/sdk/cpp/client/ydb_coordination/ut) add_subdirectory(ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut) add_subdirectory(ydb/public/sdk/cpp/client/draft/ut) +add_subdirectory(ydb/core/tx/replication/ydb_proxy/ut) +add_subdirectory(ydb/core/yq/libs/checkpointing/ut) add_subdirectory(ydb/core/yq/libs/checkpointing/events) +add_subdirectory(ydb/core/yq/libs/common/ut) +add_subdirectory(ydb/core/yq/libs/control_plane_proxy/ut) +add_subdirectory(ydb/core/yq/libs/hmac/ut) +add_subdirectory(ydb/core/yq/libs/result_formatter/ut) +add_subdirectory(ydb/core/yq/libs/signer/ut) +add_subdirectory(ydb/core/yq/libs/test_connection/ut) +add_subdirectory(ydb/library/yql/dq/actors/compute/ut) +add_subdirectory(ydb/library/yql/dq/runtime/ut) +add_subdirectory(ydb/library/yql/dq/state/ut) +add_subdirectory(ydb/library/yql/parser/pg_catalog/ut) +add_subdirectory(ydb/library/yql/parser/pg_query_wrapper/ut) add_subdirectory(ydb/library/yql/providers/common/schema) add_subdirectory(ydb/library/yql/providers/common/schema/skiff) +add_subdirectory(ydb/library/yql/public/decimal/ut) +add_subdirectory(ydb/library/yql/public/issue/ut) +add_subdirectory(ydb/library/yql/public/udf/ut) +add_subdirectory(ydb/public/lib/deprecated/kicli/ut) +add_subdirectory(ydb/public/lib/ydb_cli/common/ut) add_subdirectory(ydb/public/sdk/cpp/client/extensions/solomon_stats) add_subdirectory(ydb/public/sdk/cpp/client/extensions/discovery_mutator) add_subdirectory(ydb/public/sdk/cpp/examples/basic_example) @@ -1208,4 +1447,9 @@ add_subdirectory(ydb/public/sdk/cpp/examples/pagination) add_subdirectory(ydb/public/sdk/cpp/examples/secondary_index) add_subdirectory(ydb/public/sdk/cpp/examples/secondary_index_builtin) add_subdirectory(ydb/public/sdk/cpp/examples/ttl) +add_subdirectory(ydb/library/yql/providers/common/codec/ut) +add_subdirectory(ydb/library/yql/providers/common/structured_token/ut) add_subdirectory(ydb/library/yql/providers/pq/gateway/dummy) +add_subdirectory(ydb/library/yql/udfs/common/stat/ut) +add_subdirectory(ydb/library/yql/udfs/common/topfreq/ut) +add_subdirectory(ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut) diff --git a/build/rules/maps/maps.policy b/build/rules/maps/maps.policy index 8abf3fbbd7..3b98a0a3e8 100644 --- a/build/rules/maps/maps.policy +++ b/build/rules/maps/maps.policy @@ -174,6 +174,7 @@ ALLOW toloka -> maps/wikimap/mapspro/services/mrc/libs/ # allow using yacare to implement piglet sync service ALLOW devtools/contrib -> maps/infra/yacare +ALLOW devtools/contrib -> maps/libs/log8 # Do not allow PEERDIRs into maps unless such PEERDIRs have be explicitly allowed above DENY .* -> maps/ diff --git a/contrib/libs/cxxsupp/libcxx/CMakeLists.txt b/contrib/libs/cxxsupp/libcxx/CMakeLists.txt index f7b2a5eac6..a24b57f42f 100644 --- a/contrib/libs/cxxsupp/libcxx/CMakeLists.txt +++ b/contrib/libs/cxxsupp/libcxx/CMakeLists.txt @@ -11,6 +11,7 @@ add_library(libs-cxxsupp-libcxx) target_compile_options(libs-cxxsupp-libcxx PUBLIC -nostdinc++ -DLIBCXX_BUILDING_LIBCXXRT + -D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES ) target_compile_options(libs-cxxsupp-libcxx PRIVATE -D_LIBCPP_BUILDING_LIBRARY diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt index 07380710ac..41e0e8d87c 100644 --- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt +++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.txt @@ -8,6 +8,9 @@ add_library(libs-cxxsupp-libcxxabi-parts) +target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC + -nostdinc++ +) target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE -D_LIBCXXABI_BUILDING_LIBRARY ) diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt index 01d3e20d85..93bbea30a1 100644 --- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt @@ -13,6 +13,7 @@ target_include_directories(llvm-tblgen PRIVATE ) target_link_libraries(llvm-tblgen PUBLIC contrib-libs-cxxsupp + library-cpp-lfalloc contrib-libs-llvm12 llvm12-lib-Demangle llvm12-lib-Support @@ -79,10 +80,7 @@ target_link_flags(llvm-tblgen -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/contrib/libs/sqlite3/CMakeLists.txt b/contrib/libs/sqlite3/CMakeLists.txt deleted file mode 100644 index 7a5a1ce6c1..0000000000 --- a/contrib/libs/sqlite3/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ - -# This file was gererated 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_library(contrib-libs-sqlite3) -target_compile_options(contrib-libs-sqlite3 PRIVATE - -DBUILD_sqlite - -DHAVE_USLEEP - -DSQLITE_ENABLE_COLUMN_METADATA - -DSQLITE_ENABLE_DBSTAT_VTAB - -DSQLITE_ENABLE_FTS3 - -DSQLITE_ENABLE_FTS3_PARENTHESIS - -DSQLITE_ENABLE_FTS3_TOKENIZER - -DSQLITE_ENABLE_FTS4 - -DSQLITE_ENABLE_FTS5 - -DSQLITE_ENABLE_JSON1 - -DSQLITE_ENABLE_MATH_FUNCTIONS - -DSQLITE_ENABLE_RTREE - -DSQLITE_ENABLE_STMT_SCANSTATUS - -DSQLITE_ENABLE_UNLOCK_NOTIFY - -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT - -DSQLITE_HAVE_ZLIB=1 - -DSQLITE_MAX_EXPR_DEPTH=10000 - -DSQLITE_MAX_VARIABLE_NUMBER=250000 - -DSQLITE_SECURE_DELETE - -DSQLITE_SOUNDEX - -DSQLITE_TEMP_STORE=1 - -DSQLITE_THREADSAFE=1 - -DSQLITE_OS_UNIX -) -target_include_directories(contrib-libs-sqlite3 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3 -) -target_sources(contrib-libs-sqlite3 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/sqlite3.c - ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/test_multiplex.c -) diff --git a/contrib/libs/xz/liblzma/CMakeLists.txt b/contrib/libs/xz/liblzma/CMakeLists.txt deleted file mode 100644 index 3926ba1729..0000000000 --- a/contrib/libs/xz/liblzma/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ - -# This file was gererated 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_library(libs-xz-liblzma) -target_compile_options(libs-xz-liblzma PUBLIC - -DLZMA_API_STATIC -) -target_compile_options(libs-xz-liblzma PRIVATE - -DHAVE_CONFIG_H - -DTUKLIB_SYMBOL_PREFIX=lzma_ -) -target_include_directories(libs-xz-liblzma PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api -) -target_include_directories(libs-xz-liblzma PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api - ${CMAKE_SOURCE_DIR}/contrib/libs/xz - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common -) -target_link_libraries(libs-xz-liblzma PUBLIC - contrib-libs-cxxsupp - libs-xz-common -) -target_sources(libs-xz-liblzma PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/check.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_fast.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_table.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_fast.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_table.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/sha256.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/auto_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_util.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_buffer_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_decoder_memusage.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder_memusage.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_preset.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/hardware_cputhreads.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_hash.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/outqueue.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder_mt.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_size.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_common.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder_mf.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/fastpos_table.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_fast.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_normal.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_presets.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder/price_table.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/arm.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/armthumb.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/ia64.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/powerpc.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_coder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_decoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_encoder.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/sparc.c - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/x86.c -) diff --git a/contrib/restricted/aws/s2n/ya.make b/contrib/restricted/aws/s2n/ya.make index f6b679ed1d..f216afee82 100644 --- a/contrib/restricted/aws/s2n/ya.make +++ b/contrib/restricted/aws/s2n/ya.make @@ -1,4 +1,4 @@ -# Generated by devtools/yamaker from nixpkgs 980c4c3c2f664ccc5002f7fd6e08059cf1f00e75. +# Generated by devtools/yamaker from nixpkgs 21.11. LIBRARY() @@ -9,7 +9,7 @@ OWNER( VERSION(0.10.23) -ORIGINAL_SOURCE(https://github.com/awslabs/s2n/archive/v0.10.23.tar.gz) +ORIGINAL_SOURCE(https://github.com/aws/s2n-tls/archive/v0.10.23.tar.gz) LICENSE( Apache-2.0 AND diff --git a/contrib/restricted/libffi/CMakeLists.txt b/contrib/restricted/libffi/CMakeLists.txt deleted file mode 100644 index 838df7bbc8..0000000000 --- a/contrib/restricted/libffi/CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ - -# This file was gererated 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_library(contrib-restricted-libffi) -target_compile_options(contrib-restricted-libffi PUBLIC - -DFFI_BUILDING -) -target_compile_options(contrib-restricted-libffi PRIVATE - -DHAVE_CONFIG_H -) -target_include_directories(contrib-restricted-libffi PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include -) -target_include_directories(contrib-restricted-libffi PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include -) -target_sources(contrib-restricted-libffi PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/closures.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/java_raw_api.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/prep_cif.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/raw_api.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/types.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffi64.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffiw64.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/unix64.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/win64.S -) diff --git a/contrib/tools/protoc/bin/CMakeLists.txt b/contrib/tools/protoc/bin/CMakeLists.txt index 758b9f0f93..d0e1886d1e 100644 --- a/contrib/tools/protoc/bin/CMakeLists.txt +++ b/contrib/tools/protoc/bin/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(protoc) target_link_libraries(protoc PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check contrib-libs-protoc ) @@ -23,10 +24,7 @@ target_link_flags(protoc -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt index 0ce2acd5e0..f7cbff28a2 100644 --- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(cpp_styleguide) target_link_libraries(cpp_styleguide PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check contrib-libs-protoc ) @@ -23,10 +24,7 @@ target_link_flags(cpp_styleguide -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt index 94839453ba..ea5b708509 100644 --- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt @@ -18,6 +18,7 @@ target_include_directories(grpc_cpp PRIVATE target_link_libraries(grpc_cpp PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check src-compiler-grpc_plugin_support ) @@ -30,10 +31,7 @@ target_link_flags(grpc_cpp -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/contrib/tools/python3/src/CMakeLists.txt b/contrib/tools/python3/src/CMakeLists.txt deleted file mode 100644 index 4ec036fbe1..0000000000 --- a/contrib/tools/python3/src/CMakeLists.txt +++ /dev/null @@ -1,157 +0,0 @@ - -# This file was gererated 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_library(tools-python3-src) -target_compile_options(tools-python3-src PRIVATE - -DPy_BUILD_CORE -) -target_include_directories(tools-python3-src PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include/internal - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/PC -) -target_link_libraries(tools-python3-src PUBLIC - contrib-libs-cxxsupp - python3-src-Modules -) -target_sources(tools-python3-src PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_functoolsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/_iomodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bufferedio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bytesio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/fileio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/iobase.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/stringio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/textio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/winconsoleio.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_threadmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/config.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/gcmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/main.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mmapmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/posixmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/signalmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/timemodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/abstract.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/accu.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/boolobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytearrayobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytes_methods.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytesobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/call.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/capsule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/cellobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/classobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/codeobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/complexobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/descrobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/dictobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/enumobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/exceptions.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/fileobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/floatobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/frameobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/funcobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genericaliasobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/interpreteridobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/iterobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/listobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/longobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/memoryobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/methodobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/moduleobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/namespaceobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/object.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/obmalloc.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/odictobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/picklebufobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/rangeobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/setobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/sliceobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/structseq.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/tupleobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/typeobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodectype.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodeobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/weakrefobject.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/acceler.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/grammar1.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/listnode.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/myreadline.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/node.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parser.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parsetok.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse_string.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/peg_api.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/pegen.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/token.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/tokenizer.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/Python-ast.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/_warnings.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/asdl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_opt.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_unparse.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bltinmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bootstrap_hash.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ceval.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/codecs.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/compile.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/context.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dtoa.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynamic_annotations.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/errors.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/fileutils.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/formatter_unicode.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozen.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozenmain.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/future.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getargs.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcompiler.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcopyright.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getopt.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getplatform.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getversion.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/graminit.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hamt.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hashtable.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/import.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/importdl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/initconfig.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/marshal.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/modsupport.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mysnprintf.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mystrtoul.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pathconfig.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/peephole.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/preconfig.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyarena.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyctype.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyfpe.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyhash.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pylifecycle.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pymath.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystate.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrcmp.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrhex.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrtod.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pythonrun.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pytime.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/structmember.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/symtable.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/sysmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/thread.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/traceback.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getpath.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynload_shlib.c -) diff --git a/contrib/tools/python3/src/Modules/CMakeLists.txt b/contrib/tools/python3/src/Modules/CMakeLists.txt deleted file mode 100644 index 044d4878b5..0000000000 --- a/contrib/tools/python3/src/Modules/CMakeLists.txt +++ /dev/null @@ -1,136 +0,0 @@ - -# This file was gererated 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. - - -find_package(OpenSSL REQUIRED) -find_package(ZLIB REQUIRED) - -add_library(python3-src-Modules) -target_compile_options(python3-src-Modules PRIVATE - -DPy_BUILD_CORE_MODULE -) -target_include_directories(python3-src-Modules PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/expat - ${CMAKE_SOURCE_DIR}/contrib/libs/libbz2 - ${CMAKE_SOURCE_DIR}/contrib/libs/openssl - ${CMAKE_SOURCE_DIR}/contrib/libs/zlib - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include/internal - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/PC -) -target_link_libraries(python3-src-Modules PUBLIC - contrib-libs-expat - contrib-libs-libbz2 - OpenSSL::OpenSSL - ZLIB::ZLIB - libs-xz-liblzma - contrib-restricted-libffi -) -target_sources(python3-src-Modules PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_abc.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_asynciomodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bisectmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2b_impl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2s_impl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bz2module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_codecsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_collectionsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_contextvarsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_csv.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/_ctypes.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callbacks.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callproc.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/cfield.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/stgdict.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_datetimemodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/_decimal.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/basearith.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/constants.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/context.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/convolute.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/crt.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/difradix2.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fnt.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fourstep.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/io.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpalloc.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/numbertheory.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/sixstep.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/transpose.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_elementtree.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_hashopenssl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_heapqmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_json.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_localemodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lsprof.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lzmamodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_math.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/multiprocessing.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/posixshmem.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/semaphore.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_opcode.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_operator.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_peg_parser.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_pickle.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_queuemodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_randommodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sha3/sha3module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sre.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ssl.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_stat.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_statisticsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_struct.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_tracemalloc.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_weakref.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxsubinterpretersmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/_xxtestfuzz.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/fuzzer.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_zoneinfo.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/arraymodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/atexitmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/audioop.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/binascii.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_cn.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_hk.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_iso2022.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_jp.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_kr.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_tw.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/multibytecodec.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cmathmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/errnomodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/faulthandler.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getbuildinfo.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/itertoolsmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mathmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/md5module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/parsermodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pyexpat.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/rotatingtree.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/selectmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha1module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha256module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha512module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/socketmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/symtablemodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/unicodedata.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/zlibmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_cryptmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_posixsubprocess.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/fcntlmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/grpmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pwdmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/resource.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/syslogmodule.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/termios.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/spwdmodule.c -) diff --git a/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt b/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt deleted file mode 100644 index eb51a0826b..0000000000 --- a/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ - -# This file was gererated 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_library(src-Modules-_sqlite) -target_compile_options(src-Modules-_sqlite PRIVATE - -DMODULE_NAME="sqlite3" -) -target_include_directories(src-Modules-_sqlite PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/python/Include -) -target_include_directories(src-Modules-_sqlite PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3 - ${CMAKE_SOURCE_DIR}/contrib/libs/python/Include -) -target_link_libraries(src-Modules-_sqlite PUBLIC - contrib-libs-sqlite3 -) -target_sources(src-Modules-_sqlite PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cache.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/connection.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cursor.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/microprotocols.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/module.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/prepare_protocol.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/row.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/statement.c - ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/util.c -) diff --git a/library/cpp/accurate_accumulate/CMakeLists.txt b/library/cpp/accurate_accumulate/CMakeLists.txt new file mode 100644 index 0000000000..4db4e1b24d --- /dev/null +++ b/library/cpp/accurate_accumulate/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was gererated 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_library(library-cpp-accurate_accumulate) +target_link_libraries(library-cpp-accurate_accumulate PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-accurate_accumulate PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp +) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 7736a69cd9..4ae8cb297c 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(gencrc) target_link_libraries(gencrc PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check ) target_sources(gencrc PRIVATE @@ -22,10 +23,7 @@ target_link_flags(gencrc -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/library/cpp/lfalloc/CMakeLists.txt b/library/cpp/lfalloc/CMakeLists.txt new file mode 100644 index 0000000000..99da2da1d7 --- /dev/null +++ b/library/cpp/lfalloc/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was gererated 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_library(library-cpp-lfalloc) +target_link_libraries(library-cpp-lfalloc PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(library-cpp-lfalloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/linear_regression/CMakeLists.txt b/library/cpp/linear_regression/CMakeLists.txt new file mode 100644 index 0000000000..4d62e3876c --- /dev/null +++ b/library/cpp/linear_regression/CMakeLists.txt @@ -0,0 +1,20 @@ + +# This file was gererated 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_library(library-cpp-linear_regression) +target_link_libraries(library-cpp-linear_regression PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-accurate_accumulate +) +target_sources(library-cpp-linear_regression PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp +) diff --git a/library/cpp/testing/benchmark/CMakeLists.txt b/library/cpp/testing/benchmark/CMakeLists.txt new file mode 100644 index 0000000000..2df1ac1d91 --- /dev/null +++ b/library/cpp/testing/benchmark/CMakeLists.txt @@ -0,0 +1,24 @@ + +# This file was gererated 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_library(cpp-testing-benchmark) +target_link_libraries(cpp-testing-benchmark PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-re2 + library-cpp-colorizer + cpp-getopt-small + library-cpp-json + library-cpp-linear_regression + cpp-threading-poor_man_openmp +) +target_sources(cpp-testing-benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp +) diff --git a/library/python/symbols/python/CMakeLists.txt b/library/cpp/testing/benchmark/main/CMakeLists.txt index 3993e19c91..3a0ffe9241 100644 --- a/library/python/symbols/python/CMakeLists.txt +++ b/library/cpp/testing/benchmark/main/CMakeLists.txt @@ -7,19 +7,19 @@ -add_library(python-symbols-python INTERFACE) -target_link_libraries(python-symbols-python INTERFACE +add_library(testing-benchmark-main INTERFACE) +target_link_libraries(testing-benchmark-main INTERFACE contrib-libs-cxxsupp yutil - python-symbols-registry + cpp-testing-benchmark ) -add_global_library_for(python-symbols-python.global python-symbols-python) -target_link_libraries(python-symbols-python.global PUBLIC +add_global_library_for(testing-benchmark-main.global testing-benchmark-main) +target_link_libraries(testing-benchmark-main.global PUBLIC contrib-libs-cxxsupp yutil - python-symbols-registry + cpp-testing-benchmark ) -target_sources(python-symbols-python.global PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/python/syms.cpp +target_sources(testing-benchmark-main.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp ) diff --git a/library/cpp/threading/skip_list/CMakeLists.txt b/library/cpp/threading/skip_list/CMakeLists.txt new file mode 100644 index 0000000000..31a28bc9f0 --- /dev/null +++ b/library/cpp/threading/skip_list/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was gererated 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_library(cpp-threading-skip_list) +target_link_libraries(cpp-threading-skip_list PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-threading-skip_list PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp +) diff --git a/library/python/symbols/libc/CMakeLists.txt b/library/python/symbols/libc/CMakeLists.txt deleted file mode 100644 index ef018b607f..0000000000 --- a/library/python/symbols/libc/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ - -# This file was gererated 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_library(python-symbols-libc INTERFACE) -target_link_libraries(python-symbols-libc INTERFACE - contrib-libs-cxxsupp - yutil - python-symbols-registry -) - -add_global_library_for(python-symbols-libc.global python-symbols-libc) -target_compile_options(python-symbols-libc.global PRIVATE - -Wno-deprecated-declarations -) -target_link_libraries(python-symbols-libc.global PUBLIC - contrib-libs-cxxsupp - yutil - python-symbols-registry -) -target_sources(python-symbols-libc.global PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/libc/syms.cpp -) diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.txt index 198778f90b..322b89ac63 100644 --- a/tools/enum_parser/enum_parser/bin/CMakeLists.txt +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(enum_parser) target_link_libraries(enum_parser PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-getopt-small tools-enum_parser-parse_enum @@ -24,10 +25,7 @@ target_link_flags(enum_parser -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/tools/rescompiler/bin/CMakeLists.txt b/tools/rescompiler/bin/CMakeLists.txt index 4fe40e8109..1e812927a1 100644 --- a/tools/rescompiler/bin/CMakeLists.txt +++ b/tools/rescompiler/bin/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(rescompiler) target_link_libraries(rescompiler PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-resource ) @@ -23,10 +24,7 @@ target_link_flags(rescompiler -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/apps/ydb/CMakeLists.txt b/ydb/apps/ydb/CMakeLists.txt index 9617c5652c..bbe8244bd7 100644 --- a/ydb/apps/ydb/CMakeLists.txt +++ b/ydb/apps/ydb/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(ydb) target_link_libraries(ydb PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check commands ) @@ -22,13 +23,8 @@ target_link_flags(ydb -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/apps/ydbd/CMakeLists.txt b/ydb/apps/ydbd/CMakeLists.txt index 34a8e811f7..7c35037224 100644 --- a/ydb/apps/ydbd/CMakeLists.txt +++ b/ydb/apps/ydbd/CMakeLists.txt @@ -60,13 +60,8 @@ target_link_flags(ydbd -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/actorlib_impl/ut/CMakeLists.txt b/ydb/core/actorlib_impl/ut/CMakeLists.txt new file mode 100644 index 0000000000..d789588932 --- /dev/null +++ b/ydb/core/actorlib_impl/ut/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-actorlib_impl-ut) +target_compile_options(ydb-core-actorlib_impl-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-actorlib_impl-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl +) +target_link_libraries(ydb-core-actorlib_impl-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-actorlib_impl + cpp-actors-core + cpp-actors-interconnect + library-cpp-getopt + library-cpp-svnversion + core-testlib-actors + core-testlib-basics +) +target_sources(ydb-core-actorlib_impl-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_activity_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_bootstrapped_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/test_interconnect_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/test_protocols_ut.cpp +) +add_test( + NAME + ydb-core-actorlib_impl-ut + COMMAND + ydb-core-actorlib_impl-ut +) +target_link_flags(ydb-core-actorlib_impl-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-actorlib_impl-ut) diff --git a/ydb/core/base/ut/CMakeLists.txt b/ydb/core/base/ut/CMakeLists.txt new file mode 100644 index 0000000000..6b8e9858a4 --- /dev/null +++ b/ydb/core/base/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-base-ut) +target_include_directories(ydb-core-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/base +) +target_link_libraries(ydb-core-base-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-base + library-cpp-getopt + library-cpp-svnversion +) +target_sources(ydb-core-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/base/blobstorage_grouptype_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/base/localdb_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/base/logoblob_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/base/shared_data_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/base/statestorage_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/base/statestorage_guardian_impl_ut.cpp +) +add_test( + NAME + ydb-core-base-ut + COMMAND + ydb-core-base-ut +) +target_link_flags(ydb-core-base-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-base-ut) diff --git a/ydb/core/blobstorage/backpressure/ut/CMakeLists.txt b/ydb/core/blobstorage/backpressure/ut/CMakeLists.txt new file mode 100644 index 0000000000..f1456a8c87 --- /dev/null +++ b/ydb/core/blobstorage/backpressure/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-blobstorage-backpressure-ut) +target_include_directories(ydb-core-blobstorage-backpressure-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure +) +target_link_libraries(ydb-core-blobstorage-backpressure-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-backpressure + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + ydb-core-blobstorage +) +target_sources(ydb-core-blobstorage-backpressure-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_server_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-backpressure-ut + COMMAND + ydb-core-blobstorage-backpressure-ut +) +target_link_flags(ydb-core-blobstorage-backpressure-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-backpressure-ut) diff --git a/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.txt b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.txt new file mode 100644 index 0000000000..e77421a905 --- /dev/null +++ b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-blobstorage-backpressure-ut_client) +target_compile_options(ydb-core-blobstorage-backpressure-ut_client PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(ydb-core-blobstorage-backpressure-ut_client PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + actors-interconnect-mock + core-blobstorage-backpressure + core-blobstorage-base + core-blobstorage-vdisk + blobstorage-vdisk-common + core-tx-scheme_board + udf-service-stub +) +target_sources(ydb-core-blobstorage-backpressure-ut_client PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/ut_client/backpressure_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-backpressure-ut_client + COMMAND + ydb-core-blobstorage-backpressure-ut_client +) +target_link_flags(ydb-core-blobstorage-backpressure-ut_client + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-backpressure-ut_client) diff --git a/ydb/core/blobstorage/base/ut/CMakeLists.txt b/ydb/core/blobstorage/base/ut/CMakeLists.txt new file mode 100644 index 0000000000..cf130b494e --- /dev/null +++ b/ydb/core/blobstorage/base/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-blobstorage-base-ut) +target_include_directories(ydb-core-blobstorage-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base +) +target_link_libraries(ydb-core-blobstorage-base-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-base + library-cpp-getopt + library-cpp-svnversion + ydb-core-erasure + ydb-core-protos +) +target_sources(ydb-core-blobstorage-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/batched_vec_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/bufferwithgaps_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/ptr_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-base-ut + COMMAND + ydb-core-blobstorage-base-ut +) +target_link_flags(ydb-core-blobstorage-base-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-base-ut) diff --git a/ydb/core/blobstorage/crypto/ut/CMakeLists.txt b/ydb/core/blobstorage/crypto/ut/CMakeLists.txt new file mode 100644 index 0000000000..9a4d342006 --- /dev/null +++ b/ydb/core/blobstorage/crypto/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-blobstorage-crypto-ut) +target_include_directories(ydb-core-blobstorage-crypto-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto +) +target_link_libraries(ydb-core-blobstorage-crypto-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-crypto +) +target_sources(ydb-core-blobstorage-crypto-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_vec_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/crypto_rope_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/crypto_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/poly1305_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/poly1305_vec_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-crypto-ut + COMMAND + ydb-core-blobstorage-crypto-ut +) +target_link_flags(ydb-core-blobstorage-crypto-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-crypto-ut) diff --git a/ydb/core/blobstorage/dsproxy/ut/CMakeLists.txt b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.txt new file mode 100644 index 0000000000..f326b41365 --- /dev/null +++ b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.txt @@ -0,0 +1,60 @@ + +# This file was gererated 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-blobstorage-dsproxy-ut) +target_compile_options(ydb-core-blobstorage-dsproxy-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(ydb-core-blobstorage-dsproxy-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + core-blobstorage-base + core-blobstorage-dsproxy + core-blobstorage-groupinfo + blobstorage-ut_vdisk-lib + blobstorage-vdisk-common + blobstorage-vdisk-query + ydb-core-testlib + core-testlib-actors + core-testlib-basics +) +target_sources(ydb-core-blobstorage-dsproxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_put_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_quorum_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_sequence_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_patch_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_counters_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_fault_tolerance_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_get_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-dsproxy-ut + COMMAND + ydb-core-blobstorage-dsproxy-ut +) +target_link_flags(ydb-core-blobstorage-dsproxy-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-dsproxy-ut) diff --git a/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.txt b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.txt new file mode 100644 index 0000000000..121747bf3b --- /dev/null +++ b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-blobstorage-dsproxy-ut_fat) +target_link_libraries(ydb-core-blobstorage-dsproxy-ut_fat PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-protos + cpp-actors-util + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + core-blobstorage-base + core-blobstorage-dsproxy + core-blobstorage-groupinfo + core-blobstorage-pdisk + core-blobstorage-vdisk + blobstorage-vdisk-common + ydb-core-testlib +) +target_sources(ydb-core-blobstorage-dsproxy-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut_fat/dsproxy_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-dsproxy-ut_fat + COMMAND + ydb-core-blobstorage-dsproxy-ut_fat +) +target_link_flags(ydb-core-blobstorage-dsproxy-ut_fat + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-dsproxy-ut_fat) diff --git a/ydb/core/blobstorage/groupinfo/ut/CMakeLists.txt b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.txt new file mode 100644 index 0000000000..574091ede4 --- /dev/null +++ b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-blobstorage-groupinfo-ut) +target_include_directories(ydb-core-blobstorage-groupinfo-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo +) +target_link_libraries(ydb-core-blobstorage-groupinfo-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-groupinfo + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + core-blobstorage-base + ydb-core-erasure +) +target_sources(ydb-core-blobstorage-groupinfo-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_iter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_blobmap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_partlayout_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-groupinfo-ut + COMMAND + ydb-core-blobstorage-groupinfo-ut +) +target_link_flags(ydb-core-blobstorage-groupinfo-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-groupinfo-ut) diff --git a/ydb/core/blobstorage/incrhuge/ut/CMakeLists.txt b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.txt new file mode 100644 index 0000000000..c61a3b0d40 --- /dev/null +++ b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-blobstorage-incrhuge-ut) +target_link_libraries(ydb-core-blobstorage-incrhuge-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-protos + ydb-core-blobstorage + core-blobstorage-incrhuge + core-blobstorage-pdisk +) +target_sources(ydb-core-blobstorage-incrhuge-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_basic_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_id_dict_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_log_merger_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-incrhuge-ut + COMMAND + ydb-core-blobstorage-incrhuge-ut +) +target_link_flags(ydb-core-blobstorage-incrhuge-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-incrhuge-ut) diff --git a/ydb/core/blobstorage/nodewarden/ut/CMakeLists.txt b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.txt new file mode 100644 index 0000000000..87bc4bc4bd --- /dev/null +++ b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-blobstorage-nodewarden-ut) +target_compile_options(ydb-core-blobstorage-nodewarden-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-blobstorage-nodewarden-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden +) +target_link_libraries(ydb-core-blobstorage-nodewarden-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-nodewarden + ydb-core-testlib +) +target_sources(ydb-core-blobstorage-nodewarden-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/blobstorage_node_warden_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-nodewarden-ut + COMMAND + ydb-core-blobstorage-nodewarden-ut +) +target_link_flags(ydb-core-blobstorage-nodewarden-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-nodewarden-ut) diff --git a/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.txt b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.txt new file mode 100644 index 0000000000..52eb5e2b53 --- /dev/null +++ b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-blobstorage-nodewarden-ut_sequence) +target_compile_options(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(ydb-core-blobstorage-nodewarden-ut_sequence PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-base + core-blobstorage-crypto + core-blobstorage-nodewarden + core-blobstorage-pdisk + ydb-core-testlib +) +target_sources(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/ut_sequence/dsproxy_config_retrieval.cpp +) +add_test( + NAME + ydb-core-blobstorage-nodewarden-ut_sequence + COMMAND + ydb-core-blobstorage-nodewarden-ut_sequence +) +target_link_flags(ydb-core-blobstorage-nodewarden-ut_sequence + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-nodewarden-ut_sequence) diff --git a/ydb/core/blobstorage/pdisk/ut/CMakeLists.txt b/ydb/core/blobstorage/pdisk/ut/CMakeLists.txt new file mode 100644 index 0000000000..86ee620c75 --- /dev/null +++ b/ydb/core/blobstorage/pdisk/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-blobstorage-pdisk-ut) +target_include_directories(ydb-core-blobstorage-pdisk-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk +) +target_link_libraries(ydb-core-blobstorage-pdisk-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-blobstorage-pdisk + library-cpp-getopt + library-cpp-svnversion + core-blobstorage-lwtrace_probes + core-testlib-actors +) +target_sources(ydb-core-blobstorage-pdisk-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_blockdevice_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_crypto_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_util_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut_actions.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut_helpers.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut_run.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_ut_yard.cpp +) +add_test( + NAME + ydb-core-blobstorage-pdisk-ut + COMMAND + ydb-core-blobstorage-pdisk-ut +) +target_link_flags(ydb-core-blobstorage-pdisk-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-pdisk-ut) diff --git a/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.txt b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.txt new file mode 100644 index 0000000000..bf70444432 --- /dev/null +++ b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-blobstorage-storagepoolmon-ut) +target_link_libraries(ydb-core-blobstorage-storagepoolmon-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-cpp-getopt + library-cpp-svnversion + core-blobstorage-storagepoolmon + ydb-core-testlib + core-testlib-actors + core-testlib-basics +) +target_sources(ydb-core-blobstorage-storagepoolmon-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/storagepoolmon/ut/storagepoolmon_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-storagepoolmon-ut + COMMAND + ydb-core-blobstorage-storagepoolmon-ut +) +target_link_flags(ydb-core-blobstorage-storagepoolmon-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-storagepoolmon-ut) diff --git a/ydb/core/blobstorage/ut_blobstorage/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.txt new file mode 100644 index 0000000000..7a171bf7b4 --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.txt @@ -0,0 +1,61 @@ + +# This file was gererated 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-blobstorage-ut_blobstorage) +target_link_libraries(ydb-core-blobstorage-ut_blobstorage PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-base + core-blobstorage-dsproxy + core-blobstorage-groupinfo + blobstorage-ut_blobstorage-lib + blobstorage-vdisk-common + blobstorage-vdisk-scrub +) +target_sources(ydb-core-blobstorage-ut_blobstorage PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/block_race.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/counting_events.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/defrag.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/donor.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/encryption.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/gc_quorum_3dc.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/incorrect_queries.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/mirror3of4.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/space_check.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/sync.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/replication.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/big_cluster.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/multiget.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/osiris.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/patch.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/race.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/scrub.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_blobstorage + COMMAND + ydb-core-blobstorage-ut_blobstorage +) +target_link_flags(ydb-core-blobstorage-ut_blobstorage + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_blobstorage) diff --git a/ydb/core/blobstorage/ut_blobstorage/lib/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/lib/CMakeLists.txt new file mode 100644 index 0000000000..1e1bae0527 --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/lib/CMakeLists.txt @@ -0,0 +1,31 @@ + +# This file was gererated 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_library(blobstorage-ut_blobstorage-lib) +target_link_libraries(blobstorage-ut_blobstorage-lib PUBLIC + contrib-libs-cxxsupp + yutil + cpp-digest-md5 + cpp-testing-unittest + ydb-core-base + core-blobstorage-backpressure + blobstorage-dsproxy-mock + core-blobstorage-nodewarden + blobstorage-pdisk-mock + blobstorage-vdisk-common + core-mind-bscontroller + core-tx-scheme_board + ydb-core-util + udf-service-stub +) +target_sources(blobstorage-ut_blobstorage-lib PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/lib/node_warden_mock_bsc.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/lib/node_warden_mock_pipe.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/lib/node_warden_mock_state.cpp +) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.txt new file mode 100644 index 0000000000..3b71a0afad --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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(ut_group_reconfiguration) +target_include_directories(ut_group_reconfiguration PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage +) +target_link_libraries(ut_group_reconfiguration PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-ut_blobstorage-lib +) +target_sources(ut_group_reconfiguration PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/race.cpp +) +add_test( + NAME + ut_group_reconfiguration + COMMAND + ut_group_reconfiguration +) +target_link_flags(ut_group_reconfiguration + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ut_group_reconfiguration) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.txt new file mode 100644 index 0000000000..6cec9a9730 --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-blobstorage-ut_blobstorage-ut_osiris) +target_include_directories(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage +) +target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_osiris PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-ut_blobstorage-lib +) +target_sources(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/osiris.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_blobstorage-ut_osiris + COMMAND + ydb-core-blobstorage-ut_blobstorage-ut_osiris +) +target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_osiris + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_osiris) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.txt new file mode 100644 index 0000000000..b59f5cdb2a --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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(core-blobstorage-ut_blobstorage-ut_replication) +target_include_directories(core-blobstorage-ut_blobstorage-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage +) +target_link_libraries(core-blobstorage-ut_blobstorage-ut_replication PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-ut_blobstorage-lib +) +target_sources(core-blobstorage-ut_blobstorage-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/replication.cpp +) +add_test( + NAME + core-blobstorage-ut_blobstorage-ut_replication + COMMAND + core-blobstorage-ut_blobstorage-ut_replication +) +target_link_flags(core-blobstorage-ut_blobstorage-ut_replication + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(core-blobstorage-ut_blobstorage-ut_replication) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.txt b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.txt new file mode 100644 index 0000000000..f73c16809f --- /dev/null +++ b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-blobstorage-ut_blobstorage-ut_scrub) +target_include_directories(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage +) +target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_scrub PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-ut_blobstorage-lib +) +target_sources(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/scrub.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_blobstorage-ut_scrub + COMMAND + ydb-core-blobstorage-ut_blobstorage-ut_scrub +) +target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_scrub + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_scrub) diff --git a/ydb/core/blobstorage/ut_group/CMakeLists.txt b/ydb/core/blobstorage/ut_group/CMakeLists.txt new file mode 100644 index 0000000000..76c0917214 --- /dev/null +++ b/ydb/core/blobstorage/ut_group/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-blobstorage-ut_group) +target_link_libraries(ydb-core-blobstorage-ut_group PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + actors-interconnect-mock + cpp-testing-unittest + core-blobstorage-crypto + core-blobstorage-dsproxy + core-blobstorage-groupinfo + blobstorage-pdisk-mock + core-blobstorage-vdisk + blobstorage-vdisk-common + core-tx-scheme_board + ydb-core-util +) +target_sources(ydb-core-blobstorage-ut_group PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_group/main.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_group + COMMAND + ydb-core-blobstorage-ut_group +) +target_link_flags(ydb-core-blobstorage-ut_group + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_group) diff --git a/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.txt b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.txt new file mode 100644 index 0000000000..d01e16de9f --- /dev/null +++ b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-blobstorage-ut_mirror3of4) +target_link_libraries(ydb-core-blobstorage-ut_mirror3of4 PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + actors-interconnect-mock + cpp-testing-unittest + core-blobstorage-backpressure + core-blobstorage-base + core-blobstorage-dsproxy + core-blobstorage-groupinfo + blobstorage-pdisk-mock + core-blobstorage-vdisk + blobstorage-vdisk-common + blobstorage-vdisk-repl + core-tx-scheme_board + ydb-core-util +) +target_sources(ydb-core-blobstorage-ut_mirror3of4 PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_mirror3of4/main.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_mirror3of4 + COMMAND + ydb-core-blobstorage-ut_mirror3of4 +) +target_link_flags(ydb-core-blobstorage-ut_mirror3of4 + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_mirror3of4) diff --git a/ydb/core/blobstorage/ut_pdiskfit/lib/CMakeLists.txt b/ydb/core/blobstorage/ut_pdiskfit/lib/CMakeLists.txt new file mode 100644 index 0000000000..511204d463 --- /dev/null +++ b/ydb/core/blobstorage/ut_pdiskfit/lib/CMakeLists.txt @@ -0,0 +1,22 @@ + +# This file was gererated 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_library(blobstorage-ut_pdiskfit-lib) +target_link_libraries(blobstorage-ut_pdiskfit-lib PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-protos + ydb-core-base + core-blobstorage-pdisk + ydb-library-pdisk_io +) +target_sources(blobstorage-ut_pdiskfit-lib PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/lib/basic_test.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/lib/objectwithstate.cpp +) diff --git a/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.txt b/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.txt new file mode 100644 index 0000000000..c13d4c8014 --- /dev/null +++ b/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.txt @@ -0,0 +1,36 @@ + +# This file was gererated 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(pdiskfit) +target_link_libraries(pdiskfit PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + library-cpp-getopt + cpp-string_utils-parse_size + ydb-core-blobstorage + blobstorage-ut_pdiskfit-lib + ydb-core-mon +) +target_sources(pdiskfit PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/pdiskfit.cpp +) +target_link_flags(pdiskfit + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(pdiskfit) diff --git a/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.txt b/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.txt new file mode 100644 index 0000000000..13a16d1b6c --- /dev/null +++ b/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.txt @@ -0,0 +1,40 @@ + +# This file was gererated 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-blobstorage-ut_pdiskfit-ut) +target_link_libraries(ydb-core-blobstorage-ut_pdiskfit-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-blobstorage + blobstorage-ut_pdiskfit-lib +) +target_sources(ydb-core-blobstorage-ut_pdiskfit-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/ut/main.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_pdiskfit-ut + COMMAND + ydb-core-blobstorage-ut_pdiskfit-ut +) +target_link_flags(ydb-core-blobstorage-ut_pdiskfit-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_pdiskfit-ut) diff --git a/ydb/core/blobstorage/ut_vdisk/CMakeLists.txt b/ydb/core/blobstorage/ut_vdisk/CMakeLists.txt new file mode 100644 index 0000000000..0743f5db9c --- /dev/null +++ b/ydb/core/blobstorage/ut_vdisk/CMakeLists.txt @@ -0,0 +1,56 @@ + +# This file was gererated 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-blobstorage-ut_vdisk) +target_compile_options(ydb-core-blobstorage-ut_vdisk PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-blobstorage-ut_vdisk PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage +) +target_link_libraries(ydb-core-blobstorage-ut_vdisk PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-blobstorage + cpp-actors-protos + library-cpp-codecs + ydb-core-base + core-blobstorage-groupinfo + blobstorage-ut_vdisk-lib + ydb-core-erasure + ydb-core-scheme + udf-service-stub +) +target_sources(ydb-core-blobstorage-ut_vdisk PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/gen_restarts.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/huge_migration_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/mon_reregister_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/vdisk_test.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_vdisk + COMMAND + ydb-core-blobstorage-ut_vdisk +) +target_link_flags(ydb-core-blobstorage-ut_vdisk + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_vdisk) diff --git a/ydb/core/blobstorage/ut_vdisk/lib/CMakeLists.txt b/ydb/core/blobstorage/ut_vdisk/lib/CMakeLists.txt new file mode 100644 index 0000000000..2634a607d2 --- /dev/null +++ b/ydb/core/blobstorage/ut_vdisk/lib/CMakeLists.txt @@ -0,0 +1,54 @@ + +# This file was gererated 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_library(blobstorage-ut_vdisk-lib) +target_link_libraries(blobstorage-ut_vdisk-lib PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-protos + cpp-http-io + cpp-openssl-io + cpp-string_utils-url + cpp-testing-unittest + ydb-core-base + ydb-core-blobstorage + core-blobstorage-backpressure + core-blobstorage-base + core-blobstorage-crypto + core-blobstorage-pdisk + core-blobstorage-vdisk + blobstorage-vdisk-common + blobstorage-vdisk-huge + vdisk-hulldb-base + blobstorage-vdisk-repl + blobstorage-vdisk-skeleton + blobstorage-vdisk-synclog + ydb-core-erasure + ydb-library-pdisk_io +) +target_sources(blobstorage-ut_vdisk-lib PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/dataset.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/helpers.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/http_client.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/prepare.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_brokendevice.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_dbstat.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_defrag.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_faketablet.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_gc.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_huge.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_load.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_localrecovery.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_many.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_outofspace.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_repl.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_simplebs.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/test_synclog.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/lib/vdisk_mock.cpp +) diff --git a/ydb/core/blobstorage/ut_vdisk2/CMakeLists.txt b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.txt new file mode 100644 index 0000000000..8558d81a04 --- /dev/null +++ b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-blobstorage-ut_vdisk2) +target_link_libraries(ydb-core-blobstorage-ut_vdisk2 PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-testing-unittest + core-blobstorage-backpressure + core-blobstorage-groupinfo + blobstorage-pdisk-mock + core-blobstorage-vdisk + blobstorage-vdisk-common + core-tx-scheme_board + udf-service-stub +) +target_sources(ydb-core-blobstorage-ut_vdisk2 PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk2/huge.cpp +) +add_test( + NAME + ydb-core-blobstorage-ut_vdisk2 + COMMAND + ydb-core-blobstorage-ut_vdisk2 +) +target_link_flags(ydb-core-blobstorage-ut_vdisk2 + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-ut_vdisk2) diff --git a/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.txt new file mode 100644 index 0000000000..f3372a51d5 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-blobstorage-vdisk-anubis_osiris-ut) +target_include_directories(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/anubis_osiris +) +target_link_libraries(ydb-core-blobstorage-vdisk-anubis_osiris-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-anubis_osiris + library-cpp-getopt + library-cpp-svnversion + ydb-core-base +) +target_sources(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/anubis_osiris/blobstorage_anubis_algo_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-anubis_osiris-ut + COMMAND + ydb-core-blobstorage-vdisk-anubis_osiris-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-anubis_osiris-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-anubis_osiris-ut) diff --git a/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.txt new file mode 100644 index 0000000000..d86f3c41f3 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-blobstorage-vdisk-common-ut) +target_include_directories(ydb-core-blobstorage-vdisk-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common +) +target_link_libraries(ydb-core-blobstorage-vdisk-common-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-common + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + core-blobstorage-groupinfo + ydb-core-erasure +) +target_sources(ydb-core-blobstorage-vdisk-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufresize_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufstream_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebuf_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/memusage_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/vdisk_config_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/vdisk_lsnmngr_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/vdisk_outofspace_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/vdisk_pdisk_error_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/vdisk_syncneighbors_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-common-ut + COMMAND + ydb-core-blobstorage-vdisk-common-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-common-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-common-ut) diff --git a/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.txt new file mode 100644 index 0000000000..8a2fd72c15 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-blobstorage-vdisk-defrag-ut) +target_include_directories(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/defrag +) +target_link_libraries(ydb-core-blobstorage-vdisk-defrag-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-defrag + library-cpp-getopt + library-cpp-svnversion + blobstorage-vdisk-hulldb +) +target_sources(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/defrag/defrag_actor_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-defrag-ut + COMMAND + ydb-core-blobstorage-vdisk-defrag-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-defrag-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-defrag-ut) diff --git a/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.txt new file mode 100644 index 0000000000..39b3606682 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-blobstorage-vdisk-huge-ut) +target_include_directories(ydb-core-blobstorage-vdisk-huge-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge +) +target_link_libraries(ydb-core-blobstorage-vdisk-huge-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-huge + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + ydb-core-blobstorage + core-blobstorage-groupinfo + ydb-core-erasure +) +target_sources(ydb-core-blobstorage-vdisk-huge-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugedefs_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugeheap_ctx_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugeheap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugerecovery_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/top_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-huge-ut + COMMAND + ydb-core-blobstorage-vdisk-huge-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-huge-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-huge-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.txt new file mode 100644 index 0000000000..cdc60d5849 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-blobstorage-vdisk-hulldb-barriers-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/barriers +) +target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + vdisk-hulldb-barriers + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + blobstorage-vdisk-common +) +target_sources(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/barriers/barriers_tree_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hulldb-barriers-ut + COMMAND + ydb-core-blobstorage-vdisk-hulldb-barriers-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hulldb-barriers-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hulldb-barriers-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.txt new file mode 100644 index 0000000000..3fc85e0f7b --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.txt @@ -0,0 +1,51 @@ + +# This file was gererated 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-blobstorage-vdisk-hulldb-base-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base +) +target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-base-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + vdisk-hulldb-base + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + blobstorage-vdisk-common + blobstorage-vdisk-hulldb +) +target_sources(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_blob_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_hullsatisfactionrank_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_hullstorageratio_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/hullbase_barrier_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/hullds_generic_it_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hulldb-base-ut + COMMAND + ydb-core-blobstorage-vdisk-hulldb-base-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hulldb-base-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hulldb-base-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.txt new file mode 100644 index 0000000000..2b5514ee13 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-blobstorage-vdisk-hulldb-compstrat-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/compstrat +) +target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + vdisk-hulldb-compstrat + ydb-core-base + blobstorage-vdisk-common + blobstorage-vdisk-hulldb + vdisk-hulldb-test +) +target_sources(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/compstrat/hulldb_compstrat_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hulldb-compstrat-ut + COMMAND + ydb-core-blobstorage-vdisk-hulldb-compstrat-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.txt new file mode 100644 index 0000000000..7496917f60 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-blobstorage-vdisk-hulldb-fresh-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh +) +target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + vdisk-hulldb-fresh + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + blobstorage-vdisk-common + blobstorage-vdisk-hulldb +) +target_sources(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_appendix_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_data_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_segment_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/snap_vec_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hulldb-fresh-ut + COMMAND + ydb-core-blobstorage-vdisk-hulldb-fresh-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hulldb-fresh-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hulldb-fresh-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.txt new file mode 100644 index 0000000000..93ab27a130 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-blobstorage-vdisk-hulldb-generic-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/generic +) +target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-generic-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + vdisk-hulldb-generic + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + blobstorage-vdisk-common + blobstorage-vdisk-hulldb +) +target_sources(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/generic/hullds_sst_it_all_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hulldb-generic-ut + COMMAND + ydb-core-blobstorage-vdisk-hulldb-generic-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hulldb-generic-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hulldb-generic-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.txt index a8719d5420..aa74e6a98b 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-core-blobstorage-vdisk-hulldb-ut PRIVATE target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main blobstorage-vdisk-hulldb @@ -37,13 +38,8 @@ target_link_flags(ydb-core-blobstorage-vdisk-hulldb-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.txt new file mode 100644 index 0000000000..7024a9a6b2 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-blobstorage-vdisk-hullop-ut) +target_include_directories(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop +) +target_link_libraries(ydb-core-blobstorage-vdisk-hullop-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-hullop + library-cpp-getopt + library-cpp-svnversion + core-blobstorage-pdisk +) +target_sources(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_hullcompactdeferredqueue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_readbatch_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/hullop_delayedresp_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-hullop-ut + COMMAND + ydb-core-blobstorage-vdisk-hullop-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-hullop-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-hullop-ut) diff --git a/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.txt new file mode 100644 index 0000000000..c4abd7e1c2 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-blobstorage-vdisk-ingress-ut) +target_include_directories(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress +) +target_link_libraries(ydb-core-blobstorage-vdisk-ingress-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-ingress + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + core-blobstorage-base + core-blobstorage-groupinfo + ydb-core-erasure +) +target_sources(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_matrix_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-ingress-ut + COMMAND + ydb-core-blobstorage-vdisk-ingress-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-ingress-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-ingress-ut) diff --git a/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.txt new file mode 100644 index 0000000000..cc346590f3 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-blobstorage-vdisk-query-ut) +target_include_directories(ydb-core-blobstorage-vdisk-query-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/query +) +target_link_libraries(ydb-core-blobstorage-vdisk-query-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-query + blobstorage-vdisk-huge + ydb-core-protos +) +target_sources(ydb-core-blobstorage-vdisk-query-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/query/query_spacetracker_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-query-ut + COMMAND + ydb-core-blobstorage-vdisk-query-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-query-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-query-ut) diff --git a/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.txt new file mode 100644 index 0000000000..d77c524f86 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-blobstorage-vdisk-repl-ut) +target_include_directories(ydb-core-blobstorage-vdisk-repl-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl +) +target_link_libraries(ydb-core-blobstorage-vdisk-repl-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-repl + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + ydb-core-blobstorage + ydb-core-erasure +) +target_sources(ydb-core-blobstorage-vdisk-repl-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_hullreplwritesst_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_replrecoverymachine_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-repl-ut + COMMAND + ydb-core-blobstorage-vdisk-repl-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-repl-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-repl-ut) diff --git a/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.txt new file mode 100644 index 0000000000..fd19709e19 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-blobstorage-vdisk-skeleton-ut) +target_compile_options(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton +) +target_link_libraries(ydb-core-blobstorage-vdisk-skeleton-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-skeleton + library-cpp-getopt + library-cpp-svnversion + ydb-core-blobstorage + blobstorage-vdisk-common + ydb-core-testlib + core-testlib-actors +) +target_sources(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_oos_logic_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_vpatch_actor_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-skeleton-ut + COMMAND + ydb-core-blobstorage-vdisk-skeleton-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-skeleton-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-skeleton-ut) diff --git a/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.txt new file mode 100644 index 0000000000..d5b176fbd8 --- /dev/null +++ b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-blobstorage-vdisk-syncer-ut) +target_include_directories(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer +) +target_link_libraries(ydb-core-blobstorage-vdisk-syncer-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-syncer + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + ydb-core-blobstorage +) +target_sources(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_data_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_localwriter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncquorum_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-syncer-ut + COMMAND + ydb-core-blobstorage-vdisk-syncer-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-syncer-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-syncer-ut) diff --git a/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.txt b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.txt new file mode 100644 index 0000000000..d9bd65affc --- /dev/null +++ b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-blobstorage-vdisk-synclog-ut) +target_include_directories(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog +) +target_link_libraries(ydb-core-blobstorage-vdisk-synclog-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-vdisk-synclog + library-cpp-getopt + library-cpp-svnversion + cpp-testing-unittest + ydb-core-base + ydb-core-blobstorage +) +target_sources(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdata_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdsk_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogkeeper_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogmem_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogmsgimpl_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogmsgwriter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/codecs_ut.cpp +) +add_test( + NAME + ydb-core-blobstorage-vdisk-synclog-ut + COMMAND + ydb-core-blobstorage-vdisk-synclog-ut +) +target_link_flags(ydb-core-blobstorage-vdisk-synclog-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-blobstorage-vdisk-synclog-ut) diff --git a/ydb/core/client/metadata/ut/CMakeLists.txt b/ydb/core/client/metadata/ut/CMakeLists.txt new file mode 100644 index 0000000000..0774e88537 --- /dev/null +++ b/ydb/core/client/metadata/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-client-metadata-ut) +target_compile_options(ydb-core-client-metadata-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-client-metadata-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/metadata +) +target_link_libraries(ydb-core-client-metadata-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-client-metadata + udf-service-stub +) +target_sources(ydb-core-client-metadata-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/metadata/ut/functions_metadata_ut.cpp +) +add_test( + NAME + ydb-core-client-metadata-ut + COMMAND + ydb-core-client-metadata-ut +) +target_link_flags(ydb-core-client-metadata-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-client-metadata-ut) diff --git a/ydb/core/client/minikql_compile/ut/CMakeLists.txt b/ydb/core/client/minikql_compile/ut/CMakeLists.txt new file mode 100644 index 0000000000..e3efe51315 --- /dev/null +++ b/ydb/core/client/minikql_compile/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-client-minikql_compile-ut) +target_compile_options(ydb-core-client-minikql_compile-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-client-minikql_compile-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_compile +) +target_link_libraries(ydb-core-client-minikql_compile-ut PUBLIC + contrib-libs-cxxsupp + yutil + cpp-malloc-jemalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-client-minikql_compile + cpp-testing-unittest + cpp-threading-future + core-client-scheme_cache_lib + core-client-server + ydb-core-tablet + ydb-core-testlib + library-yql-minikql + udf-service-exception_policy +) +target_sources(ydb-core-client-minikql_compile-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_compile/yql_expr_minikql_compile_ut.cpp +) +add_test( + NAME + ydb-core-client-minikql_compile-ut + COMMAND + ydb-core-client-minikql_compile-ut +) +target_link_flags(ydb-core-client-minikql_compile-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-client-minikql_compile-ut) diff --git a/ydb/core/client/minikql_result_lib/ut/CMakeLists.txt b/ydb/core/client/minikql_result_lib/ut/CMakeLists.txt new file mode 100644 index 0000000000..6ef7d3b72e --- /dev/null +++ b/ydb/core/client/minikql_result_lib/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-client-minikql_result_lib-ut) +target_compile_options(ydb-core-client-minikql_result_lib-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-client-minikql_result_lib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib +) +target_link_libraries(ydb-core-client-minikql_result_lib-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-client-minikql_result_lib + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-client-minikql_result_lib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/converter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/objects_ut.cpp +) +add_test( + NAME + ydb-core-client-minikql_result_lib-ut + COMMAND + ydb-core-client-minikql_result_lib-ut +) +target_link_flags(ydb-core-client-minikql_result_lib-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-client-minikql_result_lib-ut) diff --git a/ydb/core/client/server/ut/CMakeLists.txt b/ydb/core/client/server/ut/CMakeLists.txt new file mode 100644 index 0000000000..06c1b0568f --- /dev/null +++ b/ydb/core/client/server/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-client-server-ut) +target_compile_options(ydb-core-client-server-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-client-server-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/server +) +target_link_libraries(ydb-core-client-server-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-client-server + cpp-testing-gmock_in_unittest + ydb-core-persqueue + ydb-core-tablet_flat + ydb-core-testlib + core-testlib-actors +) +target_sources(ydb-core-client-server-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/server/msgbus_server_pq_metarequest_ut.cpp +) +add_test( + NAME + ydb-core-client-server-ut + COMMAND + ydb-core-client-server-ut +) +target_link_flags(ydb-core-client-server-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-client-server-ut) diff --git a/ydb/core/client/ut/CMakeLists.txt b/ydb/core/client/ut/CMakeLists.txt new file mode 100644 index 0000000000..82cff1d76c --- /dev/null +++ b/ydb/core/client/ut/CMakeLists.txt @@ -0,0 +1,56 @@ + +# This file was gererated 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-client-ut) +target_compile_options(ydb-core-client-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-client-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client +) +target_link_libraries(ydb-core-client-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-client + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + core-client-scheme_cache_lib + test-libs-rows + ydb-core-testlib +) +target_sources(ydb-core-client-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/client/cancel_tx_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/client_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/flat_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/locks_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/query_stats_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/client/s3_listing_ut.cpp +) +add_test( + NAME + ydb-core-client-ut + COMMAND + ydb-core-client-ut +) +target_link_flags(ydb-core-client-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-client-ut) diff --git a/ydb/core/cms/console/ut/CMakeLists.txt b/ydb/core/cms/console/ut/CMakeLists.txt new file mode 100644 index 0000000000..420390d318 --- /dev/null +++ b/ydb/core/cms/console/ut/CMakeLists.txt @@ -0,0 +1,57 @@ + +# This file was gererated 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-cms-console-ut) +target_compile_options(ydb-core-cms-console-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-cms-console-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console +) +target_link_libraries(ydb-core-cms-console-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-cms-console + library-cpp-getopt + cpp-protobuf-util + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-cms-console-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_dispatcher_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/console_ut_tenants.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/console_ut_configs.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/immediate_controls_configurator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/log_settings_configurator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/modifications_validator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/net_classifier_updater_ut.cpp +) +add_test( + NAME + ydb-core-cms-console-ut + COMMAND + ydb-core-cms-console-ut +) +target_link_flags(ydb-core-cms-console-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-cms-console-ut) diff --git a/ydb/core/cms/console/validators/ut/CMakeLists.txt b/ydb/core/cms/console/validators/ut/CMakeLists.txt new file mode 100644 index 0000000000..ee5a665a47 --- /dev/null +++ b/ydb/core/cms/console/validators/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-cms-console-validators-ut) +target_include_directories(ydb-core-cms-console-validators-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators +) +target_link_libraries(ydb-core-cms-console-validators-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + cms-console-validators + cpp-testing-unittest +) +target_sources(ydb-core-cms-console-validators-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/registry_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/validator_bootstrap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/validator_nameservice_ut.cpp +) +add_test( + NAME + ydb-core-cms-console-validators-ut + COMMAND + ydb-core-cms-console-validators-ut +) +target_link_flags(ydb-core-cms-console-validators-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-cms-console-validators-ut) diff --git a/ydb/core/cms/ut/CMakeLists.txt b/ydb/core/cms/ut/CMakeLists.txt new file mode 100644 index 0000000000..f6aec60452 --- /dev/null +++ b/ydb/core/cms/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-cms-ut) +target_compile_options(ydb-core-cms-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-cms-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms +) +target_link_libraries(ydb-core-cms-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-cms + library-cpp-getopt + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-cms-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/cluster_info_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_tenants_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/downtime_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/ut_helpers.cpp +) +add_test( + NAME + ydb-core-cms-ut + COMMAND + ydb-core-cms-ut +) +target_link_flags(ydb-core-cms-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-cms-ut) diff --git a/ydb/core/cms/ut_sentinel/CMakeLists.txt b/ydb/core/cms/ut_sentinel/CMakeLists.txt new file mode 100644 index 0000000000..a316ad5f7f --- /dev/null +++ b/ydb/core/cms/ut_sentinel/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-cms-ut_sentinel) +target_compile_options(ydb-core-cms-ut_sentinel PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-cms-ut_sentinel PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms +) +target_link_libraries(ydb-core-cms-ut_sentinel PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-cms + library-cpp-getopt + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-cms-ut_sentinel PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/cms/sentinel_ut.cpp +) +add_test( + NAME + ydb-core-cms-ut_sentinel + COMMAND + ydb-core-cms-ut_sentinel +) +target_link_flags(ydb-core-cms-ut_sentinel + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-cms-ut_sentinel) diff --git a/ydb/core/control/ut/CMakeLists.txt b/ydb/core/control/ut/CMakeLists.txt new file mode 100644 index 0000000000..72dea2a306 --- /dev/null +++ b/ydb/core/control/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-control-ut) +target_include_directories(ydb-core-control-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/control +) +target_link_libraries(ydb-core-control-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-control + cpp-actors-core + cpp-actors-interconnect + cpp-testing-unittest + ydb-core-base + ydb-core-mind + ydb-core-mon +) +target_sources(ydb-core-control-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_actor_ut.cpp +) +add_test( + NAME + ydb-core-control-ut + COMMAND + ydb-core-control-ut +) +target_link_flags(ydb-core-control-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-control-ut) diff --git a/ydb/core/driver_lib/run/ut/CMakeLists.txt b/ydb/core/driver_lib/run/ut/CMakeLists.txt new file mode 100644 index 0000000000..d611d4919a --- /dev/null +++ b/ydb/core/driver_lib/run/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-driver_lib-run-ut) +target_include_directories(ydb-core-driver_lib-run-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/driver_lib/run +) +target_link_libraries(ydb-core-driver_lib-run-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + run +) +target_sources(ydb-core-driver_lib-run-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/driver_lib/run/version_ut.cpp +) +add_test( + NAME + ydb-core-driver_lib-run-ut + COMMAND + ydb-core-driver_lib-run-ut +) +target_link_flags(ydb-core-driver_lib-run-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-driver_lib-run-ut) diff --git a/ydb/core/engine/ut/CMakeLists.txt b/ydb/core/engine/ut/CMakeLists.txt new file mode 100644 index 0000000000..3d3c896219 --- /dev/null +++ b/ydb/core/engine/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-engine-ut) +target_compile_options(ydb-core-engine-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-engine-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/engine +) +target_link_libraries(ydb-core-engine-ut PUBLIC + contrib-libs-cxxsupp + yutil + cpp-malloc-jemalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-engine + core-engine-minikql + kqp-ut-common + test-libs-table + mkql_proto-ut-helpers + udf-service-exception_policy +) +target_sources(ydb-core-engine-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_host_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/engine/kikimr_program_builder_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_proto_ut.cpp +) +add_test( + NAME + ydb-core-engine-ut + COMMAND + ydb-core-engine-ut +) +target_link_flags(ydb-core-engine-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-engine-ut) diff --git a/ydb/core/erasure/ut/CMakeLists.txt b/ydb/core/erasure/ut/CMakeLists.txt new file mode 100644 index 0000000000..3e67c3b525 --- /dev/null +++ b/ydb/core/erasure/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-erasure-ut) +target_include_directories(ydb-core-erasure-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure +) +target_link_libraries(ydb-core-erasure-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-erasure + cpp-digest-crc32c +) +target_sources(ydb-core-erasure-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_ut.cpp +) +add_test( + NAME + ydb-core-erasure-ut + COMMAND + ydb-core-erasure-ut +) +target_link_flags(ydb-core-erasure-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-erasure-ut) diff --git a/ydb/core/erasure/ut_perf/CMakeLists.txt b/ydb/core/erasure/ut_perf/CMakeLists.txt new file mode 100644 index 0000000000..ec10986df7 --- /dev/null +++ b/ydb/core/erasure/ut_perf/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-erasure-ut_perf) +target_include_directories(ydb-core-erasure-ut_perf PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure +) +target_link_libraries(ydb-core-erasure-ut_perf PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-erasure +) +target_sources(ydb-core-erasure-ut_perf PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_perf_test.cpp +) +add_test( + NAME + ydb-core-erasure-ut_perf + COMMAND + ydb-core-erasure-ut_perf +) +target_link_flags(ydb-core-erasure-ut_perf + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-erasure-ut_perf) diff --git a/ydb/core/erasure/ut_rope/CMakeLists.txt b/ydb/core/erasure/ut_rope/CMakeLists.txt new file mode 100644 index 0000000000..627d96f47e --- /dev/null +++ b/ydb/core/erasure/ut_rope/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-erasure-ut_rope) +target_include_directories(ydb-core-erasure-ut_rope PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure +) +target_link_libraries(ydb-core-erasure-ut_rope PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-erasure + cpp-digest-crc32c +) +target_sources(ydb-core-erasure-ut_rope PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_rope_ut.cpp +) +add_test( + NAME + ydb-core-erasure-ut_rope + COMMAND + ydb-core-erasure-ut_rope +) +target_link_flags(ydb-core-erasure-ut_rope + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-erasure-ut_rope) diff --git a/ydb/core/formats/ut/CMakeLists.txt b/ydb/core/formats/ut/CMakeLists.txt new file mode 100644 index 0000000000..0d329459e1 --- /dev/null +++ b/ydb/core/formats/ut/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-formats-ut) +target_compile_options(ydb-core-formats-ut PRIVATE + -Wno-unused-parameter +) +target_include_directories(ydb-core-formats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/formats +) +target_link_libraries(ydb-core-formats-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-formats + libs-apache-arrow + ydb-core-base +) +target_sources(ydb-core-formats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arrow.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arithmetic.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_math.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_round.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_program_step.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/formats/custom_registry.cpp +) +add_test( + NAME + ydb-core-formats-ut + COMMAND + ydb-core-formats-ut +) +target_link_flags(ydb-core-formats-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-formats-ut) diff --git a/ydb/core/grpc_services/ut/CMakeLists.txt b/ydb/core/grpc_services/ut/CMakeLists.txt index 1c7aa1a20f..d02b2b170e 100644 --- a/ydb/core/grpc_services/ut/CMakeLists.txt +++ b/ydb/core/grpc_services/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-core-grpc_services-ut PRIVATE target_link_libraries(ydb-core-grpc_services-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main ydb-core-grpc_services @@ -38,13 +39,8 @@ target_link_flags(ydb-core-grpc_services-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/grpc_services/validation/CMakeLists.txt b/ydb/core/grpc_services/validation/CMakeLists.txt index 10e2f9f334..74ba528506 100644 --- a/ydb/core/grpc_services/validation/CMakeLists.txt +++ b/ydb/core/grpc_services/validation/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(validation) target_link_libraries(validation PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check contrib-libs-protoc api-protos-annotations @@ -25,10 +26,7 @@ target_link_flags(validation -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/grpc_services/validation/ut/CMakeLists.txt b/ydb/core/grpc_services/validation/ut/CMakeLists.txt index cbf1c1d9e4..6a100c9ade 100644 --- a/ydb/core/grpc_services/validation/ut/CMakeLists.txt +++ b/ydb/core/grpc_services/validation/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-core-grpc_services-validation-ut PRIVATE target_link_libraries(ydb-core-grpc_services-validation-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-testing-unittest @@ -34,10 +35,7 @@ target_link_flags(ydb-core-grpc_services-validation-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/grpc_streaming/ut/CMakeLists.txt b/ydb/core/grpc_streaming/ut/CMakeLists.txt new file mode 100644 index 0000000000..312098c125 --- /dev/null +++ b/ydb/core/grpc_streaming/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-grpc_streaming-ut) +target_compile_options(ydb-core-grpc_streaming-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-grpc_streaming-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/grpc_streaming +) +target_link_libraries(ydb-core-grpc_streaming-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-grpc_streaming + cpp-grpc-client + grpc_streaming-ut-grpc + ydb-core-testlib +) +target_sources(ydb-core-grpc_streaming-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/grpc_streaming/grpc_streaming_ut.cpp +) +add_test( + NAME + ydb-core-grpc_streaming-ut + COMMAND + ydb-core-grpc_streaming-ut +) +target_link_flags(ydb-core-grpc_streaming-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-grpc_streaming-ut) diff --git a/ydb/core/grpc_streaming/ut/grpc/CMakeLists.txt b/ydb/core/grpc_streaming/ut/grpc/CMakeLists.txt new file mode 100644 index 0000000000..bc83439ed7 --- /dev/null +++ b/ydb/core/grpc_streaming/ut/grpc/CMakeLists.txt @@ -0,0 +1,26 @@ + +# This file was gererated 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_library(grpc_streaming-ut-grpc) +set_property(TARGET grpc_streaming-ut-grpc PROPERTY + PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h +) +target_link_libraries(grpc_streaming-ut-grpc PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + contrib-libs-protobuf +) +target_proto_messages(grpc_streaming-ut-grpc PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/grpc_streaming/ut/grpc/streaming_service.proto +) +target_proto_plugin(grpc_streaming-ut-grpc + grpc_cpp + grpc_cpp +) diff --git a/ydb/core/health_check/ut/CMakeLists.txt b/ydb/core/health_check/ut/CMakeLists.txt new file mode 100644 index 0000000000..1249e133ba --- /dev/null +++ b/ydb/core/health_check/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-health_check-ut) +target_compile_options(ydb-core-health_check-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-health_check-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/health_check +) +target_link_libraries(ydb-core-health_check-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-health_check + ydb-core-testlib +) +target_sources(ydb-core-health_check-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/health_check/health_check_ut.cpp +) +add_test( + NAME + ydb-core-health_check-ut + COMMAND + ydb-core-health_check-ut +) +target_link_flags(ydb-core-health_check-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-health_check-ut) diff --git a/ydb/core/kesus/proxy/ut/CMakeLists.txt b/ydb/core/kesus/proxy/ut/CMakeLists.txt new file mode 100644 index 0000000000..ed161d8fbe --- /dev/null +++ b/ydb/core/kesus/proxy/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-kesus-proxy-ut) +target_compile_options(ydb-core-kesus-proxy-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kesus-proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy +) +target_link_libraries(ydb-core-kesus-proxy-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kesus-proxy + ydb-core-testlib +) +target_sources(ydb-core-kesus-proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/proxy_actor_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/ut_helpers.cpp +) +add_test( + NAME + ydb-core-kesus-proxy-ut + COMMAND + ydb-core-kesus-proxy-ut +) +target_link_flags(ydb-core-kesus-proxy-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kesus-proxy-ut) diff --git a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.txt b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.txt index 987eae4ee8..d796e14636 100644 --- a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.txt +++ b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.txt @@ -17,6 +17,7 @@ target_include_directories(quoter_performance_test PRIVATE target_link_libraries(quoter_performance_test PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-testing-unittest @@ -32,13 +33,8 @@ target_link_flags(quoter_performance_test -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/kesus/tablet/ut/CMakeLists.txt b/ydb/core/kesus/tablet/ut/CMakeLists.txt new file mode 100644 index 0000000000..43b0e128f3 --- /dev/null +++ b/ydb/core/kesus/tablet/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-kesus-tablet-ut) +target_compile_options(ydb-core-kesus-tablet-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kesus-tablet-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet +) +target_link_libraries(ydb-core-kesus-tablet-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kesus-tablet + cpp-testing-gmock_in_unittest + ydb-core-testlib +) +target_sources(ydb-core-kesus-tablet-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/tablet_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_resource_tree_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/ut_helpers.cpp +) +add_test( + NAME + ydb-core-kesus-tablet-ut + COMMAND + ydb-core-kesus-tablet-ut +) +target_link_flags(ydb-core-kesus-tablet-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kesus-tablet-ut) diff --git a/ydb/core/keyvalue/ut/CMakeLists.txt b/ydb/core/keyvalue/ut/CMakeLists.txt new file mode 100644 index 0000000000..17b95f4699 --- /dev/null +++ b/ydb/core/keyvalue/ut/CMakeLists.txt @@ -0,0 +1,51 @@ + +# This file was gererated 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-keyvalue-ut) +target_compile_options(ydb-core-keyvalue-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-keyvalue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue +) +target_link_libraries(ydb-core-keyvalue-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-keyvalue + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-keyvalue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_collector_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_storage_read_request_ut.cpp +) +add_test( + NAME + ydb-core-keyvalue-ut + COMMAND + ydb-core-keyvalue-ut +) +target_link_flags(ydb-core-keyvalue-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-keyvalue-ut) diff --git a/ydb/core/kqp/executer/ut/CMakeLists.txt b/ydb/core/kqp/executer/ut/CMakeLists.txt new file mode 100644 index 0000000000..89af33fd46 --- /dev/null +++ b/ydb/core/kqp/executer/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-kqp-executer-ut) +target_compile_options(ydb-core-kqp-executer-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-executer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp +) +target_link_libraries(ydb-core-kqp-executer-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-kqp + core-kqp-common + core-kqp-host + kqp-ut-common + cpp-client-ydb_proto +) +add_test( + NAME + ydb-core-kqp-executer-ut + COMMAND + ydb-core-kqp-executer-ut +) +target_link_flags(ydb-core-kqp-executer-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-executer-ut) diff --git a/ydb/core/kqp/expr_nodes/CMakeLists.txt b/ydb/core/kqp/expr_nodes/CMakeLists.txt index 445b22a811..920eeadabe 100644 --- a/ydb/core/kqp/expr_nodes/CMakeLists.txt +++ b/ydb/core/kqp/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(core-kqp-expr_nodes) target_link_libraries(core-kqp-expr_nodes PUBLIC @@ -27,9 +28,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/expr_nodes/kqp_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/expr_nodes/kqp_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/core/kqp/expr_nodes/kqp_expr_nodes.gen.h diff --git a/ydb/core/kqp/node/ut/CMakeLists.txt b/ydb/core/kqp/node/ut/CMakeLists.txt new file mode 100644 index 0000000000..2bfd734a6d --- /dev/null +++ b/ydb/core/kqp/node/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-kqp-node-ut) +target_compile_options(ydb-core-kqp-node-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-node-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/node +) +target_link_libraries(ydb-core-kqp-node-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kqp-node + kqp-ut-common +) +target_sources(ydb-core-kqp-node-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/node/kqp_node_ut.cpp +) +add_test( + NAME + ydb-core-kqp-node-ut + COMMAND + ydb-core-kqp-node-ut +) +target_link_flags(ydb-core-kqp-node-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-node-ut) diff --git a/ydb/core/kqp/provider/CMakeLists.txt b/ydb/core/kqp/provider/CMakeLists.txt index 02b2368780..de93f2f515 100644 --- a/ydb/core/kqp/provider/CMakeLists.txt +++ b/ydb/core/kqp/provider/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(core-kqp-provider) target_compile_options(core-kqp-provider PRIVATE @@ -68,9 +69,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/yql_kikimr_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/yql_kikimr_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/core/kqp/provider/yql_kikimr_expr_nodes.gen.h diff --git a/ydb/core/kqp/provider/mkql/CMakeLists.txt b/ydb/core/kqp/provider/mkql/CMakeLists.txt index e425c5c876..386664aace 100644 --- a/ydb/core/kqp/provider/mkql/CMakeLists.txt +++ b/ydb/core/kqp/provider/mkql/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(kqp-provider-mkql STATIC) set_property(TARGET kqp-provider-mkql PROPERTY @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/mkql/yql_kikimr_mkql_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/mkql/yql_kikimr_mkql_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/core/kqp/provider/mkql/yql_kikimr_mkql_expr_nodes.gen.h diff --git a/ydb/core/kqp/provider/ut/CMakeLists.txt b/ydb/core/kqp/provider/ut/CMakeLists.txt new file mode 100644 index 0000000000..57c38b1c30 --- /dev/null +++ b/ydb/core/kqp/provider/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-kqp-provider-ut) +target_compile_options(ydb-core-kqp-provider-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-provider-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider +) +target_link_libraries(ydb-core-kqp-provider-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kqp-provider + core-client-minikql_result_lib + kqp-ut-common +) +target_sources(ydb-core-kqp-provider-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/yql_kikimr_gateway_ut.cpp +) +add_test( + NAME + ydb-core-kqp-provider-ut + COMMAND + ydb-core-kqp-provider-ut +) +target_link_flags(ydb-core-kqp-provider-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-provider-ut) diff --git a/ydb/core/kqp/proxy/ut/CMakeLists.txt b/ydb/core/kqp/proxy/ut/CMakeLists.txt new file mode 100644 index 0000000000..3810b33e06 --- /dev/null +++ b/ydb/core/kqp/proxy/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-kqp-proxy-ut) +target_compile_options(ydb-core-kqp-proxy-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/proxy +) +target_link_libraries(ydb-core-kqp-proxy-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kqp-proxy + kqp-ut-common +) +target_sources(ydb-core-kqp-proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/proxy/kqp_proxy_ut.cpp +) +add_test( + NAME + ydb-core-kqp-proxy-ut + COMMAND + ydb-core-kqp-proxy-ut +) +target_link_flags(ydb-core-kqp-proxy-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-proxy-ut) diff --git a/ydb/core/kqp/rm/ut/CMakeLists.txt b/ydb/core/kqp/rm/ut/CMakeLists.txt new file mode 100644 index 0000000000..bbe601402c --- /dev/null +++ b/ydb/core/kqp/rm/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-kqp-rm-ut) +target_compile_options(ydb-core-kqp-rm-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-rm-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm +) +target_link_libraries(ydb-core-kqp-rm-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kqp-rm + kqp-ut-common +) +target_sources(ydb-core-kqp-rm-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_resource_estimation_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_rm_ut.cpp +) +add_test( + NAME + ydb-core-kqp-rm-ut + COMMAND + ydb-core-kqp-rm-ut +) +target_link_flags(ydb-core-kqp-rm-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-rm-ut) diff --git a/ydb/core/kqp/runtime/ut/CMakeLists.txt b/ydb/core/kqp/runtime/ut/CMakeLists.txt new file mode 100644 index 0000000000..860abb78d9 --- /dev/null +++ b/ydb/core/kqp/runtime/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-kqp-runtime-ut) +target_compile_options(ydb-core-kqp-runtime-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-runtime-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/runtime +) +target_link_libraries(ydb-core-kqp-runtime-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-kqp-runtime + cpp-testing-unittest + core-testlib-basics + udf-service-exception_policy +) +target_sources(ydb-core-kqp-runtime-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/runtime/kqp_scan_data_ut.cpp +) +add_test( + NAME + ydb-core-kqp-runtime-ut + COMMAND + ydb-core-kqp-runtime-ut +) +target_link_flags(ydb-core-kqp-runtime-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-runtime-ut) diff --git a/ydb/core/kqp/ut/CMakeLists.txt b/ydb/core/kqp/ut/CMakeLists.txt new file mode 100644 index 0000000000..7de5aeda44 --- /dev/null +++ b/ydb/core/kqp/ut/CMakeLists.txt @@ -0,0 +1,89 @@ + +# This file was gererated 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-kqp-ut) +target_compile_options(ydb-core-kqp-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp +) +target_link_libraries(ydb-core-kqp-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-kqp + cpp-threading-local_executor + core-client-minikql_compile + core-kqp-counters + core-kqp-host + core-kqp-provider + kqp-ut-common + cpp-client-draft + cpp-client-ydb_proto +) +target_sources(ydb-core-kqp-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_acl_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_arrow_in_channels_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_document_api_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_effects_perf_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_explain_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_flip_join_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_index_lookup_join_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_indexes_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_indexes_multishard_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_join_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_limits_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_locks_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_merge_connection_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_mvcc_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_newengine_effects_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_newengine_flowcontrol_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_newengine_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_not_null_columns_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_olap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_params_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_pragma_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_query_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_scan_spilling_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_scan_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_scheme_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_scripting_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_service_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_sort_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_stats_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_sqlin_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_sys_view_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_sys_col_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_table_predicate_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_tx_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_types_arrow_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_write_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_yql_ut.cpp +) +add_test( + NAME + ydb-core-kqp-ut + COMMAND + ydb-core-kqp-ut +) +target_link_flags(ydb-core-kqp-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-ut) diff --git a/ydb/core/kqp/ut/common/CMakeLists.txt b/ydb/core/kqp/ut/common/CMakeLists.txt new file mode 100644 index 0000000000..af1d72d9ba --- /dev/null +++ b/ydb/core/kqp/ut/common/CMakeLists.txt @@ -0,0 +1,28 @@ + +# This file was gererated 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_library(kqp-ut-common) +target_compile_options(kqp-ut-common PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(kqp-ut-common PUBLIC + contrib-libs-cxxsupp + yutil + ydb-core-testlib + yql-public-udf + yql-utils-backtrace + public-lib-yson_value + cpp-client-draft + cpp-client-ydb_proto + cpp-client-ydb_scheme + cpp-client-ydb_table +) +target_sources(kqp-ut-common PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/common/kqp_ut_common.cpp +) diff --git a/ydb/core/kqp/ut/fat/CMakeLists.txt b/ydb/core/kqp/ut/fat/CMakeLists.txt new file mode 100644 index 0000000000..cef9cc79c9 --- /dev/null +++ b/ydb/core/kqp/ut/fat/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-kqp-ut-fat) +target_compile_options(ydb-core-kqp-ut-fat PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-kqp-ut-fat PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp +) +target_link_libraries(ydb-core-kqp-ut-fat PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-kqp + cpp-client-ydb_proto + core-kqp-counters + core-kqp-host + core-kqp-provider + kqp-ut-common +) +target_sources(ydb-core-kqp-ut-fat PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/fat/kqp_force_newengine_ut.cpp +) +add_test( + NAME + ydb-core-kqp-ut-fat + COMMAND + ydb-core-kqp-ut-fat +) +target_link_flags(ydb-core-kqp-ut-fat + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-kqp-ut-fat) diff --git a/ydb/core/metering/ut/CMakeLists.txt b/ydb/core/metering/ut/CMakeLists.txt new file mode 100644 index 0000000000..920053fca6 --- /dev/null +++ b/ydb/core/metering/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-metering-ut) +target_include_directories(ydb-core-metering-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/metering +) +target_link_libraries(ydb-core-metering-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-metering +) +target_sources(ydb-core-metering-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/metering/time_grid_ut.cpp +) +add_test( + NAME + ydb-core-metering-ut + COMMAND + ydb-core-metering-ut +) +target_link_flags(ydb-core-metering-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-metering-ut) diff --git a/ydb/core/mind/address_classification/ut/CMakeLists.txt b/ydb/core/mind/address_classification/ut/CMakeLists.txt new file mode 100644 index 0000000000..43ec1cb05a --- /dev/null +++ b/ydb/core/mind/address_classification/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-address_classification-ut) +target_compile_options(ydb-core-mind-address_classification-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-mind-address_classification-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/address_classification +) +target_link_libraries(ydb-core-mind-address_classification-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-mind-address_classification + cpp-actors-http + ydb-core-testlib +) +target_sources(ydb-core-mind-address_classification-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/address_classification/net_classifier_ut.cpp +) +add_test( + NAME + ydb-core-mind-address_classification-ut + COMMAND + ydb-core-mind-address_classification-ut +) +target_link_flags(ydb-core-mind-address_classification-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-address_classification-ut) diff --git a/ydb/core/mind/bscontroller/ut/CMakeLists.txt b/ydb/core/mind/bscontroller/ut/CMakeLists.txt new file mode 100644 index 0000000000..228e28444e --- /dev/null +++ b/ydb/core/mind/bscontroller/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-bscontroller-ut) +target_include_directories(ydb-core-mind-bscontroller-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller +) +target_link_libraries(ydb-core-mind-bscontroller-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-mind-bscontroller + cpp-actors-util + ydb-core-yql_testlib +) +target_sources(ydb-core-mind-bscontroller-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/grouper_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/group_mapper_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/mv_object_map_ut.cpp +) +add_test( + NAME + ydb-core-mind-bscontroller-ut + COMMAND + ydb-core-mind-bscontroller-ut +) +target_link_flags(ydb-core-mind-bscontroller-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-bscontroller-ut) diff --git a/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.txt b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.txt new file mode 100644 index 0000000000..0ba605c918 --- /dev/null +++ b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-bscontroller-ut_bscontroller) +target_compile_options(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(ydb-core-mind-bscontroller-ut_bscontroller PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-base + ydb-core-blobstorage + core-blobstorage-base + blobstorage-dsproxy-mock + core-mind-bscontroller + ydb-core-protos + ydb-core-testlib + core-testlib-basics +) +target_sources(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_bscontroller/main.cpp +) +add_test( + NAME + ydb-core-mind-bscontroller-ut_bscontroller + COMMAND + ydb-core-mind-bscontroller-ut_bscontroller +) +target_link_flags(ydb-core-mind-bscontroller-ut_bscontroller + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-bscontroller-ut_bscontroller) diff --git a/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.txt b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.txt new file mode 100644 index 0000000000..8831a9aca6 --- /dev/null +++ b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-bscontroller-ut_selfheal) +target_compile_options(ydb-core-mind-bscontroller-ut_selfheal PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(ydb-core-mind-bscontroller-ut_selfheal PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + blobstorage-dsproxy-mock + blobstorage-pdisk-mock + core-mind-bscontroller + core-tx-scheme_board + udf-service-stub +) +target_sources(ydb-core-mind-bscontroller-ut_selfheal PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/self_heal_actor_ut.cpp +) +add_test( + NAME + ydb-core-mind-bscontroller-ut_selfheal + COMMAND + ydb-core-mind-bscontroller-ut_selfheal +) +target_link_flags(ydb-core-mind-bscontroller-ut_selfheal + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-bscontroller-ut_selfheal) diff --git a/ydb/core/mind/hive/ut/CMakeLists.txt b/ydb/core/mind/hive/ut/CMakeLists.txt new file mode 100644 index 0000000000..6ea73f41ec --- /dev/null +++ b/ydb/core/mind/hive/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-hive-ut) +target_compile_options(ydb-core-mind-hive-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-mind-hive-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive +) +target_link_libraries(ydb-core-mind-hive-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-mind-hive + library-cpp-getopt + library-cpp-svnversion + ydb-core-base + ydb-core-mind + ydb-core-testlib +) +target_sources(ydb-core-mind-hive-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/sequencer_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/storage_pool_info_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/hive_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/hive_impl_ut.cpp +) +add_test( + NAME + ydb-core-mind-hive-ut + COMMAND + ydb-core-mind-hive-ut +) +target_link_flags(ydb-core-mind-hive-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-hive-ut) diff --git a/ydb/core/mind/ut/CMakeLists.txt b/ydb/core/mind/ut/CMakeLists.txt new file mode 100644 index 0000000000..0cf47ecf7d --- /dev/null +++ b/ydb/core/mind/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-mind + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +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_broker.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 +) +add_test( + NAME + ydb-core-mind-ut + COMMAND + ydb-core-mind-ut +) +target_link_flags(ydb-core-mind-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-ut) diff --git a/ydb/core/mind/ut_fat/CMakeLists.txt b/ydb/core/mind/ut_fat/CMakeLists.txt new file mode 100644 index 0000000000..293c7d982f --- /dev/null +++ b/ydb/core/mind/ut_fat/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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_fat) +target_compile_options(ydb-core-mind-ut_fat PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-mind-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind +) +target_link_libraries(ydb-core-mind-ut_fat PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-mind + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-base + core-blobstorage-base + core-blobstorage-crypto + core-blobstorage-nodewarden + core-blobstorage-pdisk + blobstorage-vdisk-common + ydb-core-testlib +) +target_sources(ydb-core-mind-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/mind/ut_fat/blobstorage_node_warden_ut_fat.cpp +) +add_test( + NAME + ydb-core-mind-ut_fat + COMMAND + ydb-core-mind-ut_fat +) +target_link_flags(ydb-core-mind-ut_fat + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-mind-ut_fat) diff --git a/ydb/core/persqueue/ut/CMakeLists.txt b/ydb/core/persqueue/ut/CMakeLists.txt new file mode 100644 index 0000000000..c27a79650f --- /dev/null +++ b/ydb/core/persqueue/ut/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-persqueue-ut) +target_compile_options(ydb-core-persqueue-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-persqueue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue +) +target_link_libraries(ydb-core-persqueue-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-persqueue + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb_persqueue_core-ut-ut_utils +) +target_sources(ydb-core-persqueue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/internals_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/mirrorer_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/pq_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/type_codecs_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/sourceid_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/user_info_ut.cpp +) +add_test( + NAME + ydb-core-persqueue-ut + COMMAND + ydb-core-persqueue-ut +) +target_link_flags(ydb-core-persqueue-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-persqueue-ut) diff --git a/ydb/core/persqueue/ut_slow/CMakeLists.txt b/ydb/core/persqueue/ut_slow/CMakeLists.txt new file mode 100644 index 0000000000..3ecfb1bf82 --- /dev/null +++ b/ydb/core/persqueue/ut_slow/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-persqueue-ut_slow) +target_compile_options(ydb-core-persqueue-ut_slow PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-persqueue-ut_slow PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue +) +target_link_libraries(ydb-core-persqueue-ut_slow PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-persqueue + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-persqueue-ut_slow PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/pq_ut_slow.cpp +) +add_test( + NAME + ydb-core-persqueue-ut_slow + COMMAND + ydb-core-persqueue-ut_slow +) +target_link_flags(ydb-core-persqueue-ut_slow + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-persqueue-ut_slow) diff --git a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.txt b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.txt index bcb893f93c..30f31d310c 100644 --- a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.txt +++ b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.txt @@ -14,6 +14,7 @@ target_compile_options(quoter_service_bandwidth_test PRIVATE target_link_libraries(quoter_service_bandwidth_test PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-colorizer library-cpp-getopt @@ -32,13 +33,8 @@ target_link_flags(quoter_service_bandwidth_test -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/quoter/ut/CMakeLists.txt b/ydb/core/quoter/ut/CMakeLists.txt new file mode 100644 index 0000000000..f0d6b7d855 --- /dev/null +++ b/ydb/core/quoter/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-quoter-ut) +target_compile_options(ydb-core-quoter-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-quoter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/quoter +) +target_link_libraries(ydb-core-quoter-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-quoter + cpp-testing-gmock_in_unittest + ydb-core-testlib +) +target_sources(ydb-core-quoter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/kesus_quoter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/ut_helpers.cpp +) +add_test( + NAME + ydb-core-quoter-ut + COMMAND + ydb-core-quoter-ut +) +target_link_flags(ydb-core-quoter-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-quoter-ut) diff --git a/ydb/core/scheme/ut/CMakeLists.txt b/ydb/core/scheme/ut/CMakeLists.txt new file mode 100644 index 0000000000..b12c027f9e --- /dev/null +++ b/ydb/core/scheme/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-scheme-ut) +target_include_directories(ydb-core-scheme-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/scheme +) +target_link_libraries(ydb-core-scheme-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-scheme +) +target_sources(ydb-core-scheme-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_borders_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_tablecell_ut.cpp +) +add_test( + NAME + ydb-core-scheme-ut + COMMAND + ydb-core-scheme-ut +) +target_link_flags(ydb-core-scheme-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-scheme-ut) diff --git a/ydb/core/security/ut/CMakeLists.txt b/ydb/core/security/ut/CMakeLists.txt new file mode 100644 index 0000000000..02f3e1b75b --- /dev/null +++ b/ydb/core/security/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-security-ut) +target_compile_options(ydb-core-security-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-security-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/security +) +target_link_libraries(ydb-core-security-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-security + ydb-core-testlib +) +target_sources(ydb-core-security-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/security/ticket_parser_ut.cpp +) +add_test( + NAME + ydb-core-security-ut + COMMAND + ydb-core-security-ut +) +target_link_flags(ydb-core-security-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-security-ut) diff --git a/ydb/core/sys_view/partition_stats/ut/CMakeLists.txt b/ydb/core/sys_view/partition_stats/ut/CMakeLists.txt new file mode 100644 index 0000000000..a090bb2aef --- /dev/null +++ b/ydb/core/sys_view/partition_stats/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-sys_view-partition_stats-ut) +target_compile_options(ydb-core-sys_view-partition_stats-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-sys_view-partition_stats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/partition_stats +) +target_link_libraries(ydb-core-sys_view-partition_stats-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-sys_view-partition_stats + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-sys_view-partition_stats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/partition_stats/partition_stats_ut.cpp +) +add_test( + NAME + ydb-core-sys_view-partition_stats-ut + COMMAND + ydb-core-sys_view-partition_stats-ut +) +target_link_flags(ydb-core-sys_view-partition_stats-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-sys_view-partition_stats-ut) diff --git a/ydb/core/sys_view/query_stats/ut/CMakeLists.txt b/ydb/core/sys_view/query_stats/ut/CMakeLists.txt new file mode 100644 index 0000000000..b9b4658103 --- /dev/null +++ b/ydb/core/sys_view/query_stats/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-sys_view-query_stats-ut) +target_compile_options(ydb-core-sys_view-query_stats-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-sys_view-query_stats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/query_stats +) +target_link_libraries(ydb-core-sys_view-query_stats-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-sys_view-query_stats + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-sys_view-query_stats-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/query_stats/query_stats_ut.cpp +) +add_test( + NAME + ydb-core-sys_view-query_stats-ut + COMMAND + ydb-core-sys_view-query_stats-ut +) +target_link_flags(ydb-core-sys_view-query_stats-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-sys_view-query_stats-ut) diff --git a/ydb/core/sys_view/service/ut/CMakeLists.txt b/ydb/core/sys_view/service/ut/CMakeLists.txt new file mode 100644 index 0000000000..82af86a55b --- /dev/null +++ b/ydb/core/sys_view/service/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-sys_view-service-ut) +target_include_directories(ydb-core-sys_view-service-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/service +) +target_link_libraries(ydb-core-sys_view-service-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-sys_view-service + cpp-testing-unittest +) +target_sources(ydb-core-sys_view-service-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/service/query_history_ut.cpp +) +add_test( + NAME + ydb-core-sys_view-service-ut + COMMAND + ydb-core-sys_view-service-ut +) +target_link_flags(ydb-core-sys_view-service-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-sys_view-service-ut) diff --git a/ydb/core/sys_view/ut_kqp/CMakeLists.txt b/ydb/core/sys_view/ut_kqp/CMakeLists.txt new file mode 100644 index 0000000000..37ad44b8f9 --- /dev/null +++ b/ydb/core/sys_view/ut_kqp/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-sys_view-ut_kqp) +target_compile_options(ydb-core-sys_view-ut_kqp PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-sys_view-ut_kqp PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view +) +target_link_libraries(ydb-core-sys_view-ut_kqp PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-sys_view + cpp-testing-unittest + cpp-yson-node + kqp-ut-common + ydb-core-testlib + cpp-client-draft +) +target_sources(ydb-core-sys_view-ut_kqp PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_kqp.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_counters.cpp +) +add_test( + NAME + ydb-core-sys_view-ut_kqp + COMMAND + ydb-core-sys_view-ut_kqp +) +target_link_flags(ydb-core-sys_view-ut_kqp + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-sys_view-ut_kqp) diff --git a/ydb/core/tablet/ut/CMakeLists.txt b/ydb/core/tablet/ut/CMakeLists.txt new file mode 100644 index 0000000000..7289b22722 --- /dev/null +++ b/ydb/core/tablet/ut/CMakeLists.txt @@ -0,0 +1,56 @@ + +# This file was gererated 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-tablet-ut) +target_compile_options(ydb-core-tablet-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tablet-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet +) +target_link_libraries(ydb-core-tablet-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-tablet + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-core-tablet-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/pipe_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/resource_broker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_counters_aggregator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_metrics_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_pipe_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_pipecache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_req_blockbs_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet/tablet_resolver_ut.cpp +) +add_test( + NAME + ydb-core-tablet-ut + COMMAND + ydb-core-tablet-ut +) +target_link_flags(ydb-core-tablet-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tablet-ut) diff --git a/contrib/tools/python3/lib/CMakeLists.txt b/ydb/core/tablet_flat/test/libs/exec/CMakeLists.txt index 879b9caf41..720d0db495 100644 --- a/contrib/tools/python3/lib/CMakeLists.txt +++ b/ydb/core/tablet_flat/test/libs/exec/CMakeLists.txt @@ -7,15 +7,12 @@ -add_library(tools-python3-lib INTERFACE) -target_link_libraries(tools-python3-lib INTERFACE +add_library(test-libs-exec INTERFACE) +target_link_libraries(test-libs-exec INTERFACE contrib-libs-cxxsupp yutil - tools-python3-src - contrib-libs-cxxsupp - yutil - certs - contrib-libs-cxxsupp - yutil - python3-src-Modules + ydb-core-base + blobstorage-dsproxy-mock + ydb-core-tablet_flat + core-testlib-actors ) diff --git a/library/python/symbols/registry/CMakeLists.txt b/ydb/core/tablet_flat/test/libs/rows/CMakeLists.txt index 89e8f9ba17..cb79a59c95 100644 --- a/library/python/symbols/registry/CMakeLists.txt +++ b/ydb/core/tablet_flat/test/libs/rows/CMakeLists.txt @@ -7,11 +7,12 @@ -add_library(python-symbols-registry) -target_link_libraries(python-symbols-registry PUBLIC +add_library(test-libs-rows) +target_link_libraries(test-libs-rows PUBLIC contrib-libs-cxxsupp yutil + ydb-core-tablet_flat ) -target_sources(python-symbols-registry PRIVATE - ${CMAKE_SOURCE_DIR}/library/python/symbols/registry/syms.cpp +target_sources(test-libs-rows PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/test/libs/rows/all.cpp ) diff --git a/ydb/core/tablet_flat/test/libs/table/CMakeLists.txt b/ydb/core/tablet_flat/test/libs/table/CMakeLists.txt new file mode 100644 index 0000000000..01568fc47f --- /dev/null +++ b/ydb/core/tablet_flat/test/libs/table/CMakeLists.txt @@ -0,0 +1,20 @@ + +# This file was gererated 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_library(test-libs-table) +target_link_libraries(test-libs-table PUBLIC + contrib-libs-cxxsupp + yutil + test-libs-rows + libs-table-model + ydb-core-tablet_flat +) +target_sources(test-libs-table PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/test/libs/table/misc.cpp +) diff --git a/ydb/core/tablet_flat/test/libs/table/model/CMakeLists.txt b/ydb/core/tablet_flat/test/libs/table/model/CMakeLists.txt new file mode 100644 index 0000000000..751d6f6c23 --- /dev/null +++ b/ydb/core/tablet_flat/test/libs/table/model/CMakeLists.txt @@ -0,0 +1,15 @@ + +# This file was gererated 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_library(libs-table-model INTERFACE) +target_link_libraries(libs-table-model INTERFACE + contrib-libs-cxxsupp + yutil + test-libs-rows +) diff --git a/ydb/core/tablet_flat/ut/CMakeLists.txt b/ydb/core/tablet_flat/ut/CMakeLists.txt new file mode 100644 index 0000000000..5685ec157a --- /dev/null +++ b/ydb/core/tablet_flat/ut/CMakeLists.txt @@ -0,0 +1,92 @@ + +# This file was gererated 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-tablet_flat-ut) +target_include_directories(ydb-core-tablet_flat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat +) +target_link_libraries(ydb-core-tablet_flat-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-tablet_flat + library-cpp-resource + ydb-core-scheme + test-libs-exec + test-libs-table + udf-service-exception_policy +) +target_sources(ydb-core-tablet_flat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/datetime_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/decimal_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_cxx_database_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_db_iface.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_db_scheme.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_database_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_gclogic_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_range_cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_row_versions_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_sausagecache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_table_part_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/flat_test_db.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/shared_handle_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_self.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_iterator.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_memtable.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_sausage.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_comp_gen.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_comp_shard.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_compaction.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_compaction_multi.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_charge.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_part.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_part_multi.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_proto.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_pages.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_redo.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_rename_table_column.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_other.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_forward.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_screen.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_bloom.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_slice.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_slice_loader.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/ut/ut_versions.cpp + ${CMAKE_BINARY_DIR}/ydb/core/tablet_flat/ut/6cf77686c9ddf4f7a8a150d2405a77e7.cpp +) +add_test( + NAME + ydb-core-tablet_flat-ut + COMMAND + ydb-core-tablet_flat-ut +) +resources(ydb-core-tablet_flat-ut + ${CMAKE_BINARY_DIR}/ydb/core/tablet_flat/ut/6cf77686c9ddf4f7a8a150d2405a77e7.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/test/data/002_full_part.pages + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/test/data/008_basics_db.redo + KEYS + abi/002_full_part.pages + abi/008_basics_db.redo +) +target_link_flags(ydb-core-tablet_flat-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tablet_flat-ut) diff --git a/ydb/core/tablet_flat/ut_large/CMakeLists.txt b/ydb/core/tablet_flat/ut_large/CMakeLists.txt new file mode 100644 index 0000000000..23bafa1b49 --- /dev/null +++ b/ydb/core/tablet_flat/ut_large/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-tablet_flat-ut_large) +target_include_directories(ydb-core-tablet_flat-ut_large PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat +) +target_link_libraries(ydb-core-tablet_flat-ut_large PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-tablet_flat + ydb-core-scheme + test-libs-exec + test-libs-table + udf-service-exception_policy +) +target_sources(ydb-core-tablet_flat-ut_large PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_ut_large.cpp +) +add_test( + NAME + ydb-core-tablet_flat-ut_large + COMMAND + ydb-core-tablet_flat-ut_large +) +target_link_flags(ydb-core-tablet_flat-ut_large + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tablet_flat-ut_large) diff --git a/ydb/core/testlib/actors/ut/CMakeLists.txt b/ydb/core/testlib/actors/ut/CMakeLists.txt new file mode 100644 index 0000000000..8cdd5c45ae --- /dev/null +++ b/ydb/core/testlib/actors/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-testlib-actors-ut) +target_include_directories(ydb-core-testlib-actors-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/testlib/actors +) +target_link_libraries(ydb-core-testlib-actors-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-testlib-actors + library-cpp-getopt + library-cpp-svnversion + cpp-regex-pcre +) +target_sources(ydb-core-testlib-actors-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/testlib/actors/test_runtime_ut.cpp +) +add_test( + NAME + ydb-core-testlib-actors-ut + COMMAND + ydb-core-testlib-actors-ut +) +target_link_flags(ydb-core-testlib-actors-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-testlib-actors-ut) diff --git a/ydb/core/tx/balance_coverage/ut/CMakeLists.txt b/ydb/core/tx/balance_coverage/ut/CMakeLists.txt new file mode 100644 index 0000000000..0310819ee1 --- /dev/null +++ b/ydb/core/tx/balance_coverage/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-tx-balance_coverage-ut) +target_include_directories(ydb-core-tx-balance_coverage-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/balance_coverage +) +target_link_libraries(ydb-core-tx-balance_coverage-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-balance_coverage + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-tx-balance_coverage-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/balance_coverage/balance_coverage_builder_ut.cpp +) +add_test( + NAME + ydb-core-tx-balance_coverage-ut + COMMAND + ydb-core-tx-balance_coverage-ut +) +target_link_flags(ydb-core-tx-balance_coverage-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-balance_coverage-ut) diff --git a/ydb/core/tx/columnshard/engines/ut/CMakeLists.txt b/ydb/core/tx/columnshard/engines/ut/CMakeLists.txt new file mode 100644 index 0000000000..11e53fa7ae --- /dev/null +++ b/ydb/core/tx/columnshard/engines/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-tx-columnshard-engines-ut) +target_compile_options(ydb-core-tx-columnshard-engines-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-columnshard-engines-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines +) +target_link_libraries(ydb-core-tx-columnshard-engines-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + tx-columnshard-engines + libs-apache-arrow + ydb-core-base + ydb-core-tablet + ydb-core-tablet_flat +) +target_sources(ydb-core-tx-columnshard-engines-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_insert_table.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_logs_engine.cpp +) +add_test( + NAME + ydb-core-tx-columnshard-engines-ut + COMMAND + ydb-core-tx-columnshard-engines-ut +) +target_link_flags(ydb-core-tx-columnshard-engines-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-columnshard-engines-ut) diff --git a/ydb/core/tx/columnshard/ut/CMakeLists.txt b/ydb/core/tx/columnshard/ut/CMakeLists.txt new file mode 100644 index 0000000000..290cd9e841 --- /dev/null +++ b/ydb/core/tx/columnshard/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-columnshard-ut) +target_compile_options(ydb-core-tx-columnshard-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-columnshard-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard +) +target_link_libraries(ydb-core-tx-columnshard-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-columnshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + public-lib-yson_value +) +target_sources(ydb-core-tx-columnshard-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/columnshard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/ut_columnshard_read_write.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/ut_columnshard_schema.cpp +) +add_test( + NAME + ydb-core-tx-columnshard-ut + COMMAND + ydb-core-tx-columnshard-ut +) +target_link_flags(ydb-core-tx-columnshard-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-columnshard-ut) diff --git a/ydb/core/tx/coordinator/ut/CMakeLists.txt b/ydb/core/tx/coordinator/ut/CMakeLists.txt new file mode 100644 index 0000000000..ef191d6153 --- /dev/null +++ b/ydb/core/tx/coordinator/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-coordinator-ut) +target_compile_options(ydb-core-tx-coordinator-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-coordinator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/coordinator +) +target_link_libraries(ydb-core-tx-coordinator-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-coordinator + ydb-core-testlib + ydb-core-tx +) +target_sources(ydb-core-tx-coordinator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/coordinator/coordinator_ut.cpp +) +add_test( + NAME + ydb-core-tx-coordinator-ut + COMMAND + ydb-core-tx-coordinator-ut +) +target_link_flags(ydb-core-tx-coordinator-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-coordinator-ut) diff --git a/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.txt b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.txt new file mode 100644 index 0000000000..1dcfe76c8f --- /dev/null +++ b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_background_compaction) +target_compile_options(ydb-core-tx-datashard-ut_background_compaction PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_background_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_background_compaction PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_background_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_background_compaction.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_background_compaction + COMMAND + ydb-core-tx-datashard-ut_background_compaction +) +target_link_flags(ydb-core-tx-datashard-ut_background_compaction + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_background_compaction) diff --git a/ydb/core/tx/datashard/ut_build_index/CMakeLists.txt b/ydb/core/tx/datashard/ut_build_index/CMakeLists.txt new file mode 100644 index 0000000000..cf94d66308 --- /dev/null +++ b/ydb/core/tx/datashard/ut_build_index/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_build_index) +target_compile_options(ydb-core-tx-datashard-ut_build_index PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_build_index PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_build_index PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_build_index PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_build_index.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_build_index + COMMAND + ydb-core-tx-datashard-ut_build_index +) +target_link_flags(ydb-core-tx-datashard-ut_build_index + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_build_index) diff --git a/ydb/core/tx/datashard/ut_change_collector/CMakeLists.txt b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.txt new file mode 100644 index 0000000000..d88443ddff --- /dev/null +++ b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_change_collector) +target_compile_options(ydb-core-tx-datashard-ut_change_collector PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_change_collector PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_change_collector PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_change_collector PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_collector.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_change_collector + COMMAND + ydb-core-tx-datashard-ut_change_collector +) +target_link_flags(ydb-core-tx-datashard-ut_change_collector + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_change_collector) diff --git a/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.txt b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.txt new file mode 100644 index 0000000000..6fb2aeeb44 --- /dev/null +++ b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_change_exchange) +target_compile_options(ydb-core-tx-datashard-ut_change_exchange PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_change_exchange PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_change_exchange PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_change_exchange PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_exchange.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_change_exchange + COMMAND + ydb-core-tx-datashard-ut_change_exchange +) +target_link_flags(ydb-core-tx-datashard-ut_change_exchange + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_change_exchange) diff --git a/ydb/core/tx/datashard/ut_compaction/CMakeLists.txt b/ydb/core/tx/datashard/ut_compaction/CMakeLists.txt new file mode 100644 index 0000000000..cb090f50ce --- /dev/null +++ b/ydb/core/tx/datashard/ut_compaction/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_compaction) +target_compile_options(ydb-core-tx-datashard-ut_compaction PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_compaction PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_compaction.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_compaction + COMMAND + ydb-core-tx-datashard-ut_compaction +) +target_link_flags(ydb-core-tx-datashard-ut_compaction + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_compaction) diff --git a/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.txt b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.txt new file mode 100644 index 0000000000..a203c19f33 --- /dev/null +++ b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_erase_rows) +target_compile_options(ydb-core-tx-datashard-ut_erase_rows PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_erase_rows PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_erase_rows PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_erase_rows PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_erase_rows.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_erase_rows + COMMAND + ydb-core-tx-datashard-ut_erase_rows +) +target_link_flags(ydb-core-tx-datashard-ut_erase_rows + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_erase_rows) diff --git a/ydb/core/tx/datashard/ut_followers/CMakeLists.txt b/ydb/core/tx/datashard/ut_followers/CMakeLists.txt new file mode 100644 index 0000000000..e14fed495b --- /dev/null +++ b/ydb/core/tx/datashard/ut_followers/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_followers) +target_compile_options(ydb-core-tx-datashard-ut_followers PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_followers PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_followers PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_followers PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_followers.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_followers + COMMAND + ydb-core-tx-datashard-ut_followers +) +target_link_flags(ydb-core-tx-datashard-ut_followers + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_followers) diff --git a/ydb/core/tx/datashard/ut_init/CMakeLists.txt b/ydb/core/tx/datashard/ut_init/CMakeLists.txt new file mode 100644 index 0000000000..c9237253d8 --- /dev/null +++ b/ydb/core/tx/datashard/ut_init/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_init) +target_compile_options(ydb-core-tx-datashard-ut_init PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_init PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_init PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_init PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_init.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_init + COMMAND + ydb-core-tx-datashard-ut_init +) +target_link_flags(ydb-core-tx-datashard-ut_init + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_init) diff --git a/ydb/core/tx/datashard/ut_keys/CMakeLists.txt b/ydb/core/tx/datashard/ut_keys/CMakeLists.txt new file mode 100644 index 0000000000..59181f4533 --- /dev/null +++ b/ydb/core/tx/datashard/ut_keys/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_keys) +target_compile_options(ydb-core-tx-datashard-ut_keys PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_keys PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_keys PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_keys PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_keys.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_keys + COMMAND + ydb-core-tx-datashard-ut_keys +) +target_link_flags(ydb-core-tx-datashard-ut_keys + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_keys) diff --git a/ydb/core/tx/datashard/ut_kqp/CMakeLists.txt b/ydb/core/tx/datashard/ut_kqp/CMakeLists.txt new file mode 100644 index 0000000000..66ee1c7dc5 --- /dev/null +++ b/ydb/core/tx/datashard/ut_kqp/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_kqp) +target_compile_options(ydb-core-tx-datashard-ut_kqp PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_kqp PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_kqp PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_kqp PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_kqp + COMMAND + ydb-core-tx-datashard-ut_kqp +) +target_link_flags(ydb-core-tx-datashard-ut_kqp + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_kqp) diff --git a/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.txt b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.txt new file mode 100644 index 0000000000..0f725e96b5 --- /dev/null +++ b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_kqp_errors) +target_compile_options(ydb-core-tx-datashard-ut_kqp_errors PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_kqp_errors PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_kqp_errors PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_kqp_errors PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_errors.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_kqp_errors + COMMAND + ydb-core-tx-datashard-ut_kqp_errors +) +target_link_flags(ydb-core-tx-datashard-ut_kqp_errors + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_kqp_errors) diff --git a/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.txt b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.txt new file mode 100644 index 0000000000..77141c6712 --- /dev/null +++ b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_kqp_scan) +target_compile_options(ydb-core-tx-datashard-ut_kqp_scan PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_kqp_scan PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_kqp_scan PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_kqp_scan PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_scan.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_kqp_scan + COMMAND + ydb-core-tx-datashard-ut_kqp_scan +) +target_link_flags(ydb-core-tx-datashard-ut_kqp_scan + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_kqp_scan) diff --git a/ydb/core/tx/datashard/ut_locks/CMakeLists.txt b/ydb/core/tx/datashard/ut_locks/CMakeLists.txt new file mode 100644 index 0000000000..1494c49ddd --- /dev/null +++ b/ydb/core/tx/datashard/ut_locks/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_locks) +target_compile_options(ydb-core-tx-datashard-ut_locks PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_locks PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_locks PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_locks PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_locks.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_locks + COMMAND + ydb-core-tx-datashard-ut_locks +) +target_link_flags(ydb-core-tx-datashard-ut_locks + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_locks) diff --git a/ydb/core/tx/datashard/ut_minikql/CMakeLists.txt b/ydb/core/tx/datashard/ut_minikql/CMakeLists.txt new file mode 100644 index 0000000000..f15ae48d56 --- /dev/null +++ b/ydb/core/tx/datashard/ut_minikql/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_minikql) +target_compile_options(ydb-core-tx-datashard-ut_minikql PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_minikql PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_minikql PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_minikql PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minikql.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_minikql + COMMAND + ydb-core-tx-datashard-ut_minikql +) +target_link_flags(ydb-core-tx-datashard-ut_minikql + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_minikql) diff --git a/ydb/core/tx/datashard/ut_minstep/CMakeLists.txt b/ydb/core/tx/datashard/ut_minstep/CMakeLists.txt new file mode 100644 index 0000000000..ecd20d0c62 --- /dev/null +++ b/ydb/core/tx/datashard/ut_minstep/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_minstep) +target_compile_options(ydb-core-tx-datashard-ut_minstep PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_minstep PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_minstep PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_minstep PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minstep.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_minstep + COMMAND + ydb-core-tx-datashard-ut_minstep +) +target_link_flags(ydb-core-tx-datashard-ut_minstep + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_minstep) diff --git a/ydb/core/tx/datashard/ut_order/CMakeLists.txt b/ydb/core/tx/datashard/ut_order/CMakeLists.txt new file mode 100644 index 0000000000..a16ce4f690 --- /dev/null +++ b/ydb/core/tx/datashard/ut_order/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_order) +target_compile_options(ydb-core-tx-datashard-ut_order PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_order PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_order PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_order PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_order.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_order + COMMAND + ydb-core-tx-datashard-ut_order +) +target_link_flags(ydb-core-tx-datashard-ut_order + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_order) diff --git a/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.txt b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.txt new file mode 100644 index 0000000000..a2fc5d350a --- /dev/null +++ b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.txt @@ -0,0 +1,54 @@ + +# This file was gererated 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-tx-datashard-ut_range_avl_tree) +target_compile_options(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_range_avl_tree PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_avl_tree_ut.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_range_avl_tree + COMMAND + ydb-core-tx-datashard-ut_range_avl_tree +) +target_link_flags(ydb-core-tx-datashard-ut_range_avl_tree + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_range_avl_tree) diff --git a/ydb/core/tx/datashard/ut_range_ops/CMakeLists.txt b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.txt new file mode 100644 index 0000000000..1aaa09d4d7 --- /dev/null +++ b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_range_ops) +target_compile_options(ydb-core-tx-datashard-ut_range_ops PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_range_ops PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_range_ops PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_range_ops PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_range_ops.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_range_ops + COMMAND + ydb-core-tx-datashard-ut_range_ops +) +target_link_flags(ydb-core-tx-datashard-ut_range_ops + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_range_ops) diff --git a/ydb/core/tx/datashard/ut_range_treap/CMakeLists.txt b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.txt new file mode 100644 index 0000000000..ed6250f15a --- /dev/null +++ b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.txt @@ -0,0 +1,54 @@ + +# This file was gererated 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-tx-datashard-ut_range_treap) +target_compile_options(ydb-core-tx-datashard-ut_range_treap PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_range_treap PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_range_treap PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_range_treap PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_treap_ut.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_range_treap + COMMAND + ydb-core-tx-datashard-ut_range_treap +) +target_link_flags(ydb-core-tx-datashard-ut_range_treap + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_range_treap) diff --git a/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.txt b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.txt new file mode 100644 index 0000000000..1af9b75c95 --- /dev/null +++ b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_read_iterator) +target_compile_options(ydb-core-tx-datashard-ut_read_iterator PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_read_iterator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_read_iterator PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_read_iterator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_iterator.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_read_iterator + COMMAND + ydb-core-tx-datashard-ut_read_iterator +) +target_link_flags(ydb-core-tx-datashard-ut_read_iterator + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_read_iterator) diff --git a/ydb/core/tx/datashard/ut_read_table/CMakeLists.txt b/ydb/core/tx/datashard/ut_read_table/CMakeLists.txt new file mode 100644 index 0000000000..34a9571d0a --- /dev/null +++ b/ydb/core/tx/datashard/ut_read_table/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_read_table) +target_compile_options(ydb-core-tx-datashard-ut_read_table PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_read_table PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_read_table PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_read_table PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_table.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_read_table + COMMAND + ydb-core-tx-datashard-ut_read_table +) +target_link_flags(ydb-core-tx-datashard-ut_read_table + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_read_table) diff --git a/ydb/core/tx/datashard/ut_reassign/CMakeLists.txt b/ydb/core/tx/datashard/ut_reassign/CMakeLists.txt new file mode 100644 index 0000000000..79a7baef26 --- /dev/null +++ b/ydb/core/tx/datashard/ut_reassign/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_reassign) +target_compile_options(ydb-core-tx-datashard-ut_reassign PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_reassign PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_reassign PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_reassign PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_reassign.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_reassign + COMMAND + ydb-core-tx-datashard-ut_reassign +) +target_link_flags(ydb-core-tx-datashard-ut_reassign + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_reassign) diff --git a/ydb/core/tx/datashard/ut_replication/CMakeLists.txt b/ydb/core/tx/datashard/ut_replication/CMakeLists.txt new file mode 100644 index 0000000000..c60cc40739 --- /dev/null +++ b/ydb/core/tx/datashard/ut_replication/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_replication) +target_compile_options(ydb-core-tx-datashard-ut_replication PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_replication PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_replication.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_replication + COMMAND + ydb-core-tx-datashard-ut_replication +) +target_link_flags(ydb-core-tx-datashard-ut_replication + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_replication) diff --git a/ydb/core/tx/datashard/ut_rs/CMakeLists.txt b/ydb/core/tx/datashard/ut_rs/CMakeLists.txt new file mode 100644 index 0000000000..2baa12d287 --- /dev/null +++ b/ydb/core/tx/datashard/ut_rs/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_rs) +target_compile_options(ydb-core-tx-datashard-ut_rs PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_rs PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_rs PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_rs PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_rs.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_rs + COMMAND + ydb-core-tx-datashard-ut_rs +) +target_link_flags(ydb-core-tx-datashard-ut_rs + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_rs) diff --git a/ydb/core/tx/datashard/ut_snapshot/CMakeLists.txt b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.txt new file mode 100644 index 0000000000..3f8efce621 --- /dev/null +++ b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_snapshot) +target_compile_options(ydb-core-tx-datashard-ut_snapshot PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_snapshot PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_snapshot PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_snapshot PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_snapshot.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_snapshot + COMMAND + ydb-core-tx-datashard-ut_snapshot +) +target_link_flags(ydb-core-tx-datashard-ut_snapshot + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_snapshot) diff --git a/ydb/core/tx/datashard/ut_stats/CMakeLists.txt b/ydb/core/tx/datashard/ut_stats/CMakeLists.txt new file mode 100644 index 0000000000..77db01e60a --- /dev/null +++ b/ydb/core/tx/datashard/ut_stats/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_stats) +target_compile_options(ydb-core-tx-datashard-ut_stats PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_stats PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_stats PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_stats PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_stats.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_stats + COMMAND + ydb-core-tx-datashard-ut_stats +) +target_link_flags(ydb-core-tx-datashard-ut_stats + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_stats) diff --git a/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.txt b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.txt new file mode 100644 index 0000000000..475c036b68 --- /dev/null +++ b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-tx-datashard-ut_upload_rows) +target_compile_options(ydb-core-tx-datashard-ut_upload_rows PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-datashard-ut_upload_rows PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard +) +target_link_libraries(ydb-core-tx-datashard-ut_upload_rows PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-datashard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy + public-lib-yson_value + cpp-client-ydb_result +) +target_sources(ydb-core-tx-datashard-ut_upload_rows PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_upload_rows.cpp +) +add_test( + NAME + ydb-core-tx-datashard-ut_upload_rows + COMMAND + ydb-core-tx-datashard-ut_upload_rows +) +target_link_flags(ydb-core-tx-datashard-ut_upload_rows + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-datashard-ut_upload_rows) diff --git a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.txt b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.txt index 9b3ce5ebb7..f48f7a3790 100644 --- a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.txt +++ b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.txt @@ -17,6 +17,7 @@ target_include_directories(ydb-core-tx-long_tx_service-public-ut PRIVATE target_link_libraries(ydb-core-tx-long_tx_service-public-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main tx-long_tx_service-public @@ -36,13 +37,8 @@ target_link_flags(ydb-core-tx-long_tx_service-public-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/tx/long_tx_service/ut/CMakeLists.txt b/ydb/core/tx/long_tx_service/ut/CMakeLists.txt index 481b21b842..57c1f258cf 100644 --- a/ydb/core/tx/long_tx_service/ut/CMakeLists.txt +++ b/ydb/core/tx/long_tx_service/ut/CMakeLists.txt @@ -17,6 +17,7 @@ target_include_directories(ydb-core-tx-long_tx_service-ut PRIVATE target_link_libraries(ydb-core-tx-long_tx_service-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main core-tx-long_tx_service @@ -36,13 +37,8 @@ target_link_flags(ydb-core-tx-long_tx_service-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.txt b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.txt new file mode 100644 index 0000000000..fe1890ddd0 --- /dev/null +++ b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-replication-ydb_proxy-ut) +target_compile_options(ydb-core-tx-replication-ydb_proxy-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-replication-ydb_proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/replication/ydb_proxy +) +target_link_libraries(ydb-core-tx-replication-ydb_proxy-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + tx-replication-ydb_proxy + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-tx-replication-ydb_proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/replication/ydb_proxy/ydb_proxy_ut.cpp +) +add_test( + NAME + ydb-core-tx-replication-ydb_proxy-ut + COMMAND + ydb-core-tx-replication-ydb_proxy-ut +) +target_link_flags(ydb-core-tx-replication-ydb_proxy-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-replication-ydb_proxy-ut) diff --git a/ydb/core/tx/scheme_board/ut_cache/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.txt new file mode 100644 index 0000000000..0f68340acb --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-tx-scheme_board-ut_cache) +target_compile_options(ydb-core-tx-scheme_board-ut_cache PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-scheme_board-ut_cache PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_cache PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-testing-unittest + ydb-core-testlib + core-tx-schemeshard + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-scheme_board-ut_cache PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_cache + COMMAND + ydb-core-tx-scheme_board-ut_cache +) +target_link_flags(ydb-core-tx-scheme_board-ut_cache + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_cache) diff --git a/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.txt new file mode 100644 index 0000000000..7ac52066a2 --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-tx-scheme_board-ut_double_indexed) +target_include_directories(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_double_indexed PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-testing-unittest +) +target_sources(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/double_indexed_ut.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_double_indexed + COMMAND + ydb-core-tx-scheme_board-ut_double_indexed +) +target_link_flags(ydb-core-tx-scheme_board-ut_double_indexed + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_double_indexed) diff --git a/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.txt new file mode 100644 index 0000000000..9069fd54d9 --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-tx-scheme_board-ut_monitoring) +target_compile_options(ydb-core-tx-scheme_board-ut_monitoring PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-scheme_board-ut_monitoring PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_monitoring PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-actors-core + cpp-testing-unittest + core-testlib-basics +) +target_sources(ydb-core-tx-scheme_board-ut_monitoring PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/monitoring_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_monitoring + COMMAND + ydb-core-tx-scheme_board-ut_monitoring +) +target_link_flags(ydb-core-tx-scheme_board-ut_monitoring + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_monitoring) diff --git a/ydb/core/tx/scheme_board/ut_populator/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.txt new file mode 100644 index 0000000000..c3819f5785 --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.txt @@ -0,0 +1,51 @@ + +# This file was gererated 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-tx-scheme_board-ut_populator) +target_compile_options(ydb-core-tx-scheme_board-ut_populator PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-scheme_board-ut_populator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_populator PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-testing-unittest + ydb-core-testlib + core-tx-schemeshard + tx-schemeshard-ut_helpers + core-tx-tx_allocator +) +target_sources(ydb-core-tx-scheme_board-ut_populator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/populator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_populator + COMMAND + ydb-core-tx-scheme_board-ut_populator +) +target_link_flags(ydb-core-tx-scheme_board-ut_populator + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_populator) diff --git a/ydb/core/tx/scheme_board/ut_replica/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.txt new file mode 100644 index 0000000000..5ea4ac9a2d --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-tx-scheme_board-ut_replica) +target_compile_options(ydb-core-tx-scheme_board-ut_replica PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-scheme_board-ut_replica PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_replica PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-testing-unittest + core-testlib-basics +) +target_sources(ydb-core-tx-scheme_board-ut_replica PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/replica_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_replica + COMMAND + ydb-core-tx-scheme_board-ut_replica +) +target_link_flags(ydb-core-tx-scheme_board-ut_replica + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_replica) diff --git a/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.txt b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.txt new file mode 100644 index 0000000000..e3822f1168 --- /dev/null +++ b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-tx-scheme_board-ut_subscriber) +target_compile_options(ydb-core-tx-scheme_board-ut_subscriber PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-scheme_board-ut_subscriber PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board +) +target_link_libraries(ydb-core-tx-scheme_board-ut_subscriber PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-scheme_board + cpp-actors-interconnect + cpp-testing-unittest + core-testlib-basics +) +target_sources(ydb-core-tx-scheme_board-ut_subscriber PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/subscriber_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-scheme_board-ut_subscriber + COMMAND + ydb-core-tx-scheme_board-ut_subscriber +) +target_link_flags(ydb-core-tx-scheme_board-ut_subscriber + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-scheme_board-ut_subscriber) diff --git a/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.txt new file mode 100644 index 0000000000..5eb5611d49 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-schemeshard-ut_async_index) +target_compile_options(ydb-core-tx-schemeshard-ut_async_index PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_async_index PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_async_index PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + ydb-core-testlib + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_async_index PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_async_index.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_async_index + COMMAND + ydb-core-tx-schemeshard-ut_async_index +) +target_link_flags(ydb-core-tx-schemeshard-ut_async_index + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_async_index) diff --git a/ydb/core/tx/schemeshard/ut_base/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_base/CMakeLists.txt new file mode 100644 index 0000000000..0794b28dfa --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_base/CMakeLists.txt @@ -0,0 +1,54 @@ + +# This file was gererated 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-tx-schemeshard-ut_base) +target_compile_options(ydb-core-tx-schemeshard-ut_base PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_base PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_base PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_base PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_info_types.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_base + COMMAND + ydb-core-tx-schemeshard-ut_base +) +target_link_flags(ydb-core-tx-schemeshard-ut_base + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_base) diff --git a/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.txt new file mode 100644 index 0000000000..342b893f92 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_base_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_base_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_base_reboots + COMMAND + ydb-core-tx-schemeshard-ut_base_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_base_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_base_reboots) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.txt new file mode 100644 index 0000000000..50be478b67 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_bsvolume) +target_compile_options(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_bsvolume + COMMAND + ydb-core-tx-schemeshard-ut_bsvolume +) +target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_bsvolume) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.txt new file mode 100644 index 0000000000..b8d9314c84 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_bsvolume_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_bsvolume_reboots + COMMAND + ydb-core-tx-schemeshard-ut_bsvolume_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_bsvolume_reboots) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.txt new file mode 100644 index 0000000000..df40a47c8d --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-schemeshard-ut_cdc_stream) +target_compile_options(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + ydb-core-testlib + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_cdc_stream + COMMAND + ydb-core-tx-schemeshard-ut_cdc_stream +) +target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.txt new file mode 100644 index 0000000000..5fefeb2549 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-tx-schemeshard-ut_cdc_stream_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_cdc_stream_reboots + COMMAND + ydb-core-tx-schemeshard-ut_cdc_stream_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream_reboots) diff --git a/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.txt new file mode 100644 index 0000000000..f1b0ade7e5 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_compaction) +target_compile_options(ydb-core-tx-schemeshard-ut_compaction PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_compaction PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + ydb-core-cms + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + core-wrappers-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_compaction PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_compaction.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_compaction + COMMAND + ydb-core-tx-schemeshard-ut_compaction +) +target_link_flags(ydb-core-tx-schemeshard-ut_compaction + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_compaction) diff --git a/ydb/core/tx/schemeshard/ut_export/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_export/CMakeLists.txt new file mode 100644 index 0000000000..3c065f717a --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_export/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_export) +target_compile_options(ydb-core-tx-schemeshard-ut_export PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_export PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_export PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + core-wrappers-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_export PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_export + COMMAND + ydb-core-tx-schemeshard-ut_export +) +target_link_flags(ydb-core-tx-schemeshard-ut_export + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_export) diff --git a/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.txt new file mode 100644 index 0000000000..5725571094 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_export_reboots_s3) +target_compile_options(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_export_reboots_s3 PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + core-wrappers-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export_reboots_s3.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_export_reboots_s3 + COMMAND + ydb-core-tx-schemeshard-ut_export_reboots_s3 +) +target_link_flags(ydb-core-tx-schemeshard-ut_export_reboots_s3 + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_export_reboots_s3) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.txt new file mode 100644 index 0000000000..5d7d40e1b0 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_extsubdomain) +target_compile_options(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_extsubdomain + COMMAND + ydb-core-tx-schemeshard-ut_extsubdomain +) +target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.txt new file mode 100644 index 0000000000..8a55a99232 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_extsubdomain_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_extsubdomain_reboots + COMMAND + ydb-core-tx-schemeshard-ut_extsubdomain_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.txt new file mode 100644 index 0000000000..d64e557c3e --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_filestore_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_filestore_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_filestore_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_filestore_reboots + COMMAND + ydb-core-tx-schemeshard-ut_filestore_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_filestore_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_filestore_reboots) diff --git a/ydb/core/tx/schemeshard/ut_helpers/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_helpers/CMakeLists.txt new file mode 100644 index 0000000000..29055a0b43 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_helpers/CMakeLists.txt @@ -0,0 +1,41 @@ + +# This file was gererated 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_library(tx-schemeshard-ut_helpers) +target_compile_options(tx-schemeshard-ut_helpers PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(tx-schemeshard-ut_helpers PUBLIC + contrib-libs-cxxsupp + yutil + cpp-testing-unittest + ydb-core-base + core-blockstore-core + ydb-core-engine + core-engine-minikql + core-filestore-core + ydb-core-metering + ydb-core-protos + ydb-core-scheme + ydb-core-tablet_flat + ydb-core-testlib + ydb-core-tx + core-tx-datashard + core-tx-schemeshard + core-tx-tx_allocator + core-tx-tx_proxy + public-lib-scheme_types +) +target_sources(tx-schemeshard-ut_helpers PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_helpers/export_reboots_common.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_helpers/failing_mtpq.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_helpers/test_env.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_helpers/ls_checks.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_helpers/helpers.cpp +) diff --git a/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.txt new file mode 100644 index 0000000000..6ac55e7ac1 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_index_build) +target_compile_options(ydb-core-tx-schemeshard-ut_index_build PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_index_build PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_index_build PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-metering + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_index_build PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_index_build + COMMAND + ydb-core-tx-schemeshard-ut_index_build +) +target_link_flags(ydb-core-tx-schemeshard-ut_index_build + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_index_build) diff --git a/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.txt new file mode 100644 index 0000000000..c02c86f990 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_index_build_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_index_build_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_index_build_reboots + COMMAND + ydb-core-tx-schemeshard-ut_index_build_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_index_build_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_index_build_reboots) diff --git a/ydb/core/tx/schemeshard/ut_login/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_login/CMakeLists.txt new file mode 100644 index 0000000000..8f5e55e36f --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_login/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_login) +target_compile_options(ydb-core-tx-schemeshard-ut_login PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_login PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_login PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + ydb-library-login + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_login PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_login.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_login + COMMAND + ydb-core-tx-schemeshard-ut_login +) +target_link_flags(ydb-core-tx-schemeshard-ut_login + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_login) diff --git a/ydb/core/tx/schemeshard/ut_move/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_move/CMakeLists.txt new file mode 100644 index 0000000000..4f4bea4420 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_move/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_move) +target_compile_options(ydb-core-tx-schemeshard-ut_move PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_move PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_move PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_move PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_move + COMMAND + ydb-core-tx-schemeshard-ut_move +) +target_link_flags(ydb-core-tx-schemeshard-ut_move + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_move) diff --git a/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.txt new file mode 100644 index 0000000000..2477d5083c --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_move_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_move_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_move_reboots + COMMAND + ydb-core-tx-schemeshard-ut_move_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_move_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_move_reboots) diff --git a/ydb/core/tx/schemeshard/ut_olap/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.txt new file mode 100644 index 0000000000..5765dad6dd --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_olap) +target_compile_options(ydb-core-tx-schemeshard-ut_olap PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_olap PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_olap PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + core-tx-columnshard + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_olap PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_olap + COMMAND + ydb-core-tx-schemeshard-ut_olap +) +target_link_flags(ydb-core-tx-schemeshard-ut_olap + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_olap) diff --git a/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.txt new file mode 100644 index 0000000000..b59bab7847 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_olap_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_olap_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + core-tx-columnshard + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_olap_reboots + COMMAND + ydb-core-tx-schemeshard-ut_olap_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_olap_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_olap_reboots) diff --git a/ydb/core/tx/schemeshard/ut_pq/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.txt new file mode 100644 index 0000000000..c26e810774 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-tx-schemeshard-ut_pq) +target_include_directories(ydb-core-tx-schemeshard-ut_pq PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_pq PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_pq PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_pq + COMMAND + ydb-core-tx-schemeshard-ut_pq +) +target_link_flags(ydb-core-tx-schemeshard-ut_pq + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_pq) diff --git a/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.txt new file mode 100644 index 0000000000..ba7bf7271a --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_pq_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_pq_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_pq_reboots + COMMAND + ydb-core-tx-schemeshard-ut_pq_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_pq_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_pq_reboots) diff --git a/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.txt new file mode 100644 index 0000000000..c9fb3feb34 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_reboots + COMMAND + ydb-core-tx-schemeshard-ut_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_reboots) diff --git a/ydb/core/tx/schemeshard/ut_replication/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.txt new file mode 100644 index 0000000000..5a12857ab1 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-tx-schemeshard-ut_replication) +target_compile_options(ydb-core-tx-schemeshard-ut_replication PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_replication PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_replication PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_replication + COMMAND + ydb-core-tx-schemeshard-ut_replication +) +target_link_flags(ydb-core-tx-schemeshard-ut_replication + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_replication) diff --git a/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.txt new file mode 100644 index 0000000000..8bb5978520 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-tx-schemeshard-ut_replication_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_replication_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_replication_reboots + COMMAND + ydb-core-tx-schemeshard-ut_replication_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_replication_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_replication_reboots) diff --git a/ydb/core/tx/schemeshard/ut_restore/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.txt new file mode 100644 index 0000000000..6934b973da --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.txt @@ -0,0 +1,51 @@ + +# This file was gererated 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-tx-schemeshard-ut_restore) +target_compile_options(ydb-core-tx-schemeshard-ut_restore PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_restore PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_restore PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + contrib-libs-double-conversion + cpp-string_utils-quote + kqp-ut-common + tx-schemeshard-ut_helpers + core-wrappers-ut_helpers + ydb-core-ydb_convert +) +target_sources(ydb-core-tx-schemeshard-ut_restore PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_restore.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_restore + COMMAND + ydb-core-tx-schemeshard-ut_restore +) +target_link_flags(ydb-core-tx-schemeshard-ut_restore + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_restore) diff --git a/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.txt new file mode 100644 index 0000000000..2250e747e8 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_rtmr) +target_compile_options(ydb-core-tx-schemeshard-ut_rtmr PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_rtmr PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_rtmr PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_rtmr + COMMAND + ydb-core-tx-schemeshard-ut_rtmr +) +target_link_flags(ydb-core-tx-schemeshard-ut_rtmr + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_rtmr) diff --git a/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.txt new file mode 100644 index 0000000000..38806d5cc1 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_rtmr_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_rtmr_reboots + COMMAND + ydb-core-tx-schemeshard-ut_rtmr_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_rtmr_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_rtmr_reboots) diff --git a/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.txt new file mode 100644 index 0000000000..e73798f063 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-tx-schemeshard-ut_ru_calculator) +target_include_directories(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_ru_calculator PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + cpp-testing-unittest +) +target_sources(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ru_calculator.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_ru_calculator + COMMAND + ydb-core-tx-schemeshard-ut_ru_calculator +) +target_link_flags(ydb-core-tx-schemeshard-ut_ru_calculator + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_ru_calculator) diff --git a/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.txt new file mode 100644 index 0000000000..d3dd123dce --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_sequence) +target_compile_options(ydb-core-tx-schemeshard-ut_sequence PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_sequence PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_sequence PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + core-tx-columnshard + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_sequence PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_sequence + COMMAND + ydb-core-tx-schemeshard-ut_sequence +) +target_link_flags(ydb-core-tx-schemeshard-ut_sequence + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_sequence) diff --git a/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.txt new file mode 100644 index 0000000000..ee55b592c7 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-schemeshard-ut_sequence_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_sequence_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + core-tx-columnshard + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_sequence_reboots + COMMAND + ydb-core-tx-schemeshard-ut_sequence_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_sequence_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_sequence_reboots) diff --git a/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.txt new file mode 100644 index 0000000000..cf9ae28f3f --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_serverless) +target_compile_options(ydb-core-tx-schemeshard-ut_serverless PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_serverless PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_serverless PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + ydb-core-yql_testlib +) +target_sources(ydb-core-tx-schemeshard-ut_serverless PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_serverless.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_serverless + COMMAND + ydb-core-tx-schemeshard-ut_serverless +) +target_link_flags(ydb-core-tx-schemeshard-ut_serverless + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_serverless) diff --git a/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.txt new file mode 100644 index 0000000000..3e329a0047 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_split_merge) +target_compile_options(ydb-core-tx-schemeshard-ut_split_merge PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_split_merge PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_split_merge PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_split_merge + COMMAND + ydb-core-tx-schemeshard-ut_split_merge +) +target_link_flags(ydb-core-tx-schemeshard-ut_split_merge + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_split_merge) diff --git a/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.txt new file mode 100644 index 0000000000..11fd2272f5 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_split_merge_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_split_merge_reboots + COMMAND + ydb-core-tx-schemeshard-ut_split_merge_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_split_merge_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_split_merge_reboots) diff --git a/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.txt new file mode 100644 index 0000000000..b904a03a07 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_subdomain) +target_compile_options(ydb-core-tx-schemeshard-ut_subdomain PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_subdomain PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_subdomain PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_subdomain + COMMAND + ydb-core-tx-schemeshard-ut_subdomain +) +target_link_flags(ydb-core-tx-schemeshard-ut_subdomain + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_subdomain) diff --git a/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.txt new file mode 100644 index 0000000000..c5faf0146e --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-schemeshard-ut_subdomain_reboots) +target_compile_options(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain_reboots.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_subdomain_reboots + COMMAND + ydb-core-tx-schemeshard-ut_subdomain_reboots +) +target_link_flags(ydb-core-tx-schemeshard-ut_subdomain_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_subdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.txt new file mode 100644 index 0000000000..aa12791d24 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-schemeshard-ut_ttl) +target_compile_options(ydb-core-tx-schemeshard-ut_ttl PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_ttl PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_ttl PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + kqp-ut-common + tx-schemeshard-ut_helpers +) +target_sources(ydb-core-tx-schemeshard-ut_ttl PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ttl.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_ttl + COMMAND + ydb-core-tx-schemeshard-ut_ttl +) +target_link_flags(ydb-core-tx-schemeshard-ut_ttl + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_ttl) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.txt new file mode 100644 index 0000000000..db990d7b31 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.txt @@ -0,0 +1,62 @@ + +# This file was gererated 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-tx-schemeshard-ut_user_attributes) +target_compile_options(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(ydb-core-tx-schemeshard-ut_user_attributes PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + cpp-http-io + cpp-http-server + library-cpp-svnversion + cpp-testing-unittest + ydb-core-base + core-blockstore-core + core-engine-minikql + ydb-core-protos + ydb-core-scheme + ydb-core-tablet + ydb-core-tablet_flat + ydb-core-testlib + ydb-core-tx + core-tx-datashard + tx-schemeshard-ut_helpers + ydb-core-util + yql-public-issue +) +target_sources(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes.cpp +) +add_test( + NAME + ydb-core-tx-schemeshard-ut_user_attributes + COMMAND + ydb-core-tx-schemeshard-ut_user_attributes +) +target_link_flags(ydb-core-tx-schemeshard-ut_user_attributes + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-schemeshard-ut_user_attributes) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.txt b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.txt new file mode 100644 index 0000000000..d0ad96a120 --- /dev/null +++ b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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(core-tx-schemeshard-ut_user_attributes_reboots) +target_compile_options(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard +) +target_link_libraries(core-tx-schemeshard-ut_user_attributes_reboots PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-schemeshard + library-cpp-getopt + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + ydb-core-tx + tx-schemeshard-ut_helpers + udf-service-exception_policy +) +target_sources(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes_reboots.cpp +) +add_test( + NAME + core-tx-schemeshard-ut_user_attributes_reboots + COMMAND + core-tx-schemeshard-ut_user_attributes_reboots +) +target_link_flags(core-tx-schemeshard-ut_user_attributes_reboots + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(core-tx-schemeshard-ut_user_attributes_reboots) diff --git a/ydb/core/tx/sequenceproxy/ut/CMakeLists.txt b/ydb/core/tx/sequenceproxy/ut/CMakeLists.txt index 88f129589e..9f797a004a 100644 --- a/ydb/core/tx/sequenceproxy/ut/CMakeLists.txt +++ b/ydb/core/tx/sequenceproxy/ut/CMakeLists.txt @@ -17,6 +17,7 @@ target_include_directories(ydb-core-tx-sequenceproxy-ut PRIVATE target_link_libraries(ydb-core-tx-sequenceproxy-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main core-tx-sequenceproxy @@ -36,13 +37,8 @@ target_link_flags(ydb-core-tx-sequenceproxy-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/tx/sequenceshard/public/ut/CMakeLists.txt b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.txt new file mode 100644 index 0000000000..4786fa6e2a --- /dev/null +++ b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-tx-sequenceshard-public-ut) +target_compile_options(ydb-core-tx-sequenceshard-public-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-sequenceshard-public-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/public +) +target_link_libraries(ydb-core-tx-sequenceshard-public-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + tx-sequenceshard-public +) +add_test( + NAME + ydb-core-tx-sequenceshard-public-ut + COMMAND + ydb-core-tx-sequenceshard-public-ut +) +target_link_flags(ydb-core-tx-sequenceshard-public-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-sequenceshard-public-ut) diff --git a/ydb/core/tx/sequenceshard/ut/CMakeLists.txt b/ydb/core/tx/sequenceshard/ut/CMakeLists.txt new file mode 100644 index 0000000000..712200b5f6 --- /dev/null +++ b/ydb/core/tx/sequenceshard/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-sequenceshard-ut) +target_compile_options(ydb-core-tx-sequenceshard-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-sequenceshard-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard +) +target_link_libraries(ydb-core-tx-sequenceshard-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-sequenceshard + ydb-core-testlib +) +target_sources(ydb-core-tx-sequenceshard-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_helpers.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_sequenceshard.cpp +) +add_test( + NAME + ydb-core-tx-sequenceshard-ut + COMMAND + ydb-core-tx-sequenceshard-ut +) +target_link_flags(ydb-core-tx-sequenceshard-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-sequenceshard-ut) diff --git a/ydb/core/tx/time_cast/ut/CMakeLists.txt b/ydb/core/tx/time_cast/ut/CMakeLists.txt new file mode 100644 index 0000000000..9ffd53537c --- /dev/null +++ b/ydb/core/tx/time_cast/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-tx-time_cast-ut) +target_compile_options(ydb-core-tx-time_cast-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-time_cast-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/time_cast +) +target_link_libraries(ydb-core-tx-time_cast-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-time_cast + ydb-core-testlib + ydb-core-tx +) +target_sources(ydb-core-tx-time_cast-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/time_cast/time_cast_ut.cpp +) +add_test( + NAME + ydb-core-tx-time_cast-ut + COMMAND + ydb-core-tx-time_cast-ut +) +target_link_flags(ydb-core-tx-time_cast-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-time_cast-ut) diff --git a/ydb/core/tx/tx_allocator/ut/CMakeLists.txt b/ydb/core/tx/tx_allocator/ut/CMakeLists.txt new file mode 100644 index 0000000000..4d081812c0 --- /dev/null +++ b/ydb/core/tx/tx_allocator/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-tx-tx_allocator-ut) +target_compile_options(ydb-core-tx-tx_allocator-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-tx_allocator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator +) +target_link_libraries(ydb-core-tx-tx_allocator-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-tx_allocator + cpp-testing-unittest + ydb-core-mind + ydb-core-testlib + ydb-core-tx +) +target_sources(ydb-core-tx-tx_allocator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-tx_allocator-ut + COMMAND + ydb-core-tx-tx_allocator-ut +) +target_link_flags(ydb-core-tx-tx_allocator-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-tx_allocator-ut) diff --git a/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.txt b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.txt new file mode 100644 index 0000000000..4fe920c439 --- /dev/null +++ b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-tx_proxy-ut_base_tenant) +target_compile_options(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy +) +target_link_libraries(ydb-core-tx-tx_proxy-ut_base_tenant PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-tx_proxy + library-cpp-getopt + library-cpp-svnversion + cpp-testing-unittest + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy +) +target_sources(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-tx_proxy-ut_base_tenant + COMMAND + ydb-core-tx-tx_proxy-ut_base_tenant +) +target_link_flags(ydb-core-tx-tx_proxy-ut_base_tenant + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-tx_proxy-ut_base_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.txt b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.txt new file mode 100644 index 0000000000..bbe4855e91 --- /dev/null +++ b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-tx_proxy-ut_encrypted_storage) +target_compile_options(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy +) +target_link_libraries(ydb-core-tx-tx_proxy-ut_encrypted_storage PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-tx_proxy + library-cpp-getopt + library-cpp-svnversion + cpp-testing-unittest + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy +) +target_sources(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/encrypted_storage_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-tx_proxy-ut_encrypted_storage + COMMAND + ydb-core-tx-tx_proxy-ut_encrypted_storage +) +target_link_flags(ydb-core-tx-tx_proxy-ut_encrypted_storage + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-tx_proxy-ut_encrypted_storage) diff --git a/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.txt b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.txt new file mode 100644 index 0000000000..47c5e75ce4 --- /dev/null +++ b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.txt @@ -0,0 +1,52 @@ + +# This file was gererated 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-tx-tx_proxy-ut_ext_tenant) +target_compile_options(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy +) +target_link_libraries(ydb-core-tx-tx_proxy-ut_ext_tenant PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-tx_proxy + library-cpp-getopt + library-cpp-svnversion + cpp-testing-unittest + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy +) +target_sources(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ext_tenant_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-tx_proxy-ut_ext_tenant + COMMAND + ydb-core-tx-tx_proxy-ut_ext_tenant +) +target_link_flags(ydb-core-tx-tx_proxy-ut_ext_tenant + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-tx_proxy-ut_ext_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.txt b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.txt new file mode 100644 index 0000000000..55720a0e68 --- /dev/null +++ b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-tx-tx_proxy-ut_storage_tenant) +target_compile_options(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy +) +target_link_libraries(ydb-core-tx-tx_proxy-ut_storage_tenant PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-tx-tx_proxy + library-cpp-getopt + library-cpp-svnversion + cpp-testing-unittest + ydb-core-blobstorage + ydb-core-testlib + ydb-core-tx + udf-service-exception_policy +) +target_sources(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/storage_tenant_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp +) +add_test( + NAME + ydb-core-tx-tx_proxy-ut_storage_tenant + COMMAND + ydb-core-tx-tx_proxy-ut_storage_tenant +) +target_link_flags(ydb-core-tx-tx_proxy-ut_storage_tenant + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-tx-tx_proxy-ut_storage_tenant) diff --git a/ydb/core/util/btree_benchmark/CMakeLists.txt b/ydb/core/util/btree_benchmark/CMakeLists.txt new file mode 100644 index 0000000000..a1a25d553a --- /dev/null +++ b/ydb/core/util/btree_benchmark/CMakeLists.txt @@ -0,0 +1,34 @@ + +# This file was gererated 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(btree_benchmark) +target_link_libraries(btree_benchmark PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + testing-benchmark-main + cpp-threading-skip_list + ydb-core-util +) +target_sources(btree_benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_benchmark/main.cpp +) +target_link_flags(btree_benchmark + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(btree_benchmark) diff --git a/ydb/core/util/ut/CMakeLists.txt b/ydb/core/util/ut/CMakeLists.txt new file mode 100644 index 0000000000..085c8f12ed --- /dev/null +++ b/ydb/core/util/ut/CMakeLists.txt @@ -0,0 +1,72 @@ + +# This file was gererated 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-util-ut) +target_include_directories(ydb-core-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/util +) +target_link_libraries(ydb-core-util-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-util + library-cpp-getopt + library-cpp-svnversion + cpp-threading-future +) +target_sources(ydb-core-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/util/address_classifier_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/bits_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_cow_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/circular_queue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/concurrent_rw_hash_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/fast_tls_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/fragmented_buffer_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/hazard_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/hyperlog_counter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/interval_set_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/intrusive_fixed_hash_set_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/intrusive_heap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/intrusive_stack_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/lf_stack_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/log_priority_mute_checker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/lz4_data_generator_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/operation_queue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/operation_queue_priority_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/page_map_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/queue_inplace_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/queue_oneone_inplace_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/simple_cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/time_series_vec_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/token_bucket_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/ulid_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/util/wildcard_ut.cpp +) +add_test( + NAME + ydb-core-util-ut + COMMAND + ydb-core-util-ut +) +target_link_flags(ydb-core-util-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-util-ut) diff --git a/ydb/core/viewer/ut/CMakeLists.txt b/ydb/core/viewer/ut/CMakeLists.txt new file mode 100644 index 0000000000..21d7e52102 --- /dev/null +++ b/ydb/core/viewer/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-viewer-ut) +target_compile_options(ydb-core-viewer-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-viewer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/viewer +) +target_link_libraries(ydb-core-viewer-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-viewer + ydb-core-testlib +) +target_sources(ydb-core-viewer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/viewer/viewer_ut.cpp +) +add_test( + NAME + ydb-core-viewer-ut + COMMAND + ydb-core-viewer-ut +) +target_link_flags(ydb-core-viewer-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-viewer-ut) diff --git a/ydb/core/wrappers/ut/CMakeLists.txt b/ydb/core/wrappers/ut/CMakeLists.txt new file mode 100644 index 0000000000..c7ddd209bc --- /dev/null +++ b/ydb/core/wrappers/ut/CMakeLists.txt @@ -0,0 +1,51 @@ + +# This file was gererated 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-wrappers-ut) +target_compile_options(ydb-core-wrappers-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-wrappers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/wrappers +) +target_link_libraries(ydb-core-wrappers-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-wrappers + cpp-actors-core + cpp-digest-md5 + cpp-testing-unittest + ydb-core-protos + core-testlib-basics + core-wrappers-ut_helpers +) +target_sources(ydb-core-wrappers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/wrappers/s3_wrapper_ut.cpp +) +add_test( + NAME + ydb-core-wrappers-ut + COMMAND + ydb-core-wrappers-ut +) +target_link_flags(ydb-core-wrappers-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-wrappers-ut) diff --git a/ydb/core/ydb_convert/ut/CMakeLists.txt b/ydb/core/ydb_convert/ut/CMakeLists.txt new file mode 100644 index 0000000000..cf817cdeea --- /dev/null +++ b/ydb/core/ydb_convert/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-ydb_convert-ut) +target_include_directories(ydb-core-ydb_convert-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/ydb_convert +) +target_link_libraries(ydb-core-ydb_convert-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-core-ydb_convert + cpp-testing-unittest + ydb-core-testlib +) +target_sources(ydb-core-ydb_convert-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/ydb_convert/ydb_convert_ut.cpp +) +add_test( + NAME + ydb-core-ydb_convert-ut + COMMAND + ydb-core-ydb_convert-ut +) +target_link_flags(ydb-core-ydb_convert-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-ydb_convert-ut) diff --git a/ydb/core/ymq/client/bin/CMakeLists.txt b/ydb/core/ymq/client/bin/CMakeLists.txt index 50a711f78d..d6c4281e2e 100644 --- a/ydb/core/ymq/client/bin/CMakeLists.txt +++ b/ydb/core/ymq/client/bin/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(sqs) target_link_libraries(sqs PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt ymq-client-cpp @@ -25,10 +26,7 @@ target_link_flags(sqs -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/core/ymq/ut/CMakeLists.txt b/ydb/core/ymq/ut/CMakeLists.txt new file mode 100644 index 0000000000..d6c684fb30 --- /dev/null +++ b/ydb/core/ymq/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-ymq-ut) +target_link_libraries(ydb-core-ymq-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + core-ymq-base + core-ymq-http + library-http_proxy-error +) +target_sources(ydb-core-ymq-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/queue_id_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/params_ut.cpp +) +add_test( + NAME + ydb-core-ymq-ut + COMMAND + ydb-core-ymq-ut +) +target_link_flags(ydb-core-ymq-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-ymq-ut) diff --git a/ydb/core/yq/libs/checkpointing/ut/CMakeLists.txt b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.txt new file mode 100644 index 0000000000..91f9262353 --- /dev/null +++ b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-yq-libs-checkpointing-ut) +target_compile_options(ydb-core-yq-libs-checkpointing-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-yq-libs-checkpointing-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/checkpointing +) +target_link_libraries(ydb-core-yq-libs-checkpointing-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-checkpointing + cpp-testing-unittest + core-testlib-actors + core-testlib-basics +) +target_sources(ydb-core-yq-libs-checkpointing-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/checkpointing/ut/checkpoint_coordinator_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-checkpointing-ut + COMMAND + ydb-core-yq-libs-checkpointing-ut +) +target_link_flags(ydb-core-yq-libs-checkpointing-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-checkpointing-ut) diff --git a/ydb/core/yq/libs/common/ut/CMakeLists.txt b/ydb/core/yq/libs/common/ut/CMakeLists.txt new file mode 100644 index 0000000000..7fe2b667f7 --- /dev/null +++ b/ydb/core/yq/libs/common/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-yq-libs-common-ut) +target_compile_options(ydb-core-yq-libs-common-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-yq-libs-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common +) +target_link_libraries(ydb-core-yq-libs-common-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-common + udf-service-stub + ydb-services-ydb +) +target_sources(ydb-core-yq-libs-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/entity_id_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/rows_proto_splitter_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-common-ut + COMMAND + ydb-core-yq-libs-common-ut +) +target_link_flags(ydb-core-yq-libs-common-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-common-ut) diff --git a/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.txt b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.txt new file mode 100644 index 0000000000..f9b98da69b --- /dev/null +++ b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.txt @@ -0,0 +1,53 @@ + +# This file was gererated 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-yq-libs-control_plane_proxy-ut) +target_compile_options(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/control_plane_proxy +) +target_link_libraries(ydb-core-yq-libs-control_plane_proxy-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-control_plane_proxy + cpp-testing-unittest + ydb-core-base + ydb-core-testlib + libs-actors-logging + yq-libs-control_plane_storage + yq-libs-test_connection + ydb-library-folder_service + library-folder_service-mock +) +target_sources(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/control_plane_proxy/ut/control_plane_proxy_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-control_plane_proxy-ut + COMMAND + ydb-core-yq-libs-control_plane_proxy-ut +) +target_link_flags(ydb-core-yq-libs-control_plane_proxy-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-control_plane_proxy-ut) diff --git a/ydb/core/yq/libs/hmac/ut/CMakeLists.txt b/ydb/core/yq/libs/hmac/ut/CMakeLists.txt new file mode 100644 index 0000000000..d22d9b92e9 --- /dev/null +++ b/ydb/core/yq/libs/hmac/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-yq-libs-hmac-ut) +target_include_directories(ydb-core-yq-libs-hmac-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/hmac +) +target_link_libraries(ydb-core-yq-libs-hmac-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-hmac +) +target_sources(ydb-core-yq-libs-hmac-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/hmac/ut/hmac_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-hmac-ut + COMMAND + ydb-core-yq-libs-hmac-ut +) +target_link_flags(ydb-core-yq-libs-hmac-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-hmac-ut) diff --git a/ydb/core/yq/libs/result_formatter/ut/CMakeLists.txt b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.txt new file mode 100644 index 0000000000..a7a4dd6837 --- /dev/null +++ b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-yq-libs-result_formatter-ut) +target_compile_options(ydb-core-yq-libs-result_formatter-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-yq-libs-result_formatter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/result_formatter +) +target_link_libraries(ydb-core-yq-libs-result_formatter-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-result_formatter + udf-service-stub + ydb-services-ydb +) +target_sources(ydb-core-yq-libs-result_formatter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/result_formatter/result_formatter_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-result_formatter-ut + COMMAND + ydb-core-yq-libs-result_formatter-ut +) +target_link_flags(ydb-core-yq-libs-result_formatter-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-result_formatter-ut) diff --git a/ydb/core/yq/libs/signer/ut/CMakeLists.txt b/ydb/core/yq/libs/signer/ut/CMakeLists.txt new file mode 100644 index 0000000000..0b41d6141d --- /dev/null +++ b/ydb/core/yq/libs/signer/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-yq-libs-signer-ut) +target_include_directories(ydb-core-yq-libs-signer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/signer +) +target_link_libraries(ydb-core-yq-libs-signer-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-signer +) +target_sources(ydb-core-yq-libs-signer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/signer/ut/signer_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-signer-ut + COMMAND + ydb-core-yq-libs-signer-ut +) +target_link_flags(ydb-core-yq-libs-signer-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-signer-ut) diff --git a/ydb/core/yq/libs/test_connection/ut/CMakeLists.txt b/ydb/core/yq/libs/test_connection/ut/CMakeLists.txt new file mode 100644 index 0000000000..e610ddd09c --- /dev/null +++ b/ydb/core/yq/libs/test_connection/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-yq-libs-test_connection-ut) +target_compile_options(ydb-core-yq-libs-test_connection-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-core-yq-libs-test_connection-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/control_plane_proxy +) +target_link_libraries(ydb-core-yq-libs-test_connection-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yq-libs-control_plane_proxy + cpp-testing-unittest +) +target_sources(ydb-core-yq-libs-test_connection-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/test_connection/ut/test_connection_ut.cpp +) +add_test( + NAME + ydb-core-yq-libs-test_connection-ut + COMMAND + ydb-core-yq-libs-test_connection-ut +) +target_link_flags(ydb-core-yq-libs-test_connection-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-core-yq-libs-test_connection-ut) diff --git a/ydb/library/aclib/ut/CMakeLists.txt b/ydb/library/aclib/ut/CMakeLists.txt new file mode 100644 index 0000000000..01b692fd3b --- /dev/null +++ b/ydb/library/aclib/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-aclib-ut) +target_include_directories(ydb-library-aclib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/aclib +) +target_link_libraries(ydb-library-aclib-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-aclib +) +target_sources(ydb-library-aclib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/aclib/aclib_ut.cpp +) +add_test( + NAME + ydb-library-aclib-ut + COMMAND + ydb-library-aclib-ut +) +target_link_flags(ydb-library-aclib-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-aclib-ut) diff --git a/ydb/library/backup/ut/CMakeLists.txt b/ydb/library/backup/ut/CMakeLists.txt new file mode 100644 index 0000000000..8cf844aaff --- /dev/null +++ b/ydb/library/backup/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-backup-ut) +target_include_directories(ydb-library-backup-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/backup +) +target_link_libraries(ydb-library-backup-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + kikimr_backup + cpp-string_utils-quote +) +target_sources(ydb-library-backup-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/backup/ut/ut.cpp +) +add_test( + NAME + ydb-library-backup-ut + COMMAND + ydb-library-backup-ut +) +target_link_flags(ydb-library-backup-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-backup-ut) diff --git a/ydb/library/binary_json/ut/CMakeLists.txt b/ydb/library/binary_json/ut/CMakeLists.txt new file mode 100644 index 0000000000..5dfd3e33c4 --- /dev/null +++ b/ydb/library/binary_json/ut/CMakeLists.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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-cxxsupp + yutil + library-cpp-lfalloc + 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 +) +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 +) +add_test( + NAME + ydb-library-binary_json-ut + COMMAND + ydb-library-binary_json-ut +) +target_link_flags(ydb-library-binary_json-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-binary_json-ut) diff --git a/ydb/library/dynumber/ut/CMakeLists.txt b/ydb/library/dynumber/ut/CMakeLists.txt new file mode 100644 index 0000000000..888a110772 --- /dev/null +++ b/ydb/library/dynumber/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-dynumber-ut) +target_include_directories(ydb-library-dynumber-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/dynumber +) +target_link_libraries(ydb-library-dynumber-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-dynumber +) +target_sources(ydb-library-dynumber-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/dynumber/ut/dynumber_ut.cpp +) +add_test( + NAME + ydb-library-dynumber-ut + COMMAND + ydb-library-dynumber-ut +) +target_link_flags(ydb-library-dynumber-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-dynumber-ut) diff --git a/ydb/library/http_proxy/authorization/ut/CMakeLists.txt b/ydb/library/http_proxy/authorization/ut/CMakeLists.txt new file mode 100644 index 0000000000..02a81e4926 --- /dev/null +++ b/ydb/library/http_proxy/authorization/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-http_proxy-authorization-ut) +target_include_directories(ydb-library-http_proxy-authorization-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization +) +target_link_libraries(ydb-library-http_proxy-authorization-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-http_proxy-authorization + library-http_proxy-error +) +target_sources(ydb-library-http_proxy-authorization-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/auth_helpers_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/signature_ut.cpp +) +add_test( + NAME + ydb-library-http_proxy-authorization-ut + COMMAND + ydb-library-http_proxy-authorization-ut +) +target_link_flags(ydb-library-http_proxy-authorization-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-http_proxy-authorization-ut) diff --git a/ydb/library/keys/ut/CMakeLists.txt b/ydb/library/keys/ut/CMakeLists.txt new file mode 100644 index 0000000000..437273ae3d --- /dev/null +++ b/ydb/library/keys/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-keys-ut) +target_include_directories(ydb-library-keys-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/keys +) +target_link_libraries(ydb-library-keys-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-keys +) +target_sources(ydb-library-keys-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/keys/default_keys_ut.cpp +) +add_test( + NAME + ydb-library-keys-ut + COMMAND + ydb-library-keys-ut +) +target_link_flags(ydb-library-keys-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-keys-ut) diff --git a/ydb/library/login/ut/CMakeLists.txt b/ydb/library/login/ut/CMakeLists.txt new file mode 100644 index 0000000000..2a32512575 --- /dev/null +++ b/ydb/library/login/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-login-ut) +target_include_directories(ydb-library-login-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/login +) +target_link_libraries(ydb-library-login-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-login +) +target_sources(ydb-library-login-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/login/login_ut.cpp +) +add_test( + NAME + ydb-library-login-ut + COMMAND + ydb-library-login-ut +) +target_link_flags(ydb-library-login-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-login-ut) diff --git a/ydb/library/mkql_proto/ut/CMakeLists.txt b/ydb/library/mkql_proto/ut/CMakeLists.txt new file mode 100644 index 0000000000..c0e2429eaf --- /dev/null +++ b/ydb/library/mkql_proto/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-mkql_proto-ut) +target_compile_options(ydb-library-mkql_proto-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-mkql_proto-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/mkql_proto +) +target_link_libraries(ydb-library-mkql_proto-ut PUBLIC + contrib-libs-cxxsupp + yutil + cpp-malloc-jemalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-mkql_proto + mkql_proto-ut-helpers + udf-service-exception_policy + ydb-core-yql_testlib +) +target_sources(ydb-library-mkql_proto-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/mkql_proto/mkql_proto_ut.cpp +) +add_test( + NAME + ydb-library-mkql_proto-ut + COMMAND + ydb-library-mkql_proto-ut +) +target_link_flags(ydb-library-mkql_proto-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-mkql_proto-ut) diff --git a/ydb/library/naming_conventions/ut/CMakeLists.txt b/ydb/library/naming_conventions/ut/CMakeLists.txt new file mode 100644 index 0000000000..d7e70a66ed --- /dev/null +++ b/ydb/library/naming_conventions/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-naming_conventions-ut) +target_include_directories(ydb-library-naming_conventions-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/naming_conventions +) +target_link_libraries(ydb-library-naming_conventions-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-naming_conventions +) +target_sources(ydb-library-naming_conventions-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/naming_conventions/ut/naming_conventions_ut.cpp +) +add_test( + NAME + ydb-library-naming_conventions-ut + COMMAND + ydb-library-naming_conventions-ut +) +target_link_flags(ydb-library-naming_conventions-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-naming_conventions-ut) diff --git a/ydb/library/persqueue/topic_parser/ut/CMakeLists.txt b/ydb/library/persqueue/topic_parser/ut/CMakeLists.txt new file mode 100644 index 0000000000..c03fd39c26 --- /dev/null +++ b/ydb/library/persqueue/topic_parser/ut/CMakeLists.txt @@ -0,0 +1,44 @@ + +# This file was gererated 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-persqueue-topic_parser-ut) +target_include_directories(ydb-library-persqueue-topic_parser-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/persqueue/topic_parser +) +target_link_libraries(ydb-library-persqueue-topic_parser-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-persqueue-topic_parser + library-cpp-getopt + library-cpp-svnversion +) +target_sources(ydb-library-persqueue-topic_parser-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/persqueue/topic_parser/ut/topic_names_converter_ut.cpp +) +add_test( + NAME + ydb-library-persqueue-topic_parser-ut + COMMAND + ydb-library-persqueue-topic_parser-ut +) +target_link_flags(ydb-library-persqueue-topic_parser-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-persqueue-topic_parser-ut) diff --git a/ydb/library/protobuf_printer/ut/CMakeLists.txt b/ydb/library/protobuf_printer/ut/CMakeLists.txt new file mode 100644 index 0000000000..1f4a166182 --- /dev/null +++ b/ydb/library/protobuf_printer/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-protobuf_printer-ut) +target_include_directories(ydb-library-protobuf_printer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/protobuf_printer +) +target_link_libraries(ydb-library-protobuf_printer-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-protobuf_printer + contrib-libs-protobuf +) +target_proto_messages(ydb-library-protobuf_printer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/protobuf_printer/ut/test_proto.proto +) +target_sources(ydb-library-protobuf_printer-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/protobuf_printer/protobuf_printer_ut.cpp +) +add_test( + NAME + ydb-library-protobuf_printer-ut + COMMAND + ydb-library-protobuf_printer-ut +) +target_link_flags(ydb-library-protobuf_printer-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-protobuf_printer-ut) diff --git a/ydb/library/schlab/mon/test/CMakeLists.txt b/ydb/library/schlab/mon/test/CMakeLists.txt index c54ea6d41f..ee97309e2f 100644 --- a/ydb/library/schlab/mon/test/CMakeLists.txt +++ b/ydb/library/schlab/mon/test/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(mon-test) target_link_libraries(mon-test PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-resource library-cpp-getopt @@ -33,13 +34,8 @@ target_link_flags(mon-test -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/library/schlab/ut/CMakeLists.txt b/ydb/library/schlab/ut/CMakeLists.txt new file mode 100644 index 0000000000..66caa1b0a1 --- /dev/null +++ b/ydb/library/schlab/ut/CMakeLists.txt @@ -0,0 +1,39 @@ + +# This file was gererated 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-schlab-ut) +target_link_libraries(ydb-library-schlab-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-schlab-schoot +) +target_sources(ydb-library-schlab-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/schlab/ut/schlab_ut.cpp +) +add_test( + NAME + ydb-library-schlab-ut + COMMAND + ydb-library-schlab-ut +) +target_link_flags(ydb-library-schlab-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-schlab-ut) diff --git a/ydb/library/security/ut/CMakeLists.txt b/ydb/library/security/ut/CMakeLists.txt new file mode 100644 index 0000000000..be44c57c85 --- /dev/null +++ b/ydb/library/security/ut/CMakeLists.txt @@ -0,0 +1,39 @@ + +# This file was gererated 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-security-ut) +target_link_libraries(ydb-library-security-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-library-security +) +target_sources(ydb-library-security-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/security/ut/util_ut.cpp +) +add_test( + NAME + ydb-library-security-ut + COMMAND + ydb-library-security-ut +) +target_link_flags(ydb-library-security-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-security-ut) diff --git a/ydb/library/yql/ast/ut/CMakeLists.txt b/ydb/library/yql/ast/ut/CMakeLists.txt new file mode 100644 index 0000000000..a636cbe13f --- /dev/null +++ b/ydb/library/yql/ast/ut/CMakeLists.txt @@ -0,0 +1,46 @@ + +# This file was gererated 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-yql-ast-ut) +target_include_directories(ydb-library-yql-ast-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast +) +target_link_libraries(ydb-library-yql-ast-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-yql-ast +) +target_sources(ydb-library-yql-ast-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_ast_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_expr_check_args_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_expr_builder_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_expr_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_type_string_ut.cpp +) +add_test( + NAME + ydb-library-yql-ast-ut + COMMAND + ydb-library-yql-ast-ut +) +target_link_flags(ydb-library-yql-ast-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-ast-ut) diff --git a/ydb/library/yql/core/expr_nodes/CMakeLists.txt b/ydb/library/yql/core/expr_nodes/CMakeLists.txt index 1654c03a35..72f5197308 100644 --- a/ydb/library/yql/core/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/core/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(yql-core-expr_nodes) target_link_libraries(yql-core-expr_nodes PUBLIC @@ -14,43 +15,12 @@ target_link_libraries(yql-core-expr_nodes PUBLIC yql-core-expr_nodes_gen yql-public-udf yql-core-issue - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - tools-python3-src - contrib-libs-cxxsupp - yutil - python-symbols-libc - python-symbols-python - tools-python3-lib - contrib-libs-cxxsupp - yutil - tools-python3-src - library-cpp-resource - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - contrib-libs-cxxsupp - yutil - cpp-malloc-jemalloc - library-cpp-cpuid_check - src-Modules-_sqlite ) target_sources(yql-core-expr_nodes PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.cpp ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.gen.h ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.decl.inl.h ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.defs.inl.h - ${CMAKE_SOURCE_DIR}/library/python/symbols/module/module.cpp - ${CMAKE_SOURCE_DIR}/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c ) add_custom_command( OUTPUT @@ -60,9 +30,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes/yql_expr_nodes.gen.h diff --git a/ydb/library/yql/core/file_storage/http_download/CMakeLists.txt b/ydb/library/yql/core/file_storage/http_download/CMakeLists.txt new file mode 100644 index 0000000000..8ec894706d --- /dev/null +++ b/ydb/library/yql/core/file_storage/http_download/CMakeLists.txt @@ -0,0 +1,28 @@ + +# This file was gererated 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_library(core-file_storage-http_download) +target_link_libraries(core-file_storage-http_download PUBLIC + contrib-libs-cxxsupp + yutil + core-file_storage-defs + core-file_storage-download + core-file_storage-proto + file_storage-http_download-proto + yql-utils-fetch + yql-utils-log + library-yql-utils + cpp-regex-pcre + cpp-digest-md5 + cpp-http-misc +) +target_sources(core-file_storage-http_download PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/http_download/http_download.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/http_download/pattern_group.cpp +) diff --git a/ydb/library/yql/core/file_storage/http_download/proto/CMakeLists.txt b/ydb/library/yql/core/file_storage/http_download/proto/CMakeLists.txt new file mode 100644 index 0000000000..b3ea616b9d --- /dev/null +++ b/ydb/library/yql/core/file_storage/http_download/proto/CMakeLists.txt @@ -0,0 +1,18 @@ + +# This file was gererated 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_library(file_storage-http_download-proto) +target_link_libraries(file_storage-http_download-proto PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(file_storage-http_download-proto PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/http_download/proto/http_download.proto +) diff --git a/ydb/library/yql/core/file_storage/ut/CMakeLists.txt b/ydb/library/yql/core/file_storage/ut/CMakeLists.txt new file mode 100644 index 0000000000..65e29891b5 --- /dev/null +++ b/ydb/library/yql/core/file_storage/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-yql-core-file_storage-ut) +target_include_directories(ydb-library-yql-core-file_storage-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage +) +target_link_libraries(ydb-library-yql-core-file_storage-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-core-file_storage + cpp-http-server + cpp-threading-future + core-file_storage-http_download +) +target_sources(ydb-library-yql-core-file_storage-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/file_storage_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/sized_cache_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/storage_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/ut/test_http_server.cpp +) +add_test( + NAME + ydb-library-yql-core-file_storage-ut + COMMAND + ydb-library-yql-core-file_storage-ut +) +target_link_flags(ydb-library-yql-core-file_storage-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-core-file_storage-ut) diff --git a/ydb/library/yql/core/issue/ut/CMakeLists.txt b/ydb/library/yql/core/issue/ut/CMakeLists.txt new file mode 100644 index 0000000000..5b7ada1605 --- /dev/null +++ b/ydb/library/yql/core/issue/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-yql-core-issue-ut) +target_include_directories(ydb-library-yql-core-issue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/issue +) +target_link_libraries(ydb-library-yql-core-issue-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-core-issue +) +target_sources(ydb-library-yql-core-issue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/issue/yql_issue_ut.cpp +) +add_test( + NAME + ydb-library-yql-core-issue-ut + COMMAND + ydb-library-yql-core-issue-ut +) +target_link_flags(ydb-library-yql-core-issue-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-core-issue-ut) diff --git a/ydb/library/yql/dq/actors/compute/ut/CMakeLists.txt b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.txt new file mode 100644 index 0000000000..cc37f5101f --- /dev/null +++ b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-yql-dq-actors-compute-ut) +target_include_directories(ydb-library-yql-dq-actors-compute-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/actors/compute +) +target_link_libraries(ydb-library-yql-dq-actors-compute-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + dq-actors-compute + cpp-testing-unittest +) +target_sources(ydb-library-yql-dq-actors-compute-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/actors/compute/ut/dq_compute_issues_buffer_ut.cpp +) +add_test( + NAME + ydb-library-yql-dq-actors-compute-ut + COMMAND + ydb-library-yql-dq-actors-compute-ut +) +target_link_flags(ydb-library-yql-dq-actors-compute-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-dq-actors-compute-ut) diff --git a/ydb/library/yql/dq/expr_nodes/CMakeLists.txt b/ydb/library/yql/dq/expr_nodes/CMakeLists.txt index f3d825eb61..6cbf9a16dc 100644 --- a/ydb/library/yql/dq/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/dq/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(yql-dq-expr_nodes STATIC) set_property(TARGET yql-dq-expr_nodes PROPERTY @@ -29,9 +30,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/dq/expr_nodes/dq_expr_nodes.gen.h diff --git a/ydb/library/yql/dq/runtime/ut/CMakeLists.txt b/ydb/library/yql/dq/runtime/ut/CMakeLists.txt new file mode 100644 index 0000000000..27fa70f166 --- /dev/null +++ b/ydb/library/yql/dq/runtime/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-yql-dq-runtime-ut) +target_compile_options(ydb-library-yql-dq-runtime-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-dq-runtime-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime +) +target_link_libraries(ydb-library-yql-dq-runtime-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-dq-runtime + cpp-testing-unittest + udf-service-exception_policy +) +target_sources(ydb-library-yql-dq-runtime-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_arrow_helpers_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_output_channel_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/ut/ut_helper.cpp +) +add_test( + NAME + ydb-library-yql-dq-runtime-ut + COMMAND + ydb-library-yql-dq-runtime-ut +) +target_link_flags(ydb-library-yql-dq-runtime-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-dq-runtime-ut) diff --git a/ydb/library/yql/dq/state/ut/CMakeLists.txt b/ydb/library/yql/dq/state/ut/CMakeLists.txt new file mode 100644 index 0000000000..a130ca31f7 --- /dev/null +++ b/ydb/library/yql/dq/state/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-yql-dq-state-ut) +target_compile_options(ydb-library-yql-dq-state-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-dq-state-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/state +) +target_link_libraries(ydb-library-yql-dq-state-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-dq-state +) +target_sources(ydb-library-yql-dq-state-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/state/ut/dq_state_load_plan_ut.cpp +) +add_test( + NAME + ydb-library-yql-dq-state-ut + COMMAND + ydb-library-yql-dq-state-ut +) +target_link_flags(ydb-library-yql-dq-state-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-dq-state-ut) diff --git a/ydb/library/yql/minikql/ut/CMakeLists.txt b/ydb/library/yql/minikql/ut/CMakeLists.txt new file mode 100644 index 0000000000..2911789130 --- /dev/null +++ b/ydb/library/yql/minikql/ut/CMakeLists.txt @@ -0,0 +1,59 @@ + +# This file was gererated 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-yql-minikql-ut) +target_compile_options(ydb-library-yql-minikql-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-minikql-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql +) +target_link_libraries(ydb-library-yql-minikql-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-yql-minikql + yql-minikql-computation + yql-minikql-invoke_builtins + udf-service-exception_policy +) +target_sources(ydb-library-yql-minikql-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/compact_hash_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_alloc_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_node_builder_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_node_cast_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_node_printer_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_node_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_opt_literal_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_stats_registry_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_type_ops_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_string_util_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/pack_num_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/watermark_tracker_ut.cpp +) +add_test( + NAME + ydb-library-yql-minikql-ut + COMMAND + ydb-library-yql-minikql-ut +) +target_link_flags(ydb-library-yql-minikql-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-minikql-ut) diff --git a/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.txt b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.txt new file mode 100644 index 0000000000..cbb45e36b1 --- /dev/null +++ b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-yql-parser-pg_catalog-ut) +target_include_directories(ydb-library-yql-parser-pg_catalog-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_catalog +) +target_link_libraries(ydb-library-yql-parser-pg_catalog-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-parser-pg_catalog +) +target_sources(ydb-library-yql-parser-pg_catalog-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_catalog/ut/catalog_ut.cpp +) +add_test( + NAME + ydb-library-yql-parser-pg_catalog-ut + COMMAND + ydb-library-yql-parser-pg_catalog-ut +) +target_link_flags(ydb-library-yql-parser-pg_catalog-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-parser-pg_catalog-ut) diff --git a/ydb/library/yql/parser/pg_query_wrapper/ut/CMakeLists.txt b/ydb/library/yql/parser/pg_query_wrapper/ut/CMakeLists.txt new file mode 100644 index 0000000000..a721c04e5b --- /dev/null +++ b/ydb/library/yql/parser/pg_query_wrapper/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-yql-parser-pg_query_wrapper-ut) +target_include_directories(ydb-library-yql-parser-pg_query_wrapper-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_query_wrapper +) +target_link_libraries(ydb-library-yql-parser-pg_query_wrapper-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-parser-pg_query_wrapper +) +target_sources(ydb-library-yql-parser-pg_query_wrapper-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_query_wrapper/ut/wrapper_ut.cpp +) +add_test( + NAME + ydb-library-yql-parser-pg_query_wrapper-ut + COMMAND + ydb-library-yql-parser-pg_query_wrapper-ut +) +target_link_flags(ydb-library-yql-parser-pg_query_wrapper-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-parser-pg_query_wrapper-ut) diff --git a/ydb/library/yql/parser/proto_ast/gen/v1/CMakeLists.txt b/ydb/library/yql/parser/proto_ast/gen/v1/CMakeLists.txt index 425e86a3b1..cbc87e3a95 100644 --- a/ydb/library/yql/parser/proto_ast/gen/v1/CMakeLists.txt +++ b/ydb/library/yql/parser/proto_ast/gen/v1/CMakeLists.txt @@ -33,22 +33,6 @@ configure_file( ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/proto_ast/org/antlr/codegen/templates/Cpp/Cpp.stg.in ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1/org/antlr/codegen/templates/Cpp/Cpp.stg ) -set( - GRAMMAR_MULTILINE_COMMENT_CORE - . -) -set( - GRAMMAR_STRING_CORE_DOUBLE - ~(QUOTE_DOUBLE | BACKSLASH) | (BACKSLASH .) -) -set( - GRAMMAR_STRING_CORE_SINGLE - ~(QUOTE_SINGLE | BACKSLASH) | (BACKSLASH .) -) -configure_file( - ${CMAKE_SOURCE_DIR}/ydb/library/yql/sql/v1/SQLv1.g.in - ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1/SQLv1.g -) run_antlr( OUTPUT ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1/SQLv1Parser.cpp diff --git a/ydb/library/yql/parser/proto_ast/gen/v1_ansi/CMakeLists.txt b/ydb/library/yql/parser/proto_ast/gen/v1_ansi/CMakeLists.txt index 14883ece52..c87ba4e8de 100644 --- a/ydb/library/yql/parser/proto_ast/gen/v1_ansi/CMakeLists.txt +++ b/ydb/library/yql/parser/proto_ast/gen/v1_ansi/CMakeLists.txt @@ -33,22 +33,6 @@ configure_file( ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/proto_ast/org/antlr/codegen/templates/Cpp/Cpp.stg.in ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1_ansi/org/antlr/codegen/templates/Cpp/Cpp.stg ) -set( - GRAMMAR_MULTILINE_COMMENT_CORE - MULTILINE_COMMENT | . -) -set( - GRAMMAR_STRING_CORE_DOUBLE - ~QUOTE_DOUBLE | (QUOTE_DOUBLE QUOTE_DOUBLE) -) -set( - GRAMMAR_STRING_CORE_SINGLE - ~QUOTE_SINGLE | (QUOTE_SINGLE QUOTE_SINGLE) -) -configure_file( - ${CMAKE_SOURCE_DIR}/ydb/library/yql/sql/v1/SQLv1.g.in - ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1_ansi/SQLv1.g -) run_antlr( OUTPUT ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1_ansi/SQLv1Parser.cpp diff --git a/ydb/library/yql/parser/proto_ast/gen/v1_proto/CMakeLists.txt b/ydb/library/yql/parser/proto_ast/gen/v1_proto/CMakeLists.txt index 60993bac6b..3765497d5d 100644 --- a/ydb/library/yql/parser/proto_ast/gen/v1_proto/CMakeLists.txt +++ b/ydb/library/yql/parser/proto_ast/gen/v1_proto/CMakeLists.txt @@ -34,22 +34,6 @@ run_antlr( protobuf ) set( - GRAMMAR_MULTILINE_COMMENT_CORE - . -) -set( - GRAMMAR_STRING_CORE_DOUBLE - ~(QUOTE_DOUBLE | BACKSLASH) | (BACKSLASH .) -) -set( - GRAMMAR_STRING_CORE_SINGLE - ~(QUOTE_SINGLE | BACKSLASH) | (BACKSLASH .) -) -configure_file( - ${CMAKE_SOURCE_DIR}/ydb/library/yql/sql/v1/SQLv1.g.in - ${CMAKE_BINARY_DIR}/ydb/library/yql/parser/proto_ast/gen/v1_proto/SQLv1.g -) -set( ANTLR_PACKAGE_NAME NSQLv1Generated ) diff --git a/ydb/library/yql/providers/clickhouse/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/clickhouse/expr_nodes/CMakeLists.txt index 909835ec63..aa71470c6d 100644 --- a/ydb/library/yql/providers/clickhouse/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/clickhouse/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-clickhouse-expr_nodes) target_link_libraries(providers-clickhouse-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/clickhouse/expr_nodes/yql_clickhouse_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/clickhouse/expr_nodes/yql_clickhouse_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/clickhouse/expr_nodes/yql_clickhouse_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/common/codec/ut/CMakeLists.txt b/ydb/library/yql/providers/common/codec/ut/CMakeLists.txt new file mode 100644 index 0000000000..dbb6a2b19b --- /dev/null +++ b/ydb/library/yql/providers/common/codec/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-yql-providers-common-codec-ut) +target_compile_options(ydb-library-yql-providers-common-codec-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-providers-common-codec-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/codec +) +target_link_libraries(ydb-library-yql-providers-common-codec-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + providers-common-codec + cpp-testing-unittest + udf-service-exception_policy +) +target_sources(ydb-library-yql-providers-common-codec-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/codec/yql_json_codec_ut.cpp +) +add_test( + NAME + ydb-library-yql-providers-common-codec-ut + COMMAND + ydb-library-yql-providers-common-codec-ut +) +target_link_flags(ydb-library-yql-providers-common-codec-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-providers-common-codec-ut) diff --git a/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.txt b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.txt new file mode 100644 index 0000000000..e6b2e089f5 --- /dev/null +++ b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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(yql-providers-common-structured_token-ut) +target_include_directories(yql-providers-common-structured_token-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/structured_token +) +target_link_libraries(yql-providers-common-structured_token-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + providers-common-structured_token +) +target_sources(yql-providers-common-structured_token-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/structured_token/ut/yql_structured_token_ut.cpp +) +add_test( + NAME + yql-providers-common-structured_token-ut + COMMAND + yql-providers-common-structured_token-ut +) +target_link_flags(yql-providers-common-structured_token-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(yql-providers-common-structured_token-ut) diff --git a/ydb/library/yql/providers/dq/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/dq/expr_nodes/CMakeLists.txt index 406185639f..3819324785 100644 --- a/ydb/library/yql/providers/dq/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/dq/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-dq-expr_nodes STATIC) set_property(TARGET providers-dq-expr_nodes PROPERTY @@ -29,9 +30,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/dq/expr_nodes/dqs_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/dq/expr_nodes/dqs_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/dq/expr_nodes/dqs_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/pq/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/pq/expr_nodes/CMakeLists.txt index ec01db6834..81ef1eacd5 100644 --- a/ydb/library/yql/providers/pq/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/pq/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-pq-expr_nodes) target_link_libraries(providers-pq-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/pq/expr_nodes/yql_pq_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/pq/expr_nodes/yql_pq_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/pq/expr_nodes/yql_pq_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/result/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/result/expr_nodes/CMakeLists.txt index 744fe9054d..f29952319c 100644 --- a/ydb/library/yql/providers/result/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/result/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-result-expr_nodes) target_link_libraries(providers-result-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/result/expr_nodes/yql_res_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/result/expr_nodes/yql_res_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/result/expr_nodes/yql_res_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/s3/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/s3/expr_nodes/CMakeLists.txt index 5b23d64b24..ec89b3f47b 100644 --- a/ydb/library/yql/providers/s3/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/s3/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-s3-expr_nodes) target_link_libraries(providers-s3-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/s3/expr_nodes/yql_s3_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/s3/expr_nodes/yql_s3_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/s3/expr_nodes/yql_s3_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/solomon/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/solomon/expr_nodes/CMakeLists.txt index 7ce5664283..824570c192 100644 --- a/ydb/library/yql/providers/solomon/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/solomon/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-solomon-expr_nodes) target_link_libraries(providers-solomon-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/solomon/expr_nodes/yql_solomon_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/solomon/expr_nodes/yql_solomon_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/solomon/expr_nodes/yql_solomon_expr_nodes.gen.h diff --git a/ydb/library/yql/providers/ydb/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/ydb/expr_nodes/CMakeLists.txt index d88f4dd21c..17a18af783 100644 --- a/ydb/library/yql/providers/ydb/expr_nodes/CMakeLists.txt +++ b/ydb/library/yql/providers/ydb/expr_nodes/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +find_package(Python3 REQUIRED) add_library(providers-ydb-expr_nodes) target_link_libraries(providers-ydb-expr_nodes PUBLIC @@ -28,9 +29,10 @@ add_custom_command( DEPENDS ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/ydb/expr_nodes/yql_ydb_expr_nodes.json - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py COMMAND - ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/ydb/expr_nodes/yql_ydb_expr_nodes.json ${CMAKE_BINARY_DIR}/ydb/library/yql/providers/ydb/expr_nodes/yql_ydb_expr_nodes.gen.h diff --git a/ydb/library/yql/public/decimal/ut/CMakeLists.txt b/ydb/library/yql/public/decimal/ut/CMakeLists.txt new file mode 100644 index 0000000000..a4949e5808 --- /dev/null +++ b/ydb/library/yql/public/decimal/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-yql-public-decimal-ut) +target_include_directories(ydb-library-yql-public-decimal-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal +) +target_link_libraries(ydb-library-yql-public-decimal-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-public-decimal +) +target_sources(ydb-library-yql-public-decimal-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_decimal_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_wide_int_ut.cpp +) +add_test( + NAME + ydb-library-yql-public-decimal-ut + COMMAND + ydb-library-yql-public-decimal-ut +) +target_link_flags(ydb-library-yql-public-decimal-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-public-decimal-ut) diff --git a/ydb/library/yql/public/issue/ut/CMakeLists.txt b/ydb/library/yql/public/issue/ut/CMakeLists.txt new file mode 100644 index 0000000000..9fbf5d4255 --- /dev/null +++ b/ydb/library/yql/public/issue/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-yql-public-issue-ut) +target_include_directories(ydb-library-yql-public-issue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue +) +target_link_libraries(ydb-library-yql-public-issue-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-public-issue +) +target_sources(ydb-library-yql-public-issue-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_manager_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_utils_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_warning_ut.cpp +) +add_test( + NAME + ydb-library-yql-public-issue-ut + COMMAND + ydb-library-yql-public-issue-ut +) +target_link_flags(ydb-library-yql-public-issue-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-public-issue-ut) diff --git a/contrib/libs/xz/common/CMakeLists.txt b/ydb/library/yql/public/udf/service/stub/CMakeLists.txt index a9f5098f6d..5276635892 100644 --- a/contrib/libs/xz/common/CMakeLists.txt +++ b/ydb/library/yql/public/udf/service/stub/CMakeLists.txt @@ -7,18 +7,15 @@ -add_library(libs-xz-common) -target_compile_options(libs-xz-common PRIVATE - -DTUKLIB_SYMBOL_PREFIX=lzma_ +add_library(udf-service-stub) +target_compile_options(udf-service-stub PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION ) -target_include_directories(libs-xz-common PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/xz - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common -) -target_link_libraries(libs-xz-common PUBLIC +target_link_libraries(udf-service-stub PUBLIC contrib-libs-cxxsupp yutil + yql-public-udf ) -target_sources(libs-xz-common PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common/tuklib_cpucores.c +target_sources(udf-service-stub PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/service/stub/udf_service.cpp ) diff --git a/ydb/library/yql/public/udf/ut/CMakeLists.txt b/ydb/library/yql/public/udf/ut/CMakeLists.txt new file mode 100644 index 0000000000..7c722cc393 --- /dev/null +++ b/ydb/library/yql/public/udf/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-yql-public-udf-ut) +target_compile_options(ydb-library-yql-public-udf-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-public-udf-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf +) +target_link_libraries(ydb-library-yql-public-udf-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-public-udf + udf-service-exception_policy +) +target_sources(ydb-library-yql-public-udf-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_counter_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_value_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_value_builder_ut.cpp +) +add_test( + NAME + ydb-library-yql-public-udf-ut + COMMAND + ydb-library-yql-public-udf-ut +) +target_link_flags(ydb-library-yql-public-udf-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-public-udf-ut) diff --git a/ydb/library/yql/udfs/common/stat/ut/CMakeLists.txt b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.txt new file mode 100644 index 0000000000..73b2dff452 --- /dev/null +++ b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-yql-udfs-common-stat-ut) +target_compile_options(ydb-library-yql-udfs-common-stat-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-udfs-common-stat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/stat/static +) +target_link_libraries(ydb-library-yql-udfs-common-stat-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + common-stat-static + library-yql-minikql + yql-minikql-comp_nodes + yql-minikql-computation + udf-service-exception_policy +) +target_sources(ydb-library-yql-udfs-common-stat-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/stat/stat_udf_ut.cpp +) +add_test( + NAME + ydb-library-yql-udfs-common-stat-ut + COMMAND + ydb-library-yql-udfs-common-stat-ut +) +target_link_flags(ydb-library-yql-udfs-common-stat-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-udfs-common-stat-ut) diff --git a/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.txt b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.txt new file mode 100644 index 0000000000..bba0a582ea --- /dev/null +++ b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-yql-udfs-common-topfreq-ut) +target_compile_options(ydb-library-yql-udfs-common-topfreq-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-library-yql-udfs-common-topfreq-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/topfreq/static +) +target_link_libraries(ydb-library-yql-udfs-common-topfreq-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + common-topfreq-static + library-yql-minikql + yql-minikql-comp_nodes + yql-minikql-computation + udf-service-exception_policy +) +target_sources(ydb-library-yql-udfs-common-topfreq-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/topfreq/topfreq_udf_ut.cpp +) +add_test( + NAME + ydb-library-yql-udfs-common-topfreq-ut + COMMAND + ydb-library-yql-udfs-common-topfreq-ut +) +target_link_flags(ydb-library-yql-udfs-common-topfreq-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-udfs-common-topfreq-ut) diff --git a/ydb/library/yql/utils/failure_injector/ut/CMakeLists.txt b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.txt new file mode 100644 index 0000000000..646a4dff9f --- /dev/null +++ b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-yql-utils-failure_injector-ut) +target_include_directories(ydb-library-yql-utils-failure_injector-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/failure_injector +) +target_link_libraries(ydb-library-yql-utils-failure_injector-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-utils-failure_injector + yql-utils-log +) +target_sources(ydb-library-yql-utils-failure_injector-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/failure_injector/failure_injector_ut.cpp +) +add_test( + NAME + ydb-library-yql-utils-failure_injector-ut + COMMAND + ydb-library-yql-utils-failure_injector-ut +) +target_link_flags(ydb-library-yql-utils-failure_injector-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-utils-failure_injector-ut) diff --git a/ydb/library/yql/utils/log/ut/CMakeLists.txt b/ydb/library/yql/utils/log/ut/CMakeLists.txt new file mode 100644 index 0000000000..4cbbbe58c4 --- /dev/null +++ b/ydb/library/yql/utils/log/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-yql-utils-log-ut) +target_include_directories(ydb-library-yql-utils-log-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log +) +target_link_libraries(ydb-library-yql-utils-log-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + yql-utils-log +) +target_sources(ydb-library-yql-utils-log-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/log_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/tls_backend_ut.cpp +) +add_test( + NAME + ydb-library-yql-utils-log-ut + COMMAND + ydb-library-yql-utils-log-ut +) +target_link_flags(ydb-library-yql-utils-log-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-utils-log-ut) diff --git a/ydb/library/yql/utils/ut/CMakeLists.txt b/ydb/library/yql/utils/ut/CMakeLists.txt new file mode 100644 index 0000000000..9a9e0a12ac --- /dev/null +++ b/ydb/library/yql/utils/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-yql-utils-ut) +target_include_directories(ydb-library-yql-utils-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils +) +target_link_libraries(ydb-library-yql-utils-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + library-yql-utils +) +target_sources(ydb-library-yql-utils-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/fp_bits_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/md5_stream_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/multi_resource_lock_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/parse_double_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/range_walker_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/retry_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/url_builder_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/utf8_ut.cpp +) +add_test( + NAME + ydb-library-yql-utils-ut + COMMAND + ydb-library-yql-utils-ut +) +target_link_flags(ydb-library-yql-utils-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-library-yql-utils-ut) diff --git a/ydb/public/lib/deprecated/kicli/ut/CMakeLists.txt b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.txt new file mode 100644 index 0000000000..d2946862b7 --- /dev/null +++ b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.txt @@ -0,0 +1,47 @@ + +# This file was gererated 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-public-lib-deprecated-kicli-ut) +target_compile_options(ydb-public-lib-deprecated-kicli-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-public-lib-deprecated-kicli-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/deprecated/kicli +) +target_link_libraries(ydb-public-lib-deprecated-kicli-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + lib-deprecated-kicli + ydb-core-client + ydb-core-testlib +) +target_sources(ydb-public-lib-deprecated-kicli-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/deprecated/kicli/cpp_ut.cpp +) +add_test( + NAME + ydb-public-lib-deprecated-kicli-ut + COMMAND + ydb-public-lib-deprecated-kicli-ut +) +target_link_flags(ydb-public-lib-deprecated-kicli-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-public-lib-deprecated-kicli-ut) diff --git a/ydb/public/lib/idx_test/ut/CMakeLists.txt b/ydb/public/lib/idx_test/ut/CMakeLists.txt new file mode 100644 index 0000000000..0c2a74299e --- /dev/null +++ b/ydb/public/lib/idx_test/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-public-lib-idx_test-ut) +target_include_directories(ydb-public-lib-idx_test-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/idx_test +) +target_link_libraries(ydb-public-lib-idx_test-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + public-lib-idx_test +) +target_sources(ydb-public-lib-idx_test-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/idx_test/ut/idx_test_data_provider_ut.cpp +) +add_test( + NAME + ydb-public-lib-idx_test-ut + COMMAND + ydb-public-lib-idx_test-ut +) +target_link_flags(ydb-public-lib-idx_test-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-public-lib-idx_test-ut) diff --git a/ydb/public/lib/json_value/ut/CMakeLists.txt b/ydb/public/lib/json_value/ut/CMakeLists.txt new file mode 100644 index 0000000000..8835f79182 --- /dev/null +++ b/ydb/public/lib/json_value/ut/CMakeLists.txt @@ -0,0 +1,45 @@ + +# This file was gererated 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-public-lib-json_value-ut) +target_include_directories(ydb-public-lib-json_value-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/json_value +) +target_link_libraries(ydb-public-lib-json_value-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + public-lib-json_value + library-cpp-json + cpp-testing-unittest + cpp-client-ydb_proto +) +target_sources(ydb-public-lib-json_value-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/json_value/ydb_json_value_ut.cpp +) +add_test( + NAME + ydb-public-lib-json_value-ut + COMMAND + ydb-public-lib-json_value-ut +) +target_link_flags(ydb-public-lib-json_value-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-public-lib-json_value-ut) diff --git a/ydb/public/lib/operation_id/ut/CMakeLists.txt b/ydb/public/lib/operation_id/ut/CMakeLists.txt new file mode 100644 index 0000000000..d28899992d --- /dev/null +++ b/ydb/public/lib/operation_id/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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-public-lib-operation_id-ut) +target_include_directories(ydb-public-lib-operation_id-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/operation_id +) +target_link_libraries(ydb-public-lib-operation_id-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + public-lib-operation_id + cpp-testing-unittest +) +target_sources(ydb-public-lib-operation_id-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/operation_id/operation_id_ut.cpp +) +add_test( + NAME + ydb-public-lib-operation_id-ut + COMMAND + ydb-public-lib-operation_id-ut +) +target_link_flags(ydb-public-lib-operation_id-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-public-lib-operation_id-ut) diff --git a/ydb/public/lib/ydb_cli/common/ut/CMakeLists.txt b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.txt new file mode 100644 index 0000000000..2f8936acea --- /dev/null +++ b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.txt @@ -0,0 +1,42 @@ + +# This file was gererated 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-public-lib-ydb_cli-common-ut) +target_include_directories(ydb-public-lib-ydb_cli-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/ydb_cli/common +) +target_link_libraries(ydb-public-lib-ydb_cli-common-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + common +) +target_sources(ydb-public-lib-ydb_cli-common-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/ydb_cli/common/normalize_path_ut.cpp +) +add_test( + NAME + ydb-public-lib-ydb_cli-common-ut + COMMAND + ydb-public-lib-ydb_cli-common-ut +) +target_link_flags(ydb-public-lib-ydb_cli-common-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-public-lib-ydb_cli-common-ut) diff --git a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.txt index b4f3bc20e6..71f8ad3461 100644 --- a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-draft-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-draft-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-draft @@ -32,13 +33,8 @@ target_link_flags(ydb-public-sdk-cpp-client-draft-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.txt new file mode 100644 index 0000000000..b4ea0eba97 --- /dev/null +++ b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.txt @@ -0,0 +1,43 @@ + +# This file was gererated 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(client-extensions-discovery_mutator-ut) +target_include_directories(client-extensions-discovery_mutator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/extensions/discovery_mutator +) +target_link_libraries(client-extensions-discovery_mutator-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + client-extensions-discovery_mutator + cpp-client-ydb_table +) +target_sources(client-extensions-discovery_mutator-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/extensions/discovery_mutator/discovery_mutator_ut.cpp +) +add_test( + NAME + client-extensions-discovery_mutator-ut + COMMAND + client-extensions-discovery_mutator-ut +) +target_link_flags(client-extensions-discovery_mutator-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(client-extensions-discovery_mutator-ut) diff --git a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.txt index 3808531ac7..ff26e3d83d 100644 --- a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PRIVA target_link_libraries(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main client-impl-ydb_endpoints @@ -33,10 +34,7 @@ target_link_flags(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.txt index d45b8f9df2..a498d7b3a7 100644 --- a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_coordination-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_coordination-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_coordination @@ -34,10 +35,7 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_coordination-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.txt index 976e85990e..aa464de400 100644 --- a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_driver-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_driver-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_driver @@ -33,13 +34,8 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_driver-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.txt index 75700caa79..d76077c405 100644 --- a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_params-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_params-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_params @@ -34,10 +35,7 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_params-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.txt index 626a199382..0595807ca0 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.txt @@ -17,6 +17,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PRIVA target_link_libraries(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_persqueue_core @@ -49,13 +50,8 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.txt index d64fd159a2..4544fa2b6f 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_compile_options(with_offset_ranges_mode_ut PRIVATE target_link_libraries(with_offset_ranges_mode_ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-testing-gmock_in_unittest @@ -41,13 +42,8 @@ target_link_flags(with_offset_ranges_mode_ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.txt index 42757515d4..406553a12d 100644 --- a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_result-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_result-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_result @@ -33,10 +34,7 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_result-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_table/impl/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_table/impl/ut/CMakeLists.txt index 6ecdfb43eb..2dd3717509 100644 --- a/ydb/public/sdk/cpp/client/ydb_table/impl/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_table/impl/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_table-impl-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_table-impl-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main client-ydb_table-impl @@ -33,13 +34,8 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_table-impl-ut -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.txt index c7c71ead76..c9732390f9 100644 --- a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.txt @@ -14,6 +14,7 @@ target_include_directories(ydb-public-sdk-cpp-client-ydb_value-ut PRIVATE target_link_libraries(ydb-public-sdk-cpp-client-ydb_value-ut PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check cpp-testing-unittest_main cpp-client-ydb_value @@ -35,10 +36,7 @@ target_link_flags(ydb-public-sdk-cpp-client-ydb_value-ut -lrt -Wl,--no-as-needed -fPIC - -Wl,--gdb-index -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.txt b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.txt index a3da02465c..7aed64227e 100644 --- a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(basic_example) target_link_libraries(basic_example PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -25,13 +26,8 @@ target_link_flags(basic_example -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.txt b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.txt index bee542dbe8..28ca4b826f 100644 --- a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(bulk_upsert_simple) target_link_libraries(bulk_upsert_simple PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -23,13 +24,8 @@ target_link_flags(bulk_upsert_simple -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.txt b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.txt index 500dd90697..ed2808f2f1 100644 --- a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(pagination) target_link_libraries(pagination PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -25,13 +26,8 @@ target_link_flags(pagination -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.txt b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.txt index 5911cedc47..30887762b4 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(secondary_index) target_link_libraries(secondary_index PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -30,13 +31,8 @@ target_link_flags(secondary_index -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.txt b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.txt index 839709c61b..ee9184f12d 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(secondary_index_builtin) target_link_libraries(secondary_index_builtin PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -29,13 +30,8 @@ target_link_flags(secondary_index_builtin -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.txt b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.txt index 76ab6b788f..505a5d20cf 100644 --- a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.txt +++ b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.txt @@ -11,6 +11,7 @@ add_executable(ttl) target_link_libraries(ttl PUBLIC contrib-libs-cxxsupp yutil + library-cpp-lfalloc library-cpp-cpuid_check library-cpp-getopt cpp-client-ydb_table @@ -24,13 +25,8 @@ target_link_flags(ttl -ldl -lrt -Wl,--no-as-needed - -Wl,-rpath,$ORIGIN -fPIC - -Wl,--gdb-index - -Wl,-rpath,$ORIGIN -fPIC - -fuse-ld=$(LLD_ROOT-sbr:2283360772)/ld - -Wl,--no-rosegment -lpthread -lrt -ldl diff --git a/ydb/services/cms/ut/CMakeLists.txt b/ydb/services/cms/ut/CMakeLists.txt new file mode 100644 index 0000000000..7870f0bec6 --- /dev/null +++ b/ydb/services/cms/ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-services-cms-ut) +target_compile_options(ydb-services-cms-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-cms-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/cms +) +target_link_libraries(ydb-services-cms-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-cms + library-cpp-getopt + cpp-grpc-client + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-services-cms-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/cms/cms_ut.cpp +) +add_test( + NAME + ydb-services-cms-ut + COMMAND + ydb-services-cms-ut +) +target_link_flags(ydb-services-cms-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-cms-ut) diff --git a/ydb/services/datastreams/ut/CMakeLists.txt b/ydb/services/datastreams/ut/CMakeLists.txt new file mode 100644 index 0000000000..bfe35f88e9 --- /dev/null +++ b/ydb/services/datastreams/ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-services-datastreams-ut) +target_compile_options(ydb-services-datastreams-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-datastreams-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/datastreams +) +target_link_libraries(ydb-services-datastreams-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-datastreams + library-cpp-getopt + cpp-grpc-client + library-cpp-svnversion + ydb-core-testlib +) +target_sources(ydb-services-datastreams-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/datastreams/datastreams_ut.cpp +) +add_test( + NAME + ydb-services-datastreams-ut + COMMAND + ydb-services-datastreams-ut +) +target_link_flags(ydb-services-datastreams-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-datastreams-ut) diff --git a/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.txt b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.txt new file mode 100644 index 0000000000..ab9d5ad347 --- /dev/null +++ b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-services-persqueue_cluster_discovery-ut) +target_compile_options(ydb-services-persqueue_cluster_discovery-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-persqueue_cluster_discovery-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_cluster_discovery +) +target_link_libraries(ydb-services-persqueue_cluster_discovery-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-persqueue_cluster_discovery + cpp-actors-http + ydb-core-testlib + api-grpc +) +target_sources(ydb-services-persqueue_cluster_discovery-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_cluster_discovery/cluster_discovery_service_ut.cpp +) +add_test( + NAME + ydb-services-persqueue_cluster_discovery-ut + COMMAND + ydb-services-persqueue_cluster_discovery-ut +) +target_link_flags(ydb-services-persqueue_cluster_discovery-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-persqueue_cluster_discovery-ut) diff --git a/ydb/services/persqueue_v1/ut/CMakeLists.txt b/ydb/services/persqueue_v1/ut/CMakeLists.txt new file mode 100644 index 0000000000..1acf03e853 --- /dev/null +++ b/ydb/services/persqueue_v1/ut/CMakeLists.txt @@ -0,0 +1,57 @@ + +# This file was gererated 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-services-persqueue_v1-ut) +target_compile_options(ydb-services-persqueue_v1-ut PRIVATE + -DACTORLIB_HUGE_PB_SIZE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-persqueue_v1-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1 +) +target_link_libraries(ydb-services-persqueue_v1-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-persqueue_v1 + library-cpp-getopt + library-cpp-svnversion + ydb-core-testlib + ydb-library-aclib + library-persqueue-topic_parser + api-grpc + ydb_persqueue_core-ut-ut_utils + cpp-client-ydb_persqueue_public + cpp-client-ydb_table +) +target_sources(ydb-services-persqueue_v1-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_common_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/ut/rate_limiter_test_setup.cpp +) +add_test( + NAME + ydb-services-persqueue_v1-ut + COMMAND + ydb-services-persqueue_v1-ut +) +target_link_flags(ydb-services-persqueue_v1-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-persqueue_v1-ut) diff --git a/ydb/services/rate_limiter/ut/CMakeLists.txt b/ydb/services/rate_limiter/ut/CMakeLists.txt new file mode 100644 index 0000000000..d4dc003e72 --- /dev/null +++ b/ydb/services/rate_limiter/ut/CMakeLists.txt @@ -0,0 +1,48 @@ + +# This file was gererated 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-services-rate_limiter-ut) +target_compile_options(ydb-services-rate_limiter-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-rate_limiter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/rate_limiter +) +target_link_libraries(ydb-services-rate_limiter-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-rate_limiter + ydb-core-testlib + cpp-client-ydb_coordination + cpp-client-ydb_rate_limiter +) +target_sources(ydb-services-rate_limiter-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/rate_limiter/rate_limiter_ut.cpp +) +add_test( + NAME + ydb-services-rate_limiter-ut + COMMAND + ydb-services-rate_limiter-ut +) +target_link_flags(ydb-services-rate_limiter-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-rate_limiter-ut) diff --git a/ydb/services/ydb/index_ut/CMakeLists.txt b/ydb/services/ydb/index_ut/CMakeLists.txt new file mode 100644 index 0000000000..40f203ed4b --- /dev/null +++ b/ydb/services/ydb/index_ut/CMakeLists.txt @@ -0,0 +1,50 @@ + +# This file was gererated 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-services-ydb-index_ut) +target_compile_options(ydb-services-ydb-index_ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-ydb-index_ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb +) +target_link_libraries(ydb-services-ydb-index_ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-ydb + ydb-core-testlib + public-lib-idx_test + public-lib-yson_value + cpp-client-ydb_scheme + cpp-client-ydb_table +) +target_sources(ydb-services-ydb-index_ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_index_ut.cpp +) +add_test( + NAME + ydb-services-ydb-index_ut + COMMAND + ydb-services-ydb-index_ut +) +target_link_flags(ydb-services-ydb-index_ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-ydb-index_ut) diff --git a/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.txt b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.txt new file mode 100644 index 0000000000..2e9e402702 --- /dev/null +++ b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.txt @@ -0,0 +1,49 @@ + +# This file was gererated 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-services-ydb-sdk_credprovider_ut) +target_compile_options(ydb-services-ydb-sdk_credprovider_ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-ydb-sdk_credprovider_ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb +) +target_link_libraries(ydb-services-ydb-sdk_credprovider_ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-ydb + ydb-core-testlib + public-lib-yson_value + cpp-client-ydb_scheme + cpp-client-ydb_table +) +target_sources(ydb-services-ydb-sdk_credprovider_ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/sdk_credprovider_ut/dummy_provider_ut.cpp +) +add_test( + NAME + ydb-services-ydb-sdk_credprovider_ut + COMMAND + ydb-services-ydb-sdk_credprovider_ut +) +target_link_flags(ydb-services-ydb-sdk_credprovider_ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-ydb-sdk_credprovider_ut) diff --git a/ydb/services/ydb/ut/CMakeLists.txt b/ydb/services/ydb/ut/CMakeLists.txt new file mode 100644 index 0000000000..39610e6e9a --- /dev/null +++ b/ydb/services/ydb/ut/CMakeLists.txt @@ -0,0 +1,77 @@ + +# This file was gererated 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-services-ydb-ut) +target_compile_options(ydb-services-ydb-ut PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-ydb-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb +) +target_link_libraries(ydb-services-ydb-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-ydb + libs-apache-arrow + library-cpp-getopt + cpp-grpc-client + cpp-regex-pcre + library-cpp-svnversion + kqp-ut-common + ydb-core-testlib + yql-minikql-dom + yql-minikql-jsonpath + public-lib-experimental + public-lib-yson_value + cpp-client-draft + cpp-client-ydb_coordination + cpp-client-ydb_export + cpp-client-ydb_extension + cpp-client-ydb_operation + cpp-client-ydb_scheme +) +target_sources(ydb-services-ydb-ut PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_olap_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_coordination_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_index_table_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_import_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_s3_internal_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_scripting_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_table_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_table_split_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_stats_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_long_tx_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_logstore_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_olapstore_ut.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ut/json_udf.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ut/re2_udf.cpp +) +add_test( + NAME + ydb-services-ydb-ut + COMMAND + ydb-services-ydb-ut +) +target_link_flags(ydb-services-ydb-ut + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-ydb-ut) diff --git a/ydb/services/yq/ut_integration/CMakeLists.txt b/ydb/services/yq/ut_integration/CMakeLists.txt new file mode 100644 index 0000000000..58f65bb0ce --- /dev/null +++ b/ydb/services/yq/ut_integration/CMakeLists.txt @@ -0,0 +1,59 @@ + +# This file was gererated 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-services-yq-ut_integration) +target_compile_options(ydb-services-yq-ut_integration PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_include_directories(ydb-services-yq-ut_integration PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/yq +) +target_link_libraries(ydb-services-yq-ut_integration PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + cpp-testing-unittest_main + ydb-services-yq + library-cpp-getopt + cpp-grpc-client + cpp-regex-pcre + library-cpp-svnversion + ydb-core-testlib + yq-libs-control_plane_storage + yq-libs-db_schema + yq-libs-private_client + ydb-services-ydb + providers-common-db_id_async_resolver + clickhouse_client_udf + library-yql-utils + yql-sql-pg_dummy +) +target_sources(ydb-services-yq-ut_integration PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/ut_utils.cpp + ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/yq_ut.cpp +) +add_test( + NAME + ydb-services-yq-ut_integration + COMMAND + ydb-services-yq-ut_integration +) +target_link_flags(ydb-services-yq-ut_integration + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(ydb-services-yq-ut_integration) |