summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-02-09 18:22:32 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-02-09 18:22:32 (GMT)
commit667cf5b96368205544fb82ccce81358957987720 (patch)
tree13e3f2465a17bfb497a7692732297af809ab9105
parent7258b0674cf64292751dcd36d734688031fffa4c (diff)
downloadCMake-667cf5b96368205544fb82ccce81358957987720.zip
CMake-667cf5b96368205544fb82ccce81358957987720.tar.gz
CMake-667cf5b96368205544fb82ccce81358957987720.tar.bz2
Make file DOWNLOAD less noisy (#11761)
Thanks to Daniel Nelson for the suggestion and the patch.
-rw-r--r--Source/cmFileCommand.cxx4
-rw-r--r--Tests/CMakeTests/FileDownloadTest.cmake.in2
2 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 8ebd41f..37fced2 100644
--- a/Source/cmFileCommand.cxx
+++ b/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;
diff --git a/Tests/CMakeTests/FileDownloadTest.cmake.in b/Tests/CMakeTests/FileDownloadTest.cmake.in
index 578f510..9dc2ebb 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}")