Commit bd4c5cf3 authored by Ken Martin's avatar Ken Martin
Browse files

also check path for test executables

parent 32e789ef
......@@ -72,6 +72,16 @@ std::string ctest::FindExecutable(const char *exe)
return fullPath;
}
// if everything else failed, check the users path
if (dir != "")
{
std::string path = cmSystemTools::FindProgram(file.c_str());
if (path != "")
{
return path;
}
}
return fullPath;
}
......
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