| Index: pkg/compiler/tool/status_files/log_parser.dart
|
| diff --git a/pkg/compiler/tool/status_files/log_parser.dart b/pkg/compiler/tool/status_files/log_parser.dart
|
| index 9ab36d66691d06bdc37f4471187badebc3dddaf6..eefa94736b2f882910e7f125bfcb088e21961321 100644
|
| --- a/pkg/compiler/tool/status_files/log_parser.dart
|
| +++ b/pkg/compiler/tool/status_files/log_parser.dart
|
| @@ -7,6 +7,8 @@ library status_files.log_parser;
|
| import 'record.dart';
|
|
|
| final RegExp _stackRE = new RegExp('#[0-9]* ');
|
| +final RegExp _assertionFileRE = new RegExp(r"'file:[^']*/sdk/pkg/");
|
| +final String _assertionFileReplacement = r"'file:*/pkg/";
|
|
|
| /// Extracts test records from a test.py [log].
|
| List<Record> parse(String log) {
|
| @@ -44,6 +46,7 @@ List<Record> parse(String log) {
|
| }
|
| if (line.startsWith("The compiler crashed:")) {
|
| reason = line.substring("The compiler crashed:".length).trim();
|
| + reason = reason.replaceFirst(_assertionFileRE, _assertionFileReplacement);
|
| paragraph.clear();
|
| }
|
|
|
|
|