From 917193d6a8b713b22dec08c018cca14e6ed1543f Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 9 Jul 2024 15:53:52 +0200 Subject: StorageConfig: Store also the execution backend description id ...such that it will be available to the TargetCache for sharing. Also, GC does not require remote execution information, so the logic for this subcommand is moved earlier in main. --- test/buildtool/graph_traverser/graph_traverser_remote.test.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/buildtool/graph_traverser/graph_traverser_remote.test.cpp') diff --git a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp index 27e933de..5fa3bc95 100644 --- a/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp +++ b/test/buildtool/graph_traverser/graph_traverser_remote.test.cpp @@ -13,6 +13,7 @@ // limitations under the License. #include "catch2/catch_test_macros.hpp" +#include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/storage/config.hpp" #include "src/buildtool/storage/storage.hpp" #include "test/buildtool/graph_traverser/graph_traverser.test.hpp" @@ -29,7 +30,12 @@ } StorageConfig::Builder builder; - auto config = builder.SetBuildRoot(cache_dir).Build(); + auto config = + builder.SetBuildRoot(cache_dir) + .SetRemoteExecutionArgs(RemoteExecutionConfig::RemoteAddress(), + RemoteExecutionConfig::PlatformProperties(), + RemoteExecutionConfig::DispatchList()) + .Build(); if (not config) { Logger::Log(LogLevel::Error, config.error()); std::exit(EXIT_FAILURE); -- cgit v1.2.3