| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test_helper; | 5 library test_helper; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:convert'; | 8 import 'dart:convert'; |
| 9 import 'dart:io'; | 9 import 'dart:io'; |
| 10 import 'package:observatory/service_io.dart'; | 10 import 'package:observatory/service_io.dart'; |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 new _ServiceTesterRunner().run( | 478 new _ServiceTesterRunner().run( |
| 479 mainArgs: mainArgs, | 479 mainArgs: mainArgs, |
| 480 extraArgs: extraArgs, | 480 extraArgs: extraArgs, |
| 481 vmTests: tests, | 481 vmTests: tests, |
| 482 pause_on_start: pause_on_start, | 482 pause_on_start: pause_on_start, |
| 483 pause_on_exit: pause_on_exit, | 483 pause_on_exit: pause_on_exit, |
| 484 verbose_vm: verbose_vm, | 484 verbose_vm: verbose_vm, |
| 485 pause_on_unhandled_exceptions: pause_on_unhandled_exceptions); | 485 pause_on_unhandled_exceptions: pause_on_unhandled_exceptions); |
| 486 } | 486 } |
| 487 } | 487 } |
| 488 |
| 489 /// Whether we're running from kernel. |
| 490 bool isKernel(Isolate isolate) { |
| 491 return isolate.name.contains(r".dill$"); |
| 492 } |
| OLD | NEW |