Browse Source

Merge topic 'fix-11761-less-file-download-noise'

667cf5b Make file DOWNLOAD less noisy (#11761)
Brad King 14 years ago
parent
commit
f556773f01
2 changed files with 2 additions and 4 deletions
  1. 0 4
      Source/cmFileCommand.cxx
  2. 2 0
      Tests/CMakeTests/FileDownloadTest.cmake.in

+ 0 - 4
Source/cmFileCommand.cxx

@@ -2658,10 +2658,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
 
     if (expectedMD5sum == actualMD5sum)
       {
-      this->Makefile->DisplayStatus(
-        "FILE(DOWNLOAD) returning early: file already exists with "
-        "expected MD5 sum", -1);
-
       if(statusVar.size())
         {
         cmOStringStream result;

+ 2 - 0
Tests/CMakeTests/FileDownloadTest.cmake.in

@@ -37,5 +37,7 @@ file(DOWNLOAD
   ${url}
   ${dir}/file3.png
   TIMEOUT 2
+  STATUS status
   EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1
   )
+message(STATUS "${status}")