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

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

Issue 2114083002: Add --hot-reload to the test harness. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: . Created 4 years, 5 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') | 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 'cps_ir', 180 'cps_ir',
181 'Run the compiler with the cps based backend', 181 'Run the compiler with the cps based backend',
182 ['--cps-ir'], 182 ['--cps-ir'],
183 [], 183 [],
184 false, 184 false,
185 type: 'bool'), 185 type: 'bool'),
186 new _TestOptionSpecification( 186 new _TestOptionSpecification(
187 'noopt', 'Run an in-place precompilation', ['--noopt'], [], false, 187 'noopt', 'Run an in-place precompilation', ['--noopt'], [], false,
188 type: 'bool'), 188 type: 'bool'),
189 new _TestOptionSpecification( 189 new _TestOptionSpecification(
190 'use_blobs', 'Use mmap instead of shared libraries for precompilation' , ['--use-blobs'], [], false, 190 'hot_reload', 'Run hot reload stress tests', ['--hot-reload'], [],
191 type: 'bool'), 191 false, type: 'bool'),
192 new _TestOptionSpecification(
193 'use_blobs',
194 'Use mmap instead of shared libraries for precompilation',
195 ['--use-blobs'], [], false, type: 'bool'),
192 new _TestOptionSpecification( 196 new _TestOptionSpecification(
193 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1, 197 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1,
194 type: 'int'), 198 type: 'int'),
195 new _TestOptionSpecification( 199 new _TestOptionSpecification(
196 'progress', 200 'progress',
197 'Progress indication mode', 201 'Progress indication mode',
198 ['-p', '--progress'], 202 ['-p', '--progress'],
199 [ 203 [
200 'compact', 204 'compact',
201 'color', 205 'color',
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 if (option.keys.contains(name)) { 904 if (option.keys.contains(name)) {
901 return option; 905 return option;
902 } 906 }
903 } 907 }
904 print('Unknown test option $name'); 908 print('Unknown test option $name');
905 exit(1); 909 exit(1);
906 } 910 }
907 911
908 List<_TestOptionSpecification> _options; 912 List<_TestOptionSpecification> _options;
909 } 913 }
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