From 2443cd6dd71f654b718e456104efab02f8c1a8e8 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 12 Mar 2024 17:08:50 +0100 Subject: Initialize file chunker in catch-main --- test/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/main.cpp') 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); } -- cgit v1.2.3