提交 a88504c6 编写于 作者: G Garret Rieger 提交者: Behdad Esfahbod

[subset] Fix checksum clearning in subset test diff. Add an updated expected...

[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
上级 537698b6
......@@ -77,8 +77,11 @@ def run_ttx(file):
return cmd(cli_args)
def strip_check_sum (ttx_string):
return re.sub ('checksumAdjustment value=["]0x(\d+)["]',
'checksumAdjustment value="0x00000000"',
# return re.sub ('checkSumAdjustment value=["]0x(\d+)["]',
# 'checkSumAdjustment value="0x00000000"',
# ttx_string, count=1)
return re.sub ('checkSumAdjustment value=["]0x([0-9a-fA-F])+["]',
'checkSumAdjustment value="0x00000000"',
ttx_string, count=1)
args = sys.argv[1:]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册