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:
Matan Lurey
2024-02-21 10:34:04 -08:00
committed by GitHub
parent a64eabf997
commit 9a26927508

View File

@@ -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),
];