diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 10:26:10 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-16 16:24:43 +0200 |
commit | 0d65f1285899230497fa50efdaf4387092c08d61 (patch) | |
tree | 234a6d8fe81cae61571a39b6000de4d37ea87b82 | |
parent | a3786528073b679285988e7ce7852509ba042dc4 (diff) | |
download | justbuild-0d65f1285899230497fa50efdaf4387092c08d61.tar.gz |
Set compatibility in tests
-rw-r--r-- | test/TARGETS | 1 | ||||
-rw-r--r-- | test/main.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
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 |