2018-10-24 11:24:11 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-20 17:30:26 -07: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 18:12:35 -04:00
|
|
|
diff --git a/build/toolchain/win/rc/rc.py b/build/toolchain/win/rc/rc.py
|
2025-04-03 19:02:49 -05:00
|
|
|
index ca98984ee20cf4f608182c5ee5926673b436b89c..fc8a2af013f45db6e4e30891270a5f071c783d65 100755
|
2019-10-28 18:12:35 -04:00
|
|
|
--- a/build/toolchain/win/rc/rc.py
|
|
|
|
+++ b/build/toolchain/win/rc/rc.py
|
2025-04-03 19:02:49 -05:00
|
|
|
@@ -251,7 +251,10 @@ def CompareToMsRcOutput(preprocessed_output, is_utf8, flags):
|
2019-10-28 18:12:35 -04: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-13 22:02:16 -07:00
|
|
|
|