Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: tools/testing/dart/test_options.dart

Issue 2531873002: Add --verify-ir flag to dartk and test.py. (Closed)
Patch Set: Minor fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 [], 280 [],
281 1, 281 1,
282 type: 'int'), 282 type: 'int'),
283 new _TestOptionSpecification( 283 new _TestOptionSpecification(
284 'help', 'Print list of options', ['-h', '--help'], [], false, 284 'help', 'Print list of options', ['-h', '--help'], [], false,
285 type: 'bool'), 285 type: 'bool'),
286 new _TestOptionSpecification( 286 new _TestOptionSpecification(
287 'verbose', 'Verbose output', ['-v', '--verbose'], [], false, 287 'verbose', 'Verbose output', ['-v', '--verbose'], [], false,
288 type: 'bool'), 288 type: 'bool'),
289 new _TestOptionSpecification( 289 new _TestOptionSpecification(
290 'verify-ir', 'Verify kernel IR', ['--verify-ir'], [], false,
291 type: 'bool'),
292 new _TestOptionSpecification(
290 'list', 'List tests only, do not run them', ['--list'], [], false, 293 'list', 'List tests only, do not run them', ['--list'], [], false,
291 type: 'bool'), 294 type: 'bool'),
292 new _TestOptionSpecification( 295 new _TestOptionSpecification(
293 'report_in_json', 296 'report_in_json',
294 'When doing list, output result summary in json only.', 297 'When doing list, output result summary in json only.',
295 ['--report-in-json'], 298 ['--report-in-json'],
296 [], 299 [],
297 false, 300 false,
298 type: 'bool'), 301 type: 'bool'),
299 new _TestOptionSpecification('time', 302 new _TestOptionSpecification('time',
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 if (option.keys.contains(name)) { 989 if (option.keys.contains(name)) {
987 return option; 990 return option;
988 } 991 }
989 } 992 }
990 print('Unknown test option $name'); 993 print('Unknown test option $name');
991 exit(1); 994 exit(1);
992 } 995 }
993 996
994 List<_TestOptionSpecification> _options; 997 List<_TestOptionSpecification> _options;
995 } 998 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698