From aa7e9de22cf5e25eb5353eb98500f69a3f76d141 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 1 May 2025 02:21:51 +0100 Subject: Fix all warnings in test/ --- test/testHelpers.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/testHelpers.cpp (limited to 'test/testHelpers.cpp') diff --git a/test/testHelpers.cpp b/test/testHelpers.cpp new file mode 100644 index 0000000..7d78cd2 --- /dev/null +++ b/test/testHelpers.cpp @@ -0,0 +1,6 @@ +#include "testHelpers.h" + +const std::filesystem::path ANALYSIS_DIRECTORY = []() { + auto xdgRuntimeDir = getenv("XDG_RUNTIME_DIR"); + return std::filesystem::path {xdgRuntimeDir ? xdgRuntimeDir : "/tmp"} / "ilt-output"; +}(); -- cgit v1.2.3