summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 22:44:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 22:44:25 (GMT)
commit1cca4b3b24c414d135844432802262e9aa9a2f72 (patch)
treeba047bcf5e0ad0231a5bbb657f720ed028c73f2d
parentb9982e4b60408b3be2f05b7955a5b06393db04c6 (diff)
downloadCMake-1cca4b3b24c414d135844432802262e9aa9a2f72.zip
CMake-1cca4b3b24c414d135844432802262e9aa9a2f72.tar.gz
CMake-1cca4b3b24c414d135844432802262e9aa9a2f72.tar.bz2
ENH: Enable compression with DartConfiguration file
-rw-r--r--Modules/DartConfiguration.tcl.in1
-rw-r--r--Source/cmCTest.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in
index 1bcde61..08ab4dc 100644
--- a/Modules/DartConfiguration.tcl.in
+++ b/Modules/DartConfiguration.tcl.in
@@ -48,6 +48,7 @@ CoverageCommand: @COVERAGE_COMMAND@
GunzipCommand: @GUNZIPCOMMAND@
CompressionCommand: @COMPRESSIONCOMMAND@
CompressionType: @COMPRESSIONCOMMAND@
+CompressSubmission: @COMPRESS_SUBMISSION@
# Testing options
# TimeOut is the amount of time in seconds to wait for processes
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 7a62cfe..f3fbb41 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -413,6 +413,7 @@ void cmCTest::UpdateCTestConfiguration()
if ( m_DartMode )
{
m_TimeOut = atoi(m_DartConfiguration["TimeOut"].c_str());
+ m_CompressXMLFiles = cmSystemTools::IsOn(m_DartConfiguration["CompressSubmission"].c_str());
}
}