From c9a7f056fd9a735811138d58faaaa165f6631123 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 12 Jul 2005 12:30:15 -0400 Subject: [PATCH] BUG: Make sure it always starts in the current directory when searching for tests --- Source/CTest/cmCTestTestHandler.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index adae1c484..33f03387c 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -80,6 +80,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector 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;