From 667cf5b96368205544fb82ccce81358957987720 Mon Sep 17 00:00:00 2001 From: David Cole Date: Wed, 9 Feb 2011 13:22:32 -0500 Subject: [PATCH] Make file DOWNLOAD less noisy (#11761) Thanks to Daniel Nelson for the suggestion and the patch. --- Source/cmFileCommand.cxx | 4 ---- Tests/CMakeTests/FileDownloadTest.cmake.in | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 8ebd41f92..37fced2db 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -2658,10 +2658,6 @@ cmFileCommand::HandleDownloadCommand(std::vector if (expectedMD5sum == actualMD5sum) { - this->Makefile->DisplayStatus( - "FILE(DOWNLOAD) returning early: file already exists with " - "expected MD5 sum", -1); - if(statusVar.size()) { cmOStringStream result; diff --git a/Tests/CMakeTests/FileDownloadTest.cmake.in b/Tests/CMakeTests/FileDownloadTest.cmake.in index 578f51016..9dc2ebb27 100644 --- a/Tests/CMakeTests/FileDownloadTest.cmake.in +++ b/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}")