| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 [], | 220 [], |
| 221 ''), | 221 ''), |
| 222 new _TestOptionSpecification( | 222 new _TestOptionSpecification( |
| 223 'time', | 223 'time', |
| 224 'Print timing information after running tests', | 224 'Print timing information after running tests', |
| 225 ['--time'], | 225 ['--time'], |
| 226 [], | 226 [], |
| 227 false, | 227 false, |
| 228 'bool'), | 228 'bool'), |
| 229 new _TestOptionSpecification( | 229 new _TestOptionSpecification( |
| 230 'additional-compiler-flags', | |
| 231 'Additional flags to control test compilation', | |
| 232 ['--additional-compiler-flags'], | |
| 233 [], | |
| 234 ''), | |
| 235 new _TestOptionSpecification( | |
| 236 'dart', | 230 'dart', |
| 237 'Path to dart executable', | 231 'Path to dart executable', |
| 238 ['--dart'], | 232 ['--dart'], |
| 239 [], | 233 [], |
| 240 ''), | 234 ''), |
| 241 new _TestOptionSpecification( | 235 new _TestOptionSpecification( |
| 242 'drt', | 236 'drt', |
| 243 'Path to DumpRenderTree executable', | 237 'Path to DumpRenderTree executable', |
| 244 ['--drt'], | 238 ['--drt'], |
| 245 [], | 239 [], |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 return option; | 663 return option; |
| 670 } | 664 } |
| 671 } | 665 } |
| 672 print('Unknown test option $name'); | 666 print('Unknown test option $name'); |
| 673 exit(1); | 667 exit(1); |
| 674 } | 668 } |
| 675 | 669 |
| 676 | 670 |
| 677 List<_TestOptionSpecification> _options; | 671 List<_TestOptionSpecification> _options; |
| 678 } | 672 } |
| OLD | NEW |