diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-03-03 15:55:41 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-03-10 16:28:59 +0100 |
commit | 104720a10bdf154a633a7aa1b9a8b6dc9d4fddc9 (patch) | |
tree | 4ec695c12e47181d7c2f215548ff57f0f7616dd2 /test/buildtool/execution_engine/executor/executor.test.cpp | |
parent | a7613e80f20ff3cef7af347cbed127ad0bb3f86d (diff) | |
download | justbuild-104720a10bdf154a633a7aa1b9a8b6dc9d4fddc9.tar.gz |
execution response interface: include execution duration
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, 3 insertions, 0 deletions
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 {}; } |