From 940f49d1c33a9affdd73071b1ed6e263ff33b2a1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 14 Feb 2026 12:29:26 +0000 Subject: Ensure ANALYSIS_DIRECTORY root folder is created up front --- test/testHelpers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/testHelpers.cpp b/test/testHelpers.cpp index 7d78cd2..c769d32 100644 --- a/test/testHelpers.cpp +++ b/test/testHelpers.cpp @@ -2,5 +2,7 @@ const std::filesystem::path ANALYSIS_DIRECTORY = []() { auto xdgRuntimeDir = getenv("XDG_RUNTIME_DIR"); - return std::filesystem::path {xdgRuntimeDir ? xdgRuntimeDir : "/tmp"} / "ilt-output"; + auto out = std::filesystem::path {xdgRuntimeDir ? xdgRuntimeDir : "/tmp"} / "ilt-output"; + std::filesystem::create_directories(out); + return out; }(); -- cgit v1.3