Skip to content

Commit

Permalink
[macOS] Ignore stderr contents in launch test (#100591)
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: #100526

Issue: #100348 (fix)
Issue: #97978 (partial fix)
Issue: #97977 (partial fix)
Umbrella issue: #60113
  • Loading branch information
cbracken committed Mar 23, 2022
1 parent dd5ed7c commit e827f0b
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 e827f0b

Please sign in to comment.