summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 16:31:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 16:31:42 (GMT)
commit0e76ab6eb69786eb51a882b9c930636a5c0c7704 (patch)
treec8701d468d5642631f20cd3c4fb8ab7c3ae27fc6 /Source/CTest
parentc9a7f056fd9a735811138d58faaaa165f6631123 (diff)
downloadCMake-0e76ab6eb69786eb51a882b9c930636a5c0c7704.zip
CMake-0e76ab6eb69786eb51a882b9c930636a5c0c7704.tar.gz
CMake-0e76ab6eb69786eb51a882b9c930636a5c0c7704.tar.bz2
BUG: Go back to the original directory after examining the current directory
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 33f0338..056cf95 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -105,6 +105,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
else
{
// No DartTestfile.txt? Who cares...
+ cmSystemTools::ChangeDirectory(cwd.c_str());
continue;
}
fname += "/";