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

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

Issue 305453003: Add dart2js batch mode support (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « no previous file | tools/testing/dart/test_runner.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 "compiler_configuration.dart" show CompilerConfiguration; 10 import "compiler_configuration.dart" show CompilerConfiguration;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 false, 293 false,
294 type: 'bool'), 294 type: 'bool'),
295 new _TestOptionSpecification( 295 new _TestOptionSpecification(
296 'build_directory', 296 'build_directory',
297 'The name of the build directory, where products are placed.', 297 'The name of the build directory, where products are placed.',
298 ['--build-directory'], 298 ['--build-directory'],
299 [], 299 [],
300 ''), 300 ''),
301 new _TestOptionSpecification( 301 new _TestOptionSpecification(
302 'noBatch', 302 'noBatch',
303 'Do not run browser tests in batch mode', 303 'Do not run tests in batch mode',
304 ['-n', '--nobatch'], 304 ['-n', '--nobatch'],
305 [], 305 [],
306 false, 306 false,
307 type: 'bool'), 307 type: 'bool'),
308 new _TestOptionSpecification( 308 new _TestOptionSpecification(
309 'dart2js_batch',
310 'Run dart2js tests in batch mode',
311 ['--dart2js-batch'],
312 [],
313 false,
314 type: 'bool'),
315 new _TestOptionSpecification(
309 'append_logs', 316 'append_logs',
310 'Do not delete old logs but rather append to them.', 317 'Do not delete old logs but rather append to them.',
311 ['--append_logs'], 318 ['--append_logs'],
312 [], 319 [],
313 false, 320 false,
314 type: 'bool'), 321 type: 'bool'),
315 new _TestOptionSpecification( 322 new _TestOptionSpecification(
316 'write_debug_log', 323 'write_debug_log',
317 'Don\'t write debug messages to stdout but rather to a logfile.', 324 'Don\'t write debug messages to stdout but rather to a logfile.',
318 ['--write-debug-log'], 325 ['--write-debug-log'],
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 return option; 847 return option;
841 } 848 }
842 } 849 }
843 print('Unknown test option $name'); 850 print('Unknown test option $name');
844 exit(1); 851 exit(1);
845 } 852 }
846 853
847 854
848 List<_TestOptionSpecification> _options; 855 List<_TestOptionSpecification> _options;
849 } 856 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698