From 2e98e3bd11b551fd7a8172e2023b4b7ceac6c455 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 19 May 2017 00:08:27 +0200 Subject: [PATCH] testutils: Fix finding testfiles dir in pwd --- tests/testutils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/testutils.cpp b/tests/testutils.cpp index dd1ff60..52c3a0c 100644 --- a/tests/testutils.cpp +++ b/tests/testutils.cpp @@ -157,9 +157,8 @@ string TestApplication::testFilePath(const string &name) const } // file still not found -> return default path - path = "./testfiles/" + name; file.clear(); - file.open(path = m_testFilesPathEnvValue + name, ios_base::in); + file.open(path = "./testfiles/" + name, ios_base::in); if (!file.good()) { cerr << "Warning: The testfile \"" << path << "\" can not be located." << endl; }