Skip to content
Snippets Groups Projects
Commit 445abf63 authored by Chris Cantwell's avatar Chris Cantwell Committed by Dave Moxey
Browse files

Fix Tester update for Windows.

(cherry picked from commit e4c0b5c6)
parent c06db6fc
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ namespace Nektar
{
tmp = testElement->FirstChildElement("executable");
ASSERTL0(tmp, "Cannot find 'executable' for test.");
m_executable = fs::current_path() / fs::path(tmp->GetText());
m_executable = fs::path(tmp->GetText());
#if defined(RELWITHDEBINFO)
m_executable += "-rg";
#elif !defined(NDEBUG)
......
......@@ -220,10 +220,10 @@ int main(int argc, char *argv[])
+ " ";
}
fs::path execPath = file.GetExecutable();
fs::path execPath = startDir / file.GetExecutable();
if (!fs::exists(execPath))
{
execPath = fs::path(file.GetExecutable());
execPath = file.GetExecutable();
}
command += PortablePath(execPath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment