diff options
Diffstat (limited to 'test/buildtool/execution_engine')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 27 | ||||
-rw-r--r-- | test/buildtool/execution_engine/executor/executor_api.test.hpp | 24 |
2 files changed, 34 insertions, 17 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))); diff --git a/test/buildtool/execution_engine/executor/executor_api.test.hpp b/test/buildtool/execution_engine/executor/executor_api.test.hpp index 6a8f409e..8ec43fb0 100644 --- a/test/buildtool/execution_engine/executor/executor_api.test.hpp +++ b/test/buildtool/execution_engine/executor/executor_api.test.hpp @@ -159,7 +159,8 @@ static inline void RunHelloWorldCompilation( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; // upload local artifacts @@ -290,7 +291,8 @@ static inline void RunGreeterCompilation( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; // upload local artifacts @@ -457,7 +459,8 @@ static inline void TestUploadAndDownloadTrees( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; REQUIRE(runner.Process(g.ArtifactNodeWithId(foo_id))); @@ -629,7 +632,8 @@ static inline void TestRetrieveOutputDirectories( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; REQUIRE(runner.Process(action)); @@ -683,7 +687,8 @@ static inline void TestRetrieveOutputDirectories( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; REQUIRE(runner.Process(action)); @@ -754,7 +759,8 @@ static inline void TestRetrieveOutputDirectories( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; REQUIRE(runner.Process(action)); @@ -828,7 +834,8 @@ static inline void TestRetrieveOutputDirectories( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK_FALSE(runner.Process(action)); } @@ -855,7 +862,8 @@ static inline void TestRetrieveOutputDirectories( .apis = &apis, .remote_context = &remote_context, .statistics = stats, - .progress = progress}; + .progress = progress, + .profile = std::nullopt}; Executor runner{&exec_context}; CHECK_FALSE(runner.Process(action)); } |