summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-16 19:50:16 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-16 19:50:16 (GMT)
commit9add940eb6a23b32da6a86b857d05fed900fea74 (patch)
tree949d99f8fdc69b3194a021739859de2ce3ae0764 /Source/cmCTest.cxx
parent56fe170043548e42728105ada644941fc3ae978b (diff)
downloadCMake-9add940eb6a23b32da6a86b857d05fed900fea74.zip
CMake-9add940eb6a23b32da6a86b857d05fed900fea74.tar.gz
CMake-9add940eb6a23b32da6a86b857d05fed900fea74.tar.bz2
Added an option to conditionally attach files to a test submission only if the test does not pass. Also some preliminary changes for test output compression.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 7e3a81b..25a80ff 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -221,6 +221,7 @@ cmCTest::cmCTest()
this->ShowOnly = false;
this->RunConfigurationScript = false;
this->UseHTTP10 = false;
+ this->CompressTestOutput = true;
this->TestModel = cmCTest::EXPERIMENTAL;
this->MaxTestNameWidth = 30;
this->InteractiveDebugMode = true;
@@ -1705,6 +1706,11 @@ void cmCTest::HandleCommandLineArguments(size_t &i,
this->SetParallelLevel(plevel);
}
+ if(this->CheckArgument(arg, "--no-compress-output"))
+ {
+ this->CompressTestOutput = false;
+ }
+
if(this->CheckArgument(arg, "--http1.0"))
{
this->UseHTTP10 = true;