You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Never panic in finally { ... }, check output logs on success only. (flutter#51814)
Work towards flutter#145988.
Should be a NO-OP in behavior, but hopefully make some of the false negatives less confusing (i.e. getting "missing X outputted files when the test is about to fail anyway".
if (actualImpellerBackend != expectedImpellerBackend) {
401
+
panic(<String>[
402
+
'--enable-impeller was specified and expected to find "${expectedImpellerBackend.name}", which did not match "${actualImpellerBackend?.name ?? '<impeller disabled>'}".',
403
+
]);
404
+
}
405
+
});
406
+
}
407
+
408
+
awaitstep('Wait for pending Skia gold comparisons...', () async {
409
+
awaitFuture.wait(pendingComparisons);
410
+
});
411
+
412
+
finalbool allTestsRun = smokeTestFullPath ==null;
413
+
finalbool checkGoldens = contentsGolden !=null;
414
+
if (allTestsRun && checkGoldens) {
415
+
// Check the output here.
416
+
awaitstep('Check output files...', () async {
417
+
// TODO(matanlurey): Resolve this in a better way. On CI this file always exists.
if (actualImpellerBackend != expectedImpellerBackend) {
450
-
panic(<String>[
451
-
'--enable-impeller was specified and expected to find "${expectedImpellerBackend.name}", which did not match "${actualImpellerBackend?.name ?? '<impeller disabled>'}".',
0 commit comments