| 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 "path.dart"; | 10 import "path.dart"; | 
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 297       new _TestOptionSpecification( | 297       new _TestOptionSpecification( | 
| 298           'verify-ir', 'Verify kernel IR', ['--verify-ir'], [], false, | 298           'verify-ir', 'Verify kernel IR', ['--verify-ir'], [], false, | 
| 299           type: 'bool'), | 299           type: 'bool'), | 
| 300       new _TestOptionSpecification( | 300       new _TestOptionSpecification( | 
| 301           'no-tree-shake', 'Disable kernel IR tree shaking', ['--no-tree-shake']
      , [], false, | 301           'no-tree-shake', 'Disable kernel IR tree shaking', ['--no-tree-shake']
      , [], false, | 
| 302           type: 'bool'), | 302           type: 'bool'), | 
| 303       new _TestOptionSpecification( | 303       new _TestOptionSpecification( | 
| 304           'noDFE', 'Do not use Kernel Isolate', ['--no-dfe'], [], false, | 304           'noDFE', 'Do not use Kernel Isolate', ['--no-dfe'], [], false, | 
| 305           type: 'bool'), | 305           type: 'bool'), | 
| 306       new _TestOptionSpecification( | 306       new _TestOptionSpecification( | 
| 307           'useFasta', 'Use Fasta in Kernel Isolate', ['--use-fasta'], [], false, | 307           'noUseFasta', 'Use Fasta in Kernel Isolate', ['--no-use-fasta'], [], f
      alse, | 
| 308           type: 'bool'), | 308           type: 'bool'), | 
| 309       new _TestOptionSpecification( | 309       new _TestOptionSpecification( | 
| 310           'list', 'List tests only, do not run them', ['--list'], [], false, | 310           'list', 'List tests only, do not run them', ['--list'], [], false, | 
| 311           type: 'bool'), | 311           type: 'bool'), | 
| 312       new _TestOptionSpecification( | 312       new _TestOptionSpecification( | 
| 313           'report_in_json', | 313           'report_in_json', | 
| 314           'When doing list, output result summary in json only.', | 314           'When doing list, output result summary in json only.', | 
| 315           ['--report-in-json'], | 315           ['--report-in-json'], | 
| 316           [], | 316           [], | 
| 317           false, | 317           false, | 
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1006         return option; | 1006         return option; | 
| 1007       } | 1007       } | 
| 1008     } | 1008     } | 
| 1009     print('Unknown test option $name'); | 1009     print('Unknown test option $name'); | 
| 1010     exit(1); | 1010     exit(1); | 
| 1011     return null; // Unreachable. | 1011     return null; // Unreachable. | 
| 1012   } | 1012   } | 
| 1013 | 1013 | 
| 1014   List<_TestOptionSpecification> _options; | 1014   List<_TestOptionSpecification> _options; | 
| 1015 } | 1015 } | 
| OLD | NEW | 
|---|