From 1cca4b3b24c414d135844432802262e9aa9a2f72 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 27 Jan 2005 17:44:25 -0500 Subject: [PATCH] ENH: Enable compression with DartConfiguration file --- Modules/DartConfiguration.tcl.in | 1 + Source/cmCTest.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in index 1bcde6154..08ab4dc8c 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 7a62cfea2..f3fbb4194 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()); } }