diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-28 12:11:32 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-03-10 16:28:59 +0100 |
commit | cc393dfca1bfd0fdc3fe032df5ea54e12f50cb9d (patch) | |
tree | d054d83cbddf11c59cfd8afd233ea006c5746d3e /test/buildtool/execution_engine/executor/executor.test.cpp | |
parent | e45883f88fe02906abaee763146aee770e62ef05 (diff) | |
download | justbuild-cc393dfca1bfd0fdc3fe032df5ea54e12f50cb9d.tar.gz |
Profiling: start collecting informations per actions
... so far, which actions where considered, and which of those
were cached.
Diffstat (limited to 'test/buildtool/execution_engine/executor/executor.test.cpp')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 9af21383..b929412f 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -353,7 +353,8 @@ TEST_CASE("Executor: Process artifact", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -371,7 +372,8 @@ TEST_CASE("Executor: Process artifact", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(not runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -389,7 +391,8 @@ TEST_CASE("Executor: Process artifact", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -436,7 +439,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -457,7 +461,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -478,7 +483,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -502,7 +508,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -523,7 +530,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); @@ -547,7 +555,8 @@ TEST_CASE("Executor: Process action", "[executor]") { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK(runner.Process(g.ArtifactNodeWithId(local_cpp_id))); |