diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-03-12 17:08:50 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-04-15 17:36:56 +0200 |
commit | 2443cd6dd71f654b718e456104efab02f8c1a8e8 (patch) | |
tree | 3f6918779ffadf34406b191f74228f1be4075b29 /test/main.cpp | |
parent | 989cde7dc99e4ce789b1520cd622a8049d6b85f9 (diff) | |
download | justbuild-2443cd6dd71f654b718e456104efab02f8c1a8e8.tar.gz |
Initialize file chunker in catch-main
Diffstat (limited to 'test/main.cpp')
-rw-r--r-- | test/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/main.cpp b/test/main.cpp index 7b50aef6..34468666 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -19,6 +19,7 @@ #include "catch2/catch_session.hpp" #include "src/buildtool/file_system/git_context.hpp" #include "src/buildtool/storage/config.hpp" +#include "src/buildtool/storage/file_chunker.hpp" #include "test/utils/logging/log_config.hpp" auto main(int argc, char* argv[]) -> int { @@ -44,5 +45,8 @@ auto main(int argc, char* argv[]) -> int { return 1; } + // Initialize random content of the file chunker's map. + FileChunker::Initialize(); + return Catch::Session().run(argc, argv); } |