ENH: Change to the new directory

This commit is contained in:
Andy Cedilnik 2004-03-31 11:24:23 -05:00
parent d0cea4c7bb
commit d401fcfc2b
1 changed files with 1 additions and 1 deletions

View File

@ -2025,7 +2025,7 @@ void cmCTest::ProcessDirectory(cmCTest::tm_VectorOfStrings &passed,
<< it->m_Directory.c_str() << "\n";
}
last_directory = it->m_Directory;
cmSystemTools::ChangeDirectory(last_directory.c_str());
cmSystemTools::ChangeDirectory(it->m_Directory.c_str());
}
cres.m_Name = testname;
if ( m_ShowOnly )