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

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

Issue 2668503003: VM: [Kernel] Switch to DFE for testing -c dartk configuration. (Closed)
Patch Set: Address comments Created 3 years, 10 months 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/runtime_configuration.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 new _TestOptionSpecification( 284 new _TestOptionSpecification(
285 'help', 'Print list of options', ['-h', '--help'], [], false, 285 'help', 'Print list of options', ['-h', '--help'], [], false,
286 type: 'bool'), 286 type: 'bool'),
287 new _TestOptionSpecification( 287 new _TestOptionSpecification(
288 'verbose', 'Verbose output', ['-v', '--verbose'], [], false, 288 'verbose', 'Verbose output', ['-v', '--verbose'], [], false,
289 type: 'bool'), 289 type: 'bool'),
290 new _TestOptionSpecification( 290 new _TestOptionSpecification(
291 'verify-ir', 'Verify kernel IR', ['--verify-ir'], [], false, 291 'verify-ir', 'Verify kernel IR', ['--verify-ir'], [], false,
292 type: 'bool'), 292 type: 'bool'),
293 new _TestOptionSpecification( 293 new _TestOptionSpecification(
294 'use-standalone-dartk', 'Generate Kernel binaries with a standalone da rtk compiler', ['--use-standalone-dartk'], [], false,
295 type: 'bool'),
296 new _TestOptionSpecification(
294 'list', 'List tests only, do not run them', ['--list'], [], false, 297 'list', 'List tests only, do not run them', ['--list'], [], false,
295 type: 'bool'), 298 type: 'bool'),
296 new _TestOptionSpecification( 299 new _TestOptionSpecification(
297 'report_in_json', 300 'report_in_json',
298 'When doing list, output result summary in json only.', 301 'When doing list, output result summary in json only.',
299 ['--report-in-json'], 302 ['--report-in-json'],
300 [], 303 [],
301 false, 304 false,
302 type: 'bool'), 305 type: 'bool'),
303 new _TestOptionSpecification('time', 306 new _TestOptionSpecification('time',
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 return option; 1016 return option;
1014 } 1017 }
1015 } 1018 }
1016 print('Unknown test option $name'); 1019 print('Unknown test option $name');
1017 exit(1); 1020 exit(1);
1018 return null; // Unreachable. 1021 return null; // Unreachable.
1019 } 1022 }
1020 1023
1021 List<_TestOptionSpecification> _options; 1024 List<_TestOptionSpecification> _options;
1022 } 1025 }
OLDNEW
« no previous file with comments | « tools/testing/dart/runtime_configuration.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698