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 | |
parent | 8f3a09e42d25f533e9d9a007125a7661cef3b653 (diff) | |
download | justbuild-ed8e56fa64bec6cb055b3d69022690a8a13d92ff.tar.gz |
Convert HashFunction to a regular class
Diffstat (limited to 'test')
-rw-r--r-- | test/utils/TARGETS | 2 | ||||
-rw-r--r-- | test/utils/remote_execution/main-remote-execution.cpp | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/test/utils/TARGETS b/test/utils/TARGETS index 58353130..dd16466a 100644 --- a/test/utils/TARGETS +++ b/test/utils/TARGETS @@ -78,8 +78,6 @@ , ["@", "src", "src/buildtool/logging", "logging"] , ["@", "src", "src/buildtool/file_system", "git_context"] , ["@", "src", "src/buildtool/file_system", "file_system_manager"] - , ["@", "src", "src/buildtool/compatibility", "compatibility"] - , ["@", "src", "src/buildtool/crypto", "hash_function"] , "log_config" , "test_env" , "test_auth_config" 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); |