summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/main-remote-execution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/remote_execution/main-remote-execution.cpp')
-rw-r--r--test/utils/remote_execution/main-remote-execution.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp
index a691860a..091a8038 100644
--- a/test/utils/remote_execution/main-remote-execution.cpp
+++ b/test/utils/remote_execution/main-remote-execution.cpp
@@ -27,7 +27,6 @@
#include "src/buildtool/file_system/git_context.hpp"
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/logger.hpp"
-#include "src/buildtool/storage/config.hpp"
#include "test/utils/logging/log_config.hpp"
#include "test/utils/remote_execution/test_auth_config.hpp"
#include "test/utils/test_env.hpp"
@@ -68,24 +67,11 @@ void wait_for_grpc_to_shutdown() {
return static_cast<bool>(RemoteExecutionConfig::RemoteAddress());
}
-[[nodiscard]] auto ConfigureBuildRoot() -> bool {
- auto cache_dir = FileSystemManager::GetCurrentDirectory() / "cache";
- if (not FileSystemManager::CreateDirectoryExclusive(cache_dir) or
- not StorageConfig::Instance().SetBuildRoot(cache_dir)) {
- return false;
- }
- return true;
-}
-
} // namespace
auto main(int argc, char* argv[]) -> int {
ConfigureLogging();
- if (not ConfigureBuildRoot()) {
- return EXIT_FAILURE;
- }
-
if (not ConfigureRemoteExecution()) {
return EXIT_FAILURE;
}