From 0d65f1285899230497fa50efdaf4387092c08d61 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 16 Jul 2024 10:26:10 +0200 Subject: Set compatibility in tests --- test/TARGETS | 1 + test/main.cpp | 2 ++ 2 files changed, 3 insertions(+) (limited to 'test') diff --git a/test/TARGETS b/test/TARGETS index 5c529e4c..b96c461e 100644 --- a/test/TARGETS +++ b/test/TARGETS @@ -41,6 +41,7 @@ , ["@", "src", "src/buildtool/file_system", "git_context"] , ["@", "src", "src/buildtool/storage", "config"] , ["@", "src", "src/buildtool/storage", "file_chunker"] + , ["utils", "test_env"] ] , "stage": ["test"] } diff --git a/test/main.cpp b/test/main.cpp index e2758638..f73045dc 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -20,9 +20,11 @@ #include "src/buildtool/file_system/git_context.hpp" #include "src/buildtool/storage/file_chunker.hpp" #include "test/utils/logging/log_config.hpp" +#include "test/utils/test_env.hpp" auto main(int argc, char* argv[]) -> int { ConfigureLogging(); + ReadCompatibilityFromEnv(); /** * The current implementation of libgit2 uses pthread_key_t incorrectly -- cgit v1.2.3