summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/main-remote-execution.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-07-16 14:58:55 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-22 17:02:34 +0200
commited8e56fa64bec6cb055b3d69022690a8a13d92ff (patch)
treec86132072b5bfc14df1ea3b70a5a2432b9579e4a /test/utils/remote_execution/main-remote-execution.cpp
parent8f3a09e42d25f533e9d9a007125a7661cef3b653 (diff)
downloadjustbuild-ed8e56fa64bec6cb055b3d69022690a8a13d92ff.tar.gz
Convert HashFunction to a regular class
Diffstat (limited to 'test/utils/remote_execution/main-remote-execution.cpp')
-rw-r--r--test/utils/remote_execution/main-remote-execution.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/utils/remote_execution/main-remote-execution.cpp b/test/utils/remote_execution/main-remote-execution.cpp
index 05aec296..45021c61 100644
--- a/test/utils/remote_execution/main-remote-execution.cpp
+++ b/test/utils/remote_execution/main-remote-execution.cpp
@@ -21,8 +21,6 @@
#include "catch2/catch_session.hpp"
#include "catch2/catch_test_macros.hpp"
-#include "src/buildtool/compatibility/compatibility.hpp"
-#include "src/buildtool/crypto/hash_function.hpp"
#include "src/buildtool/execution_api/remote/config.hpp"
#include "src/buildtool/file_system/file_system_manager.hpp"
#include "src/buildtool/file_system/git_context.hpp"
@@ -51,10 +49,6 @@ void ConfigureRemoteExecution() {
std::exit(EXIT_FAILURE);
}
- HashFunction::Instance().SetHashType(
- Compatibility::IsCompatible() ? HashFunction::JustHash::Compatible
- : HashFunction::JustHash::Native);
-
auto remote_config = TestRemoteConfig::ReadFromEnvironment();
if (not remote_config or remote_config->remote_address == std::nullopt) {
std::exit(EXIT_FAILURE);