Revert "[web] Remove the --passfail flag when calling goldctl in post-submit (#32071)" (flutter/engine#32087)

This commit is contained in:
Mouad Debbar
2022-03-18 09:43:12 -04:00
committed by GitHub
parent 8858c0d0be
commit d8673830fd

View File

@@ -137,6 +137,7 @@ class SkiaGoldClient {
'--commit', commitHash,
'--keys-file', keys.path,
'--failure-file', failures.path,
'--passfail',
];
if (imgtestInitCommand.contains(null)) {
@@ -227,9 +228,6 @@ class SkiaGoldClient {
'--commit', commitHash,
'--keys-file', keys.path,
'--failure-file', failures.path,
// This is running in pre-submit so it's okay for the `goldctl` commands
// to fail when the images don't match. But during post-submit
// (in `_imgtestInit`) we shouldn't let the command fail.
'--passfail',
'--crs', 'github',
'--patchset_id', commitHash,