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

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

Issue 2688413004: Add mode to test.dart to run dart2js with kernel, and include initial set of (Closed)
Patch Set: Update status files 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/compiler_configuration.dart ('k') | tools/testing/dart/test_suite.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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 [], 206 [],
207 false, 207 false,
208 type: 'bool'), 208 type: 'bool'),
209 new _TestOptionSpecification( 209 new _TestOptionSpecification(
210 'fast_startup', 210 'fast_startup',
211 'Pass the --fast-startup flag to dart2js', 211 'Pass the --fast-startup flag to dart2js',
212 ['--fast-startup'], 212 ['--fast-startup'],
213 [], 213 [],
214 false, 214 false,
215 type: 'bool'), 215 type: 'bool'),
216 new _TestOptionSpecification(
217 'dart2js_with_kernel',
218 'Enable the internal pipeline in dart2js to use kernel',
219 ['--dart2js-with-kernel'],
220 [],
221 false,
222 type: 'bool'),
216 new _TestOptionSpecification('hot_reload', 'Run hot reload stress tests', 223 new _TestOptionSpecification('hot_reload', 'Run hot reload stress tests',
217 ['--hot-reload'], [], false, 224 ['--hot-reload'], [], false,
218 type: 'bool'), 225 type: 'bool'),
219 new _TestOptionSpecification( 226 new _TestOptionSpecification(
220 'hot_reload_rollback', 227 'hot_reload_rollback',
221 'Run hot reload rollback stress tests', 228 'Run hot reload rollback stress tests',
222 ['--hot-reload-rollback'], 229 ['--hot-reload-rollback'],
223 [], 230 [],
224 false, 231 false,
225 type: 'bool'), 232 type: 'bool'),
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 return option; 1006 return option;
1000 } 1007 }
1001 } 1008 }
1002 print('Unknown test option $name'); 1009 print('Unknown test option $name');
1003 exit(1); 1010 exit(1);
1004 return null; // Unreachable. 1011 return null; // Unreachable.
1005 } 1012 }
1006 1013
1007 List<_TestOptionSpecification> _options; 1014 List<_TestOptionSpecification> _options;
1008 } 1015 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698