summaryrefslogtreecommitdiff
path: root/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.cpp')
-rw-r--r--test/main.cpp4
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);
}