summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-28 10:13:50 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-07 14:58:04 +0100
commitea2291d24d531a1ea221f1035636303ac0da787d (patch)
tree1f9d1d6f85328440afd360a2ab478d2887992c5e /test/buildtool/execution_engine/executor
parent5fa4f4f6843fefdc64918cdfb14bf2c287bd387c (diff)
downloadjustbuild-ea2291d24d531a1ea221f1035636303ac0da787d.tar.gz
Replace ContentBlobContainer<T> with std::unordered_set
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r--test/buildtool/execution_engine/executor/TARGETS1
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp4
2 files changed, 1 insertions, 4 deletions
diff --git a/test/buildtool/execution_engine/executor/TARGETS b/test/buildtool/execution_engine/executor/TARGETS
index 405080e8..9ec78972 100644
--- a/test/buildtool/execution_engine/executor/TARGETS
+++ b/test/buildtool/execution_engine/executor/TARGETS
@@ -67,7 +67,6 @@
, ["@", "src", "src/buildtool/logging", "logging"]
, ["@", "src", "src/buildtool/progress_reporting", "progress"]
, ["@", "src", "src/utils/cpp", "expected"]
- , ["@", "src", "src/utils/cpp", "transformed_range"]
, ["", "catch-main"]
, ["utils", "test_api_bundle"]
, ["utils", "test_hash_function_type"]
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 2db9306b..834a63ca 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -58,7 +58,6 @@
#include "src/buildtool/logging/logger.hpp"
#include "src/buildtool/progress_reporting/progress.hpp"
#include "src/utils/cpp/expected.hpp"
-#include "src/utils/cpp/transformed_range.hpp"
#include "test/utils/executor/test_api_bundle.hpp"
#include "test/utils/hermeticity/test_hash_function_type.hpp"
@@ -223,9 +222,8 @@ class TestApi : public IExecutionApi {
}
[[nodiscard]] auto Upload(ArtifactBlobContainer&& blobs,
bool /*unused*/) const noexcept -> bool final {
- auto blob_range = blobs.Blobs();
return std::all_of(
- blob_range.begin(), blob_range.end(), [this](auto const& blob) {
+ blobs.begin(), blobs.end(), [this](auto const& blob) {
// for local artifacts
auto it1 = config_.artifacts.find(*blob.data);
if (it1 != config_.artifacts.end() and it1->second.uploads) {