From a3d2803ebd12dd2741a249536752418faf7b0ec5 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Mon, 28 Apr 2025 14:25:08 +0200 Subject: TreeOperationsUtils: add tree-overlay deduplication test This test ensures that the AsyncMap implementation of the tree-overlay computation works as expected and properly prevents duplicated work when it comes to the repeated computation of the same trees. --- .../execution_engine/tree_operations/TARGETS | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 test/buildtool/execution_engine/tree_operations/TARGETS (limited to 'test/buildtool/execution_engine/tree_operations/TARGETS') diff --git a/test/buildtool/execution_engine/tree_operations/TARGETS b/test/buildtool/execution_engine/tree_operations/TARGETS new file mode 100644 index 00000000..41648280 --- /dev/null +++ b/test/buildtool/execution_engine/tree_operations/TARGETS @@ -0,0 +1,32 @@ +{ "tree_operations_utils": + { "type": ["@", "rules", "CC/test", "test"] + , "name": ["tree_operations_utils"] + , "srcs": ["tree_operations_utils.test.cpp"] + , "private-deps": + [ ["@", "catch2", "", "catch2"] + , ["@", "gsl", "", "gsl"] + , ["@", "src", "src/buildtool/common", "common"] + , ["@", "src", "src/buildtool/crypto", "hash_function"] + , ["@", "src", "src/buildtool/execution_api/common", "common"] + , ["@", "src", "src/buildtool/execution_api/local", "context"] + , ["@", "src", "src/buildtool/execution_api/local", "local_api"] + , [ "@" + , "src" + , "src/buildtool/execution_engine/tree_operations" + , "tree_operations_utils" + ] + , ["@", "src", "src/buildtool/file_system", "object_type"] + , ["@", "src", "src/buildtool/storage", "storage"] + , ["@", "src", "src/utils/cpp", "expected"] + , ["", "catch-main"] + , ["buildtool/execution_api/common", "api_test"] + , ["utils", "test_storage_config"] + ] + , "stage": ["test", "buildtool", "execution_engine", "tree_operations"] + } +, "TESTS": + { "type": ["@", "rules", "test", "suite"] + , "stage": ["tree_operations"] + , "deps": ["tree_operations_utils"] + } +} -- cgit v1.2.3