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

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

Issue 1085803002: Add a --cps-ir flag to the testing script to allow us to run with the new cps based backend in dart… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more foobar Created 5 years, 8 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 | Annotate | Revision Log
« 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 false, 140 false,
141 type: 'bool'), 141 type: 'bool'),
142 new _TestOptionSpecification( 142 new _TestOptionSpecification(
143 'csp', 143 'csp',
144 'Run tests under Content Security Policy restrictions', 144 'Run tests under Content Security Policy restrictions',
145 ['--csp'], 145 ['--csp'],
146 [], 146 [],
147 false, 147 false,
148 type: 'bool'), 148 type: 'bool'),
149 new _TestOptionSpecification( 149 new _TestOptionSpecification(
150 'cps_ir',
151 'Run the compiler with the cps based backend',
152 ['--cps-ir'],
153 [],
154 false,
155 type: 'bool'),
156 new _TestOptionSpecification(
150 'timeout', 157 'timeout',
151 'Timeout in seconds', 158 'Timeout in seconds',
152 ['-t', '--timeout'], 159 ['-t', '--timeout'],
153 [], 160 [],
154 -1, 161 -1,
155 type: 'int'), 162 type: 'int'),
156 new _TestOptionSpecification( 163 new _TestOptionSpecification(
157 'progress', 164 'progress',
158 'Progress indication mode', 165 'Progress indication mode',
159 ['-p', '--progress'], 166 ['-p', '--progress'],
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 return option; 897 return option;
891 } 898 }
892 } 899 }
893 print('Unknown test option $name'); 900 print('Unknown test option $name');
894 exit(1); 901 exit(1);
895 } 902 }
896 903
897 904
898 List<_TestOptionSpecification> _options; 905 List<_TestOptionSpecification> _options;
899 } 906 }
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