2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00:00
|
|
|
From: Zac Walker <zac.walker@microsoft.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:49:55 -0700
|
|
|
|
Subject: ignore_rc_check.patch
|
|
|
|
|
|
|
|
Dont compare RC.exe and RC.py output.
|
|
|
|
FIXME: It has to be reverted once the script is fixed.
|
|
|
|
|
2019-10-28 22:12:35 +00:00
|
|
|
diff --git a/build/toolchain/win/rc/rc.py b/build/toolchain/win/rc/rc.py
|
2021-03-04 17:27:05 +00:00
|
|
|
index 2ab41225fba8d22a974286835e4c454ef2e54f54..97a61e24e726144ff56d4a68dab5240555613d1a 100755
|
2019-10-28 22:12:35 +00:00
|
|
|
--- a/build/toolchain/win/rc/rc.py
|
|
|
|
+++ b/build/toolchain/win/rc/rc.py
|
2021-03-04 17:27:05 +00:00
|
|
|
@@ -245,7 +245,10 @@ def CompareToMsRcOutput(preprocessed_output, is_utf8, flags):
|
2019-10-28 22:12:35 +00:00
|
|
|
# Assert Microsoft rc.exe and rc.py produced identical .res files.
|
|
|
|
if rc_exe_exit_code == 0:
|
|
|
|
import filecmp
|
|
|
|
- assert filecmp.cmp(msrc_out, flags.output)
|
|
|
|
+ # Temporarily ignore compares
|
|
|
|
+ # Nightly builds use very large version numbers that fail this check
|
|
|
|
+ # FIXME(zacwalk): Enable the assert.
|
|
|
|
+ # assert filecmp.cmp(msrc_out, flags.output)
|
|
|
|
return rc_exe_exit_code
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
|