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

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
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 'hot_reload', 'Run hot reload stress tests', ['--hot-reload'], [], fal se,
191 type: 'bool'),
192 new _TestOptionSpecification(
190 'use_blobs', 'Use mmap instead of shared libraries for precompilation' , ['--use-blobs'], [], false, 193 'use_blobs', 'Use mmap instead of shared libraries for precompilation' , ['--use-blobs'], [], false,
191 type: 'bool'), 194 type: 'bool'),
192 new _TestOptionSpecification( 195 new _TestOptionSpecification(
193 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1, 196 'timeout', 'Timeout in seconds', ['-t', '--timeout'], [], -1,
194 type: 'int'), 197 type: 'int'),
195 new _TestOptionSpecification( 198 new _TestOptionSpecification(
196 'progress', 199 'progress',
197 'Progress indication mode', 200 'Progress indication mode',
198 ['-p', '--progress'], 201 ['-p', '--progress'],
199 [ 202 [
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 if (option.keys.contains(name)) { 903 if (option.keys.contains(name)) {
901 return option; 904 return option;
902 } 905 }
903 } 906 }
904 print('Unknown test option $name'); 907 print('Unknown test option $name');
905 exit(1); 908 exit(1);
906 } 909 }
907 910
908 List<_TestOptionSpecification> _options; 911 List<_TestOptionSpecification> _options;
909 } 912 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698