Make sure test reporter prints out stderr, and disables Bigquery for non-contributors (#29073)

* print stderr to stderr, no bq if not contributor

* let test continue of bigquery fails
This commit is contained in:
Dan Field
2019-03-10 11:26:17 -07:00
committed by GitHub
parent 837b330fcd
commit b9f013c044
3 changed files with 26 additions and 11 deletions

View File

@@ -129,9 +129,16 @@ class FlutterCompactFormatter {
}
break;
case 'error':
final String error = decoded['error'];
final String stackTrace = decoded['stackTrace'];
if (originalResult != null) {
originalResult.errorMessage = decoded['error'];
originalResult.stackTrace = decoded['stackTrace'];
originalResult.errorMessage = error;
originalResult.stackTrace = stackTrace;
} else {
if (error != null)
stderr.writeln(error);
if (stackTrace != null)
stderr.writeln(stackTrace);
}
break;
case 'print':