[test] Suggest updating the expectation if ttx matches

https://github.com/harfbuzz/harfbuzz/issues/3089#issuecomment-892208892
This commit is contained in:
Khaled Hosny 2021-08-05 00:05:26 +02:00 committed by Behdad Esfahbod
parent 09c3b82f5e
commit 84946e4d2c
1 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,9 @@ def run_test (test, should_check_ots):
sys.stdout.flush ()
return fail_test (test, cli_args, 'ttx for expected and actual does not match.')
return 1
return fail_test (test, cli_args, 'hash for expected and actual does not match, '
'but the ttx matches. Expected file needs to be updated?')
def has_ots ():
if not ots_sanitize: