Browse Source

ENH: Enable compression with DartConfiguration file

Andy Cedilnik 21 years ago
parent
commit
1cca4b3b24
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Modules/DartConfiguration.tcl.in
  2. 1 0
      Source/cmCTest.cxx

+ 1 - 0
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

+ 1 - 0
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());
     }
 }