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

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

Issue 2200683002: Add --hot-reload-rollback test mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 'hot_reload', 'Run hot reload stress tests', ['--hot-reload'], [], 190 'hot_reload', 'Run hot reload stress tests', ['--hot-reload'], [],
191 false, type: 'bool'), 191 false, type: 'bool'),
192 new _TestOptionSpecification( 192 new _TestOptionSpecification(
193 'hot_reload_rollback',
194 'Run hot reload rollback stress tests', ['--hot-reload-rollback'],
195 [],
196 false, type: 'bool'),
197 new _TestOptionSpecification(
193 'use_blobs', 198 'use_blobs',
194 'Use mmap instead of shared libraries for precompilation', 199 'Use mmap instead of shared libraries for precompilation',
195 ['--use-blobs'], [], false, type: 'bool'), 200 ['--use-blobs'], [], false, type: 'bool'),
196 new _TestOptionSpecification( 201 new _TestOptionSpecification(
197 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1, 202 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1,
198 type: 'int'), 203 type: 'int'),
199 new _TestOptionSpecification( 204 new _TestOptionSpecification(
200 'progress', 205 'progress',
201 'Progress indication mode', 206 'Progress indication mode',
202 ['-p', '--progress'], 207 ['-p', '--progress'],
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 if (option.keys.contains(name)) { 909 if (option.keys.contains(name)) {
905 return option; 910 return option;
906 } 911 }
907 } 912 }
908 print('Unknown test option $name'); 913 print('Unknown test option $name');
909 exit(1); 914 exit(1);
910 } 915 }
911 916
912 List<_TestOptionSpecification> _options; 917 List<_TestOptionSpecification> _options;
913 } 918 }
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