| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index b69f78a8d036c5d49f9e2dd8bf9e30dcf1415aee..c03151c4cea0f70160d83d665f27d22c4447dd1f 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -15,6 +15,7 @@
|
| #library("test_suite");
|
|
|
| #import("dart:io");
|
| +#import("dart:builtin");
|
| #import("dart:isolate");
|
| #import("status_file_parser.dart");
|
| #import("test_runner.dart");
|
| @@ -782,7 +783,7 @@ class StandardTestSuite implements TestSuite {
|
| // Read the entire file into a byte buffer and transform it to a
|
| // String. This will treat the file as ascii but the only parts
|
| // we are interested in will be ascii in any case.
|
| - RandomAccessFile file = new File(filename).openSync();
|
| + RandomAccessFile file = new File(filename).openSync(FileMode.READ);
|
| List chars = new List(file.lengthSync());
|
| var offset = 0;
|
| while (offset != chars.length) {
|
|
|