Unverified Commit 558c753f authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Fix test failure by silencing analyzer preamble and congrats (#14745)

parent 52abda66
......@@ -15,7 +15,7 @@ Future<Null> main() async {
final Stopwatch clock = new Stopwatch()..start();
final Process analysis = await startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'),
<String>['analyze', '--flutter-repo', '--dartdocs'],
<String>['analyze', '--no-preamble', '--no-congratulate', '--flutter-repo', '--dartdocs'],
workingDirectory: flutterDirectory.path,
);
int publicMembers = 0;
......@@ -37,10 +37,6 @@ Future<Null> main() async {
print('analyzer stdout: $entry');
if (entry == 'Building flutter tool...') {
// ignore this line
} else if (entry.startsWith('Analyzing ')) {
// ignore this line
} else if (entry.startsWith('No analyzer warnings!')) {
// ignore this line
} else {
otherLines += 1;
}
......
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