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

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

Issue 1915853004: Option to output precompiled instructions as a blob for use with mmap instead of assembly for use i… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « tools/testing/dart/runtime_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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 'cps_ir', 179 'cps_ir',
180 'Run the compiler with the cps based backend', 180 'Run the compiler with the cps based backend',
181 ['--cps-ir'], 181 ['--cps-ir'],
182 [], 182 [],
183 false, 183 false,
184 type: 'bool'), 184 type: 'bool'),
185 new _TestOptionSpecification( 185 new _TestOptionSpecification(
186 'noopt', 'Run an in-place precompilation', ['--noopt'], [], false, 186 'noopt', 'Run an in-place precompilation', ['--noopt'], [], false,
187 type: 'bool'), 187 type: 'bool'),
188 new _TestOptionSpecification( 188 new _TestOptionSpecification(
189 'use_blobs', 'Use mmap instead of shared libraries for precompilation' , ['--use-blobs'], [], false,
190 type: 'bool'),
191 new _TestOptionSpecification(
189 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1, 192 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1,
190 type: 'int'), 193 type: 'int'),
191 new _TestOptionSpecification( 194 new _TestOptionSpecification(
192 'progress', 195 'progress',
193 'Progress indication mode', 196 'Progress indication mode',
194 ['-p', '--progress'], 197 ['-p', '--progress'],
195 [ 198 [
196 'compact', 199 'compact',
197 'color', 200 'color',
198 'line', 201 'line',
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 if (option.keys.contains(name)) { 894 if (option.keys.contains(name)) {
892 return option; 895 return option;
893 } 896 }
894 } 897 }
895 print('Unknown test option $name'); 898 print('Unknown test option $name');
896 exit(1); 899 exit(1);
897 } 900 }
898 901
899 List<_TestOptionSpecification> _options; 902 List<_TestOptionSpecification> _options;
900 } 903 }
OLDNEW
« no previous file with comments | « tools/testing/dart/runtime_configuration.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698