From eccc7d7b33d17bc464ef47007a621888ce44c9b7 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 22 Mar 2022 16:03:20 -0700 Subject: [PATCH] [macOS] Ignore stderr contents in launch test In the run_release_test_macos integration test that verifies that a release build of an app can be launched (and quit), xcodebuild from the Xcode install on the macOS bots emits a few info messages about Simulator SDK versions that are irrelevant to the functioning of this test. Ignore these instead of failing the test if they occur. Related: https://github.com/flutter/flutter/pull/100526 Issue: https://github.com/flutter/flutter/issues/100348 (fix) Issue: https://github.com/flutter/flutter/issues/97978 (partial fix) Issue: https://github.com/flutter/flutter/issues/97977 (partial fix) Umbrella issue: https://github.com/flutter/flutter/issues/60113 --- dev/devicelab/bin/tasks/run_release_test_macos.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dev/devicelab/bin/tasks/run_release_test_macos.dart b/dev/devicelab/bin/tasks/run_release_test_macos.dart index b8bb02e902c7..1d832dca383a 100644 --- a/dev/devicelab/bin/tasks/run_release_test_macos.dart +++ b/dev/devicelab/bin/tasks/run_release_test_macos.dart @@ -74,10 +74,6 @@ void main() { await run.exitCode; - if (stderr.isNotEmpty) { - throw 'flutter run --release had output on standard error.'; - } - _findNextMatcherInList( stdout, (String line) => line.startsWith('Launching lib/main.dart on ') && line.endsWith(' in release mode...'),