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

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

Issue 16415013: Increase timeout for simarm (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | 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 "dart:math"; 8 import "dart:math";
9 import "drt_updater.dart"; 9 import "drt_updater.dart";
10 import "test_suite.dart"; 10 import "test_suite.dart";
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 } 638 }
639 if (configuration['host_checked']) { 639 if (configuration['host_checked']) {
640 timeout *= 16; 640 timeout *= 16;
641 } 641 }
642 if (configuration['checked']) { 642 if (configuration['checked']) {
643 timeout *= 2; 643 timeout *= 2;
644 } 644 }
645 break; 645 break;
646 default: 646 default:
647 if (configuration['arch'] == 'simarm') { 647 if (configuration['arch'] == 'simarm') {
648 timeout *= 2; 648 timeout *= 4;
649 } else if (configuration['arch'] == 'arm') { 649 } else if (configuration['arch'] == 'arm') {
650 timeout *= 4; 650 timeout *= 4;
651 } 651 }
652 if (configuration['mode'] == 'debug') { 652 if (configuration['mode'] == 'debug') {
653 timeout *= 2; 653 timeout *= 2;
654 } 654 }
655 if (const ['drt', 'dartium'].contains(configuration['runtime'])) { 655 if (const ['drt', 'dartium'].contains(configuration['runtime'])) {
656 timeout *= 4; // Allow additional time for browser testing to run. 656 timeout *= 4; // Allow additional time for browser testing to run.
657 } 657 }
658 break; 658 break;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 return option; 731 return option;
732 } 732 }
733 } 733 }
734 print('Unknown test option $name'); 734 print('Unknown test option $name');
735 exit(1); 735 exit(1);
736 } 736 }
737 737
738 738
739 List<_TestOptionSpecification> _options; 739 List<_TestOptionSpecification> _options;
740 } 740 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698