cmake: remove -E compare_files error message if files differ

It is not an error for the files to be different.

Fixes: #20803
This commit is contained in:
Asit Dhal
2020-06-09 07:28:58 +02:00
committed by Brad King
parent c08ee5e74e
commit a7d44d55ae
3 changed files with 0 additions and 4 deletions

View File

@@ -586,8 +586,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
} }
if (filesDiffer) { if (filesDiffer) {
std::cerr << "Files \"" << args[args.size() - 2] << "\" to \""
<< args[args.size() - 1] << "\" are different.\n";
return 1; return 1;
} }
return 0; return 0;

View File

@@ -1 +0,0 @@
^Files ".*/compare_files/lf" to ".*/compare_files/crlf" are different.$

View File

@@ -1 +0,0 @@
^Files "nonexistent_a" to "nonexistent_b" are different.$