From b1ccb71a4bdbacd44843abfa9497576016962ed8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 17 Mar 2025 14:31:58 +0100 Subject: execution_api: support reading off stdout/stderr digests --- test/buildtool/execution_engine/executor/executor.test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp') 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 final { + return std::nullopt; + } + [[nodiscard]] auto StdOutDigest() noexcept + -> std::optional final { + return std::nullopt; + } [[nodiscard]] auto ActionDigest() const noexcept -> std::string const& final { static const std::string kEmptyHash; -- cgit v1.2.3