summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 16:30:15 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 16:30:15 (GMT)
commitc9a7f056fd9a735811138d58faaaa165f6631123 (patch)
tree61c52dcc156b45122966fb180127f031667614d2 /Source/CTest/cmCTestTestHandler.cxx
parent219bcf25ba5d6dca20971373266c2d02e75b50e0 (diff)
downloadCMake-c9a7f056fd9a735811138d58faaaa165f6631123.zip
CMake-c9a7f056fd9a735811138d58faaaa165f6631123.tar.gz
CMake-c9a7f056fd9a735811138d58faaaa165f6631123.tar.bz2
BUG: Make sure it always starts in the current directory when searching for tests
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-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 adae1c4..33f0338 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -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;