mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-01 19:33:06 +03:00
The tools allow efficient and fast synchronization of large directory trees from a Windows workstation to a Linux target machine. cdc_rsync* support efficient copy of files by using content-defined chunking (CDC) to identify chunks within files that can be reused. asset_stream_manager + cdc_fuse_fs support efficient streaming of a local directory to a remote virtual file system based on FUSE. It also employs CDC to identify and reuse unchanged data chunks.
45 lines
1.5 KiB
Python
45 lines
1.5 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
# Using a cc_binary rule here to avoid that this test is included when running
|
|
# test from bazel directly. This target is just a convenience target for all the
|
|
# unit tests in the scope run from Visual Studio, thus running the following
|
|
# command would execute all tests twice:
|
|
#
|
|
# bazel test --build_tests_only //...
|
|
#
|
|
# To run this target with Bazel directly, just use "bazel run" instead of
|
|
# "bazel test".
|
|
cc_binary(
|
|
name = "tests_cdc_rsync",
|
|
testonly = True,
|
|
srcs = [
|
|
"//cdc_rsync:all_test_sources",
|
|
"//cdc_rsync/base:all_test_sources",
|
|
"//cdc_rsync_cli:all_test_sources",
|
|
"//cdc_rsync_server:all_test_sources",
|
|
],
|
|
data = [
|
|
"//cdc_rsync:all_test_data",
|
|
"//cdc_rsync/base:all_test_data",
|
|
"//cdc_rsync_cli:all_test_data",
|
|
"//cdc_rsync_server:all_test_data",
|
|
],
|
|
deps = [
|
|
"//cdc_rsync:file_finder_and_sender",
|
|
"//cdc_rsync:parallel_file_opener",
|
|
"//cdc_rsync:progress_tracker",
|
|
"//cdc_rsync:zstd_stream",
|
|
"//cdc_rsync/base:cdc_interface",
|
|
"//cdc_rsync/base:fake_socket",
|
|
"//cdc_rsync/base:message_pump",
|
|
"//cdc_rsync_cli:params",
|
|
"//cdc_rsync_server:file_deleter_and_sender",
|
|
"//cdc_rsync_server:file_diff_generator",
|
|
"//cdc_rsync_server:file_finder",
|
|
"//cdc_rsync_server:unzstd_stream",
|
|
"//common:path_filter",
|
|
"//common:test_main",
|
|
"//common:testing_clock",
|
|
],
|
|
)
|