This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: ignore comparison differences between res files (#657)
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/build/toolchain/win/tool_wrapper.py b/build/toolchain/win/tool_wrapper.py | ||
index a76e926a8681..c43839a01211 100644 | ||
--- a/build/toolchain/win/tool_wrapper.py | ||
+++ b/build/toolchain/win/tool_wrapper.py | ||
@@ -258,7 +258,11 @@ class WinTool(object): | ||
if rc_exe_exit_code == 0: | ||
import filecmp | ||
# Strip "/fo" prefix. | ||
- assert filecmp.cmp(rc_res_output[3:], rcpy_res_output[3:]) | ||
+ # ------ | ||
+ # Temporarily ignore compares | ||
+ # Nightly builds use very large version numbers that fail this check | ||
+ # FIXME(zacwalk): Enable the assert. | ||
+ # assert filecmp.cmp(rc_res_output[3:], rcpy_res_output[3:]) | ||
return rc_exe_exit_code | ||
|
||
def ExecActionWrapper(self, arch, rspfile, *dirname): |