summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-31 16:24:23 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-31 16:24:23 (GMT)
commitd401fcfc2b3e28e5d24c47fba6ea51419419066d (patch)
treecfb714c276489eb81fb32e211aa69a8b5dad509f
parentd0cea4c7bb19fecd5b0f7c7636d089a8ef28825b (diff)
downloadCMake-d401fcfc2b3e28e5d24c47fba6ea51419419066d.zip
CMake-d401fcfc2b3e28e5d24c47fba6ea51419419066d.tar.gz
CMake-d401fcfc2b3e28e5d24c47fba6ea51419419066d.tar.bz2
ENH: Change to the new directory
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index f96366d..43a1b75 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -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 )