summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor/executor.test.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-03-17 14:31:58 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-03-17 17:19:55 +0100
commitb1ccb71a4bdbacd44843abfa9497576016962ed8 (patch)
tree8067a825669baf7ca2dfd98f43da9d6c70c3e23f /test/buildtool/execution_engine/executor/executor.test.cpp
parentdd02daeb0ce20780ed96c4ab2738a7f2b8b986e5 (diff)
downloadjustbuild-b1ccb71a4bdbacd44843abfa9497576016962ed8.tar.gz
execution_api: support reading off stdout/stderr digests
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r--test/buildtool/execution_engine/executor/executor.test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 6f8bf6fd..a9f91ade 100644
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -111,6 +111,14 @@ class TestResponse : public IExecutionResponse {
[[nodiscard]] auto HasStdOut() const noexcept -> bool final { return true; }
[[nodiscard]] auto StdErr() noexcept -> std::string final { return {}; }
[[nodiscard]] auto StdOut() noexcept -> std::string final { return {}; }
+ [[nodiscard]] auto StdErrDigest() noexcept
+ -> std::optional<ArtifactDigest> final {
+ return std::nullopt;
+ }
+ [[nodiscard]] auto StdOutDigest() noexcept
+ -> std::optional<ArtifactDigest> final {
+ return std::nullopt;
+ }
[[nodiscard]] auto ActionDigest() const noexcept
-> std::string const& final {
static const std::string kEmptyHash;