Merge topic 'fix-11761-less-file-download-noise'
667cf5b
Make file DOWNLOAD less noisy (#11761)
This commit is contained in:
commit
f556773f01
|
@ -2658,10 +2658,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string>
|
||||||
|
|
||||||
if (expectedMD5sum == actualMD5sum)
|
if (expectedMD5sum == actualMD5sum)
|
||||||
{
|
{
|
||||||
this->Makefile->DisplayStatus(
|
|
||||||
"FILE(DOWNLOAD) returning early: file already exists with "
|
|
||||||
"expected MD5 sum", -1);
|
|
||||||
|
|
||||||
if(statusVar.size())
|
if(statusVar.size())
|
||||||
{
|
{
|
||||||
cmOStringStream result;
|
cmOStringStream result;
|
||||||
|
|
|
@ -37,5 +37,7 @@ file(DOWNLOAD
|
||||||
${url}
|
${url}
|
||||||
${dir}/file3.png
|
${dir}/file3.png
|
||||||
TIMEOUT 2
|
TIMEOUT 2
|
||||||
|
STATUS status
|
||||||
EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1
|
EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1
|
||||||
)
|
)
|
||||||
|
message(STATUS "${status}")
|
||||||
|
|
Loading…
Reference in New Issue