diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-05 17:52:53 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-16 17:51:12 +0200 |
commit | 661d0bdb668c1cddf5d5da9e48ece0b44c4e3962 (patch) | |
tree | f40f4f8221e13f3d5783c60ef1837dfd64bb94a2 /test/buildtool/build_engine/target_map/target_map.test.cpp | |
parent | eb8d824360ce262502c5fc06072ebf07ea278bec (diff) | |
download | justbuild-661d0bdb668c1cddf5d5da9e48ece0b44c4e3962.tar.gz |
Pass LocalExecutionConfig to ApiBundle
Diffstat (limited to 'test/buildtool/build_engine/target_map/target_map.test.cpp')
-rw-r--r-- | test/buildtool/build_engine/target_map/target_map.test.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/buildtool/build_engine/target_map/target_map.test.cpp b/test/buildtool/build_engine/target_map/target_map.test.cpp index 0e4dbd37..c3a875a7 100644 --- a/test/buildtool/build_engine/target_map/target_map.test.cpp +++ b/test/buildtool/build_engine/target_map/target_map.test.cpp @@ -29,6 +29,7 @@ #include "src/buildtool/common/repository_config.hpp" #include "src/buildtool/common/statistics.hpp" #include "src/buildtool/execution_api/common/api_bundle.hpp" +#include "src/buildtool/execution_api/local/config.hpp" #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/file_system/file_root.hpp" #include "src/buildtool/main/analyse_context.hpp" @@ -108,6 +109,7 @@ TEST_CASE("simple targets", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -557,6 +559,7 @@ TEST_CASE("configuration deduplication", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -651,6 +654,7 @@ TEST_CASE("generator functions in string arguments", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -757,6 +761,7 @@ TEST_CASE("built-in rules", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -973,6 +978,7 @@ TEST_CASE("target reference", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -1122,6 +1128,7 @@ TEST_CASE("trees", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -1235,6 +1242,7 @@ TEST_CASE("RESULT error reporting", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; @@ -1407,6 +1415,7 @@ TEST_CASE("wrong arguments", "[target_map]") { Auth auth{}; ApiBundle const apis{&storage_config.Get(), &storage, + &LocalExecutionConfig::Instance(), /*repo_config=*/nullptr, &auth, RemoteExecutionConfig::RemoteAddress()}; |