diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-02 22:10:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-02 22:10:25 (GMT) |
commit | d56bed98d7d8868a739dddb76bef357b152ad4d1 (patch) | |
tree | dd934ae2fa5b57b6b3cdbaa7e4c5768fa486bb56 | |
parent | 8f6c1d3baaef242ffc70ec01017059cc53aed39d (diff) | |
download | CMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.zip CMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.tar.gz CMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.tar.bz2 |
ENH: Add debug flag
-rw-r--r-- | Source/cmCTest.cxx | 4 | ||||
-rw-r--r-- | Source/ctest.cxx | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 942f770..99ed55c 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1047,6 +1047,10 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output) cmSystemTools::ReplaceString(this->m_ConfigType, ".\\", ""); } + if( arg.find("--debug",0) == 0 ) + { + this->m_Debug = true; + } if( arg.find("-Q",0) == 0 || arg.find("--quiet",0) == 0 ) { this->m_Quiet = true; diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 2a7f0ff..df5f4a3 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -59,6 +59,9 @@ static const cmDocumentationEntry cmDocumentationOptions[] = {"-V,--verbose", "Enable verbose output from tests.", "Test output is normally suppressed and only summary information is " "displayed. This option will show all test output."}, + {"--debug", "Displaying more verbose internals of CTest.", + "This feature will result in large number of output that is mostly useful " + "for debugging dashboard problems."}, {"-Q,--quiet", "Make ctest quiet.", "This option will suppress all the output. The output log file will still be " "generated if the --output-log is specified. Options such as --verbose, " |