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

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

Issue 1871883002: Make Safari tests more robust. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments. Created 4 years, 7 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 type: 'bool'), 331 type: 'bool'),
332 new _TestOptionSpecification( 332 new _TestOptionSpecification(
333 'write_test_outcome_log', 333 'write_test_outcome_log',
334 'Write the outcome of all tests executed to a ' 334 'Write the outcome of all tests executed to a '
335 '"${TestUtils.flakyFileName()}" file.', 335 '"${TestUtils.flakyFileName()}" file.',
336 ['--write-test-outcome-log'], 336 ['--write-test-outcome-log'],
337 [], 337 [],
338 false, 338 false,
339 type: 'bool'), 339 type: 'bool'),
340 new _TestOptionSpecification( 340 new _TestOptionSpecification(
341 'clear_browser_cache', 341 'reset-browser-configuration',
Bill Hesse 2016/06/09 17:35:42 All the internal names of flags have (or should ha
ahe 2016/06/15 08:16:54 Done.
342 'Browser specific clearing of caches(i.e., delete it).', 342 'Browser specific reset of configuration. '
343 ['--clear_browser_cache'], 343 'WARNING: Using this option may remove your bookmarks and '
344 'other settings.',
345 ['--reset-browser-configuration'],
344 [], 346 [],
345 false, 347 false,
346 type: 'bool'), 348 type: 'bool'),
347 new _TestOptionSpecification( 349 new _TestOptionSpecification(
348 'copy_coredumps', 350 'copy_coredumps',
349 'If we see a crash that we did not expect, copy the core dumps. ' 351 'If we see a crash that we did not expect, copy the core dumps. '
350 'to /tmp', 352 'to /tmp',
351 ['--copy-coredumps'], 353 ['--copy-coredumps'],
352 [], 354 [],
353 false, 355 false,
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 if (option.keys.contains(name)) { 896 if (option.keys.contains(name)) {
895 return option; 897 return option;
896 } 898 }
897 } 899 }
898 print('Unknown test option $name'); 900 print('Unknown test option $name');
899 exit(1); 901 exit(1);
900 } 902 }
901 903
902 List<_TestOptionSpecification> _options; 904 List<_TestOptionSpecification> _options;
903 } 905 }
OLDNEW
« tools/testing/dart/browser_controller.dart ('K') | « tools/testing/dart/test_configurations.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698