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

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

Issue 9368008: Additional flakiness reducing changes. Also rerun DRT on false positive tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 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 | « no previous file | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 8
9 List<String> defaultTestSelectors = 9 List<String> defaultTestSelectors =
10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } 419 }
420 420
421 // Adjust default timeout based on mode and component. 421 // Adjust default timeout based on mode and component.
422 if (configuration['timeout'] == -1) { 422 if (configuration['timeout'] == -1) {
423 var timeout = 60; 423 var timeout = 60;
424 switch (configuration['component']) { 424 switch (configuration['component']) {
425 case 'dartc': 425 case 'dartc':
426 case 'chromium': 426 case 'chromium':
427 case 'dartium': 427 case 'dartium':
428 case 'frogium': 428 case 'frogium':
429 case 'webdriver':
Jennifer Messerly 2012/02/10 00:19:06 nice :)
429 timeout *= 4; 430 timeout *= 4;
430 break; 431 break;
431 case 'leg': 432 case 'leg':
432 case 'frog': 433 case 'frog':
433 if (configuration['mode'] == 'debug') { 434 if (configuration['mode'] == 'debug') {
434 timeout *= 4; 435 timeout *= 4;
435 } 436 }
436 break; 437 break;
437 default: 438 default:
438 if (configuration['mode'] == 'debug') { 439 if (configuration['mode'] == 'debug') {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 return option; 495 return option;
495 } 496 }
496 } 497 }
497 print('Unknown test option $name'); 498 print('Unknown test option $name');
498 exit(1); 499 exit(1);
499 } 500 }
500 501
501 502
502 List<_TestOptionSpecification> _options; 503 List<_TestOptionSpecification> _options;
503 } 504 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698