Fail engine post-submit on skia-gold comparions. (flutter/engine#50826)
Similar to the framework in https://github.com/flutter/flutter/pull/100576. Closes https://github.com/flutter/flutter/issues/143617.
This commit is contained in:
@@ -249,6 +249,8 @@ class SkiaGoldClient {
|
||||
'--work-dir', _tempPath,
|
||||
'--test-name', cleanTestName(testName),
|
||||
'--png-file', goldenFile.path,
|
||||
// Otherwise post submit will not fail.
|
||||
'--passfail',
|
||||
..._getMatchingArguments(testName, screenshotSize, pixelDeltaThreshold, maxDifferentPixelsRate),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user