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

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

Issue 148463007: Add builder_tag option to tools/test.dart (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 | « tools/bots/pub.py ('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 10
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 [], 377 [],
378 null), 378 null),
379 new _TestOptionSpecification( 379 new _TestOptionSpecification(
380 'replay_from_file', 380 'replay_from_file',
381 'Records all the commands that need to be executed and writes it ' 381 'Records all the commands that need to be executed and writes it '
382 'out to a file.', 382 'out to a file.',
383 ['--replay_from_file'], 383 ['--replay_from_file'],
384 [], 384 [],
385 null), 385 null),
386 new _TestOptionSpecification( 386 new _TestOptionSpecification(
387 'builder_tag',
388 'Machine specific options that is not captured by the regular '
389 'test options. Used to be able to make sane updates to the '
390 'status files.',
391 ['--builder-tag'],
392 [],
393 null),
394 new _TestOptionSpecification(
387 'vm_options', 395 'vm_options',
388 'Extra options to send to the vm when running', 396 'Extra options to send to the vm when running',
389 ['--vm-options'], 397 ['--vm-options'],
390 [], 398 [],
391 null),]; 399 null),];
392 } 400 }
393 401
394 402
395 /** 403 /**
396 * Parse a list of strings as test options. 404 * Parse a list of strings as test options.
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 return option; 829 return option;
822 } 830 }
823 } 831 }
824 print('Unknown test option $name'); 832 print('Unknown test option $name');
825 exit(1); 833 exit(1);
826 } 834 }
827 835
828 836
829 List<_TestOptionSpecification> _options; 837 List<_TestOptionSpecification> _options;
830 } 838 }
OLDNEW
« no previous file with comments | « tools/bots/pub.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698