diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-05 12:22:22 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-05 15:15:46 +0100 |
commit | d40eb82b519fb17819c8e8f0827f7338bed02bf7 (patch) | |
tree | c042e5f83f30f592ef751176620eeb2c79ef04eb /test/buildtool/execution_engine/executor/executor.test.cpp | |
parent | 74096dce2ee85ea5df940155fc2717d249e14d80 (diff) | |
download | justbuild-d40eb82b519fb17819c8e8f0827f7338bed02bf7.tar.gz |
execution api: support retrieving from more than one API, also for fd
Extend the api to optionally accept a different API for preferred
fetching. This is already supported when fetching to a file path;
therefore, extend to keep the interface symmetric.
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 56c02be0..a20a377f 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -201,7 +201,8 @@ class TestApi : public IExecutionApi { [[nodiscard]] auto RetrieveToFds( std::vector<Artifact::ObjectInfo> const& /*unused*/, std::vector<int> const& /*unused*/, - bool /*unused*/) const noexcept -> bool final { + bool /*unused*/, + IExecutionApi const* /*unused*/) const noexcept -> bool final { return false; // not needed by Executor } [[nodiscard]] auto RetrieveToCas( |