summaryrefslogtreecommitdiff
path: root/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.cpp')
-rw-r--r--test/main.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/main.cpp b/test/main.cpp
index c0caa056..e2758638 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -18,7 +18,6 @@
#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"
@@ -33,18 +32,6 @@ auto main(int argc, char* argv[]) -> int {
*/
GitContext::Create();
- /**
- * Test must not assume the existence of a home directory, nor write there.
- * Hence we set the storage root to a fixed location under TEST_TMPDIR which
- * is set by the test launcher.
- */
- auto setup_ok = StorageConfig::Instance().SetBuildRoot(
- std::filesystem::path{std::string{std::getenv("TEST_TMPDIR")}} /
- ".test_build_root");
- if (not setup_ok) {
- return 1;
- }
-
// Initialize random content of the file chunker's map.
FileChunker::Initialize();