Commit e4c0b5c6 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix Tester update for Windows.

parent e8fdf487
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment