summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index b05091ddd..ffb183cd0 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -33,6 +33,8 @@
#include "gui/fonts/font.h"
+#include "utils/stringutils.h"
+
#include "render/graphics.h"
#include "render/vertexes/imagecollection.h"
@@ -65,7 +67,7 @@ TestLauncher::TestLauncher(std::string test) :
mTest(test),
file()
{
- file.open((settings.localDataDir + std::string("/test.log")).c_str(),
+ file.open(pathJoin(settings.localDataDir, "test.log").c_str(),
std::ios::out);
}