ignore_rc_check.patch 1000 B

123456789101112131415161718192021222324
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Zac Walker <[email protected]>
  3. Date: Thu, 20 Sep 2018 17:49:55 -0700
  4. Subject: ignore_rc_check.patch
  5. Dont compare RC.exe and RC.py output.
  6. FIXME: It has to be reverted once the script is fixed.
  7. diff --git a/build/toolchain/win/rc/rc.py b/build/toolchain/win/rc/rc.py
  8. index a650506a1e0a19566861b672cb800024965d7ff5..cde05b15eef3decdee0093ca8b84201008e4adb0 100755
  9. --- a/build/toolchain/win/rc/rc.py
  10. +++ b/build/toolchain/win/rc/rc.py
  11. @@ -244,7 +244,10 @@ def CompareToMsRcOutput(preprocessed_output, is_utf8, flags):
  12. # Assert Microsoft rc.exe and rc.py produced identical .res files.
  13. if rc_exe_exit_code == 0:
  14. import filecmp
  15. - assert filecmp.cmp(msrc_out, flags.output)
  16. + # Temporarily ignore compares
  17. + # Nightly builds use very large version numbers that fail this check
  18. + # FIXME(zacwalk): Enable the assert.
  19. + # assert filecmp.cmp(msrc_out, flags.output)
  20. return rc_exe_exit_code