Commit c9a7f056 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Make sure it always starts in the current directory when searching for tests

parent 219bcf25
......@@ -80,6 +80,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
std::string cwd = cmSystemTools::GetCurrentWorkingDirectory();
for ( it = args.begin(); it != args.end(); ++ it )
{
cmSystemTools::ChangeDirectory(cwd.c_str());
std::string fname = cwd;
fname += "/";
fname += *it;
......
Supports Markdown
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