From 104720a10bdf154a633a7aa1b9a8b6dc9d4fddc9 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 3 Mar 2025 15:55:41 +0100 Subject: execution response interface: include execution duration --- test/buildtool/execution_engine/executor/executor.test.cpp | 3 +++ 1 file changed, 3 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 b929412f..6f8bf6fd 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -104,6 +104,9 @@ class TestResponse : public IExecutionResponse { [[nodiscard]] auto IsCached() const noexcept -> bool final { return config_.response.cached; } + [[nodiscard]] auto ExecutionDuration() noexcept -> double final { + return 0; + } [[nodiscard]] auto HasStdErr() const noexcept -> bool final { return true; } [[nodiscard]] auto HasStdOut() const noexcept -> bool final { return true; } [[nodiscard]] auto StdErr() noexcept -> std::string final { return {}; } -- cgit v1.2.3