When in verbose mode print test command

This commit is contained in:
Andy Cedilnik 2002-10-18 15:51:12 -04:00
parent 01bd3b7ab1
commit c1c74f925c
1 changed files with 4 additions and 0 deletions

View File

@ -876,6 +876,10 @@ void ctest::ProcessDirectory(std::vector<std::string> &passed,
double clock_start, clock_finish; double clock_start, clock_finish;
clock_start = floattime(); clock_start = floattime();
if ( m_Verbose )
{
std::cout << std::endl << "Test command: " << testCommand << std::endl;
}
bool res = cmSystemTools::RunCommand(testCommand.c_str(), output, bool res = cmSystemTools::RunCommand(testCommand.c_str(), output,
retVal, 0, false); retVal, 0, false);
clock_finish = floattime(); clock_finish = floattime();