diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 14:58:55 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-22 17:02:34 +0200 |
commit | ed8e56fa64bec6cb055b3d69022690a8a13d92ff (patch) | |
tree | c86132072b5bfc14df1ea3b70a5a2432b9579e4a /test/utils/remote_execution/main-remote-execution.cpp | |
parent | 8f3a09e42d25f533e9d9a007125a7661cef3b653 (diff) | |
download | justbuild-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.cpp | 6 |
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); |