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

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

Issue 2881833003: Reuse -cdartk for vm testing with Dart Frontend parser. (Closed)
Patch Set: Created 3 years, 7 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 [], 217 [],
218 false, 218 false,
219 type: 'bool'), 219 type: 'bool'),
220 new _TestOptionSpecification( 220 new _TestOptionSpecification(
221 'dart2js_with_kernel', 221 'dart2js_with_kernel',
222 'Enable the internal pipeline in dart2js to use kernel', 222 'Enable the internal pipeline in dart2js to use kernel',
223 ['--dart2js-with-kernel'], 223 ['--dart2js-with-kernel'],
224 [], 224 [],
225 false, 225 false,
226 type: 'bool'), 226 type: 'bool'),
227 new _TestOptionSpecification(
228 'kernel_snapshot_to_use_in_vm',
229 'Enable the internal pipeline in vm to use given kernel snapshot',
230 ['--kernel-snapshot-to-use-in-vm'],
231 [],
232 ''),
227 new _TestOptionSpecification('hot_reload', 'Run hot reload stress tests', 233 new _TestOptionSpecification('hot_reload', 'Run hot reload stress tests',
228 ['--hot-reload'], [], false, 234 ['--hot-reload'], [], false,
229 type: 'bool'), 235 type: 'bool'),
230 new _TestOptionSpecification( 236 new _TestOptionSpecification(
231 'hot_reload_rollback', 237 'hot_reload_rollback',
232 'Run hot reload rollback stress tests', 238 'Run hot reload rollback stress tests',
233 ['--hot-reload-rollback'], 239 ['--hot-reload-rollback'],
234 [], 240 [],
235 false, 241 false,
236 type: 'bool'), 242 type: 'bool'),
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 return option; 1010 return option;
1005 } 1011 }
1006 } 1012 }
1007 print('Unknown test option $name'); 1013 print('Unknown test option $name');
1008 exit(1); 1014 exit(1);
1009 return null; // Unreachable. 1015 return null; // Unreachable.
1010 } 1016 }
1011 1017
1012 List<_TestOptionSpecification> _options; 1018 List<_TestOptionSpecification> _options;
1013 } 1019 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698