summaryrefslogtreecommitdiff
path: root/test/buildtool/storage
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-05-28 11:24:46 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-05-28 16:19:19 +0200
commita8cbdab9f795999cf99458e63343e13322402739 (patch)
treeccf96478f88c285e0b327d748b5845f3340f057d /test/buildtool/storage
parent1b6d17b9dad596fea334f9b4b662e0708c495453 (diff)
downloadjustbuild-a8cbdab9f795999cf99458e63343e13322402739.tar.gz
Move CreateBlobFromPath since it is only used in tests.
Diffstat (limited to 'test/buildtool/storage')
-rw-r--r--test/buildtool/storage/TARGETS1
-rw-r--r--test/buildtool/storage/local_cas.test.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/buildtool/storage/TARGETS b/test/buildtool/storage/TARGETS
index eff66bc0..6dfb4edb 100644
--- a/test/buildtool/storage/TARGETS
+++ b/test/buildtool/storage/TARGETS
@@ -21,6 +21,7 @@
, ["@", "src", "src/buildtool/file_system", "file_system_manager"]
, ["@", "src", "src/buildtool/file_system", "object_type"]
, ["@", "src", "src/buildtool/execution_api/bazel_msg", "bazel_msg"]
+ , ["utils", "blob_creator"]
]
, "stage": ["test", "buildtool", "storage"]
}
diff --git a/test/buildtool/storage/local_cas.test.cpp b/test/buildtool/storage/local_cas.test.cpp
index e076058b..512e9a1b 100644
--- a/test/buildtool/storage/local_cas.test.cpp
+++ b/test/buildtool/storage/local_cas.test.cpp
@@ -20,6 +20,7 @@
#include "src/buildtool/execution_api/bazel_msg/bazel_blob.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"
#include "src/buildtool/file_system/object_type.hpp"
+#include "test/utils/blob_creator.hpp"
#include "test/utils/hermeticity/local.hpp"
TEST_CASE_METHOD(HermeticLocalTestFixture,