STYLE: Remove debug
This commit is contained in:
parent
2e1882389b
commit
6bdff06594
@ -72,7 +72,6 @@ public:
|
|||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
|
bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
|
||||||
{
|
{
|
||||||
#undef cout
|
|
||||||
if(args.size() < 1 )
|
if(args.size() < 1 )
|
||||||
{
|
{
|
||||||
this->SetError("called with incorrect number of arguments");
|
this->SetError("called with incorrect number of arguments");
|
||||||
@ -80,11 +79,9 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
|
|||||||
}
|
}
|
||||||
std::vector<std::string>::const_iterator it;
|
std::vector<std::string>::const_iterator it;
|
||||||
std::string cwd = cmSystemTools::GetCurrentWorkingDirectory();
|
std::string cwd = cmSystemTools::GetCurrentWorkingDirectory();
|
||||||
std::cout << __LINE__ << " Current directory: " << cwd.c_str() << std::endl;
|
|
||||||
for ( it = args.begin(); it != args.end(); ++ it )
|
for ( it = args.begin(); it != args.end(); ++ it )
|
||||||
{
|
{
|
||||||
cmSystemTools::ChangeDirectory(cwd.c_str());
|
cmSystemTools::ChangeDirectory(cwd.c_str());
|
||||||
std::cout << __LINE__ << " Current directory: " << cwd.c_str() << std::endl;
|
|
||||||
std::string fname = cwd;
|
std::string fname = cwd;
|
||||||
fname += "/";
|
fname += "/";
|
||||||
fname += *it;
|
fname += *it;
|
||||||
@ -95,7 +92,6 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
cmSystemTools::ChangeDirectory(fname.c_str());
|
cmSystemTools::ChangeDirectory(fname.c_str());
|
||||||
std::cout << __LINE__ << " Current directory: " << fname.c_str() << std::endl;
|
|
||||||
const char* testFilename;
|
const char* testFilename;
|
||||||
if( cmSystemTools::FileExists("CTestTestfile.cmake") )
|
if( cmSystemTools::FileExists("CTestTestfile.cmake") )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user