| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_options_parser"); | 5 #library("test_options_parser"); |
| 6 | 6 |
| 7 #import("dart:io"); | 7 #import("dart:io"); |
| 8 #import("dart:math"); | 8 #import("dart:math"); |
| 9 #import("drt_updater.dart"); | 9 #import("drt_updater.dart"); |
| 10 #import("test_suite.dart"); | 10 #import("test_suite.dart"); |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 [], | 205 [], |
| 206 ''), | 206 ''), |
| 207 new _TestOptionSpecification( | 207 new _TestOptionSpecification( |
| 208 'time', | 208 'time', |
| 209 'Print timing information after running tests', | 209 'Print timing information after running tests', |
| 210 ['--time'], | 210 ['--time'], |
| 211 [], | 211 [], |
| 212 false, | 212 false, |
| 213 'bool'), | 213 'bool'), |
| 214 new _TestOptionSpecification( | 214 new _TestOptionSpecification( |
| 215 'additional-compiler-flags', |
| 216 'Additional flags to control test compilation', |
| 217 ['--additional-compiler-flags'], |
| 218 [], |
| 219 ''), |
| 220 new _TestOptionSpecification( |
| 215 'dart', | 221 'dart', |
| 216 'Path to dart executable', | 222 'Path to dart executable', |
| 217 ['--dart'], | 223 ['--dart'], |
| 218 [], | 224 [], |
| 219 ''), | 225 ''), |
| 220 new _TestOptionSpecification( | 226 new _TestOptionSpecification( |
| 221 'drt', | 227 'drt', |
| 222 'Path to DumpRenderTree executable', | 228 'Path to DumpRenderTree executable', |
| 223 ['--drt'], | 229 ['--drt'], |
| 224 [], | 230 [], |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 return option; | 633 return option; |
| 628 } | 634 } |
| 629 } | 635 } |
| 630 print('Unknown test option $name'); | 636 print('Unknown test option $name'); |
| 631 exit(1); | 637 exit(1); |
| 632 } | 638 } |
| 633 | 639 |
| 634 | 640 |
| 635 List<_TestOptionSpecification> _options; | 641 List<_TestOptionSpecification> _options; |
| 636 } | 642 } |
| OLD | NEW |