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_options_parser; | 5 library test_options_parser; |
6 | 6 |
7 import "dart:io"; | 7 import "dart:io"; |
8 import "drt_updater.dart"; | 8 import "drt_updater.dart"; |
9 import "test_suite.dart"; | 9 import "test_suite.dart"; |
10 import "utils.dart"; | 10 import "utils.dart"; |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 [], | 494 [], |
495 1, | 495 1, |
496 type: 'int'), | 496 type: 'int'), |
497 new _TestOptionSpecification( | 497 new _TestOptionSpecification( |
498 'settings_file_name', | 498 'settings_file_name', |
499 'The dartino settings file to use for testing', | 499 'The dartino settings file to use for testing', |
500 ['--dartino-settings-file'], | 500 ['--dartino-settings-file'], |
501 [], | 501 [], |
502 '.dartino-settings'), | 502 '.dartino-settings'), |
503 new _TestOptionSpecification( | 503 new _TestOptionSpecification( |
504 'no_java', | |
505 "Don't require running java tests", | |
506 ['--no-java'], | |
507 [], | |
508 false, | |
509 type: 'bool'), | |
510 new _TestOptionSpecification( | |
511 'use_heap_blob', | 504 'use_heap_blob', |
512 'Run tests directly from programheap blobs instead of snapshots.', | 505 'Run tests directly from programheap blobs instead of snapshots.', |
513 ['--use-heap-blob'], | 506 ['--use-heap-blob'], |
514 [], | 507 [], |
515 false, | 508 false, |
516 type: 'bool'), | 509 type: 'bool'), |
517 ]; | 510 ]; |
518 } | 511 } |
519 | 512 |
520 | 513 |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 return option; | 952 return option; |
960 } | 953 } |
961 } | 954 } |
962 print('Unknown test option $name'); | 955 print('Unknown test option $name'); |
963 exit(1); | 956 exit(1); |
964 } | 957 } |
965 | 958 |
966 | 959 |
967 List<_TestOptionSpecification> _options; | 960 List<_TestOptionSpecification> _options; |
968 } | 961 } |
OLD | NEW |