Unverified Commit 7336312b authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Do not filter the stderr output of "flutter run" in the devicelab run tests (#117188)

parent c7cb5f3f
......@@ -244,14 +244,14 @@ abstract class RunOutputTask {
ready.complete();
}
});
run.stderr
final Stream<String> runStderr = run.stderr
.transform<String>(utf8.decoder)
.transform<String>(const LineSplitter())
.asBroadcastStream();
runStderr.listen((String line) => print('run:stderr: $line'));
runStderr
.skipWhile(isExpectedStderr)
.listen((String line) {
print('run:stderr: $line');
stderr.add(line);
});
.listen((String line) => stderr.add(line));
unawaited(run.exitCode.then<void>((int exitCode) { runExitCode = exitCode; }));
await Future.any<dynamic>(<Future<dynamic>>[ ready.future, run.exitCode ]);
if (runExitCode != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment