Skip to content

Commit

Permalink
[macOS] Ignore stderr contents in launch test
Browse files Browse the repository at this point in the history
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: flutter#100526

Issue: flutter#100348 (fix)
Issue: flutter#97978 (partial fix)
Issue: flutter#97977 (partial fix)
Umbrella issue: flutter#60113
  • Loading branch information
cbracken committed Mar 22, 2022
1 parent 16dda86 commit eccc7d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dev/devicelab/bin/tasks/run_release_test_macos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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...'),
Expand Down

0 comments on commit eccc7d7

Please sign in to comment.