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

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

Issue 16802005: Second round of status file updates for simarm/arm (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 | « tests/standalone/standalone.status ('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 "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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 timeout *= 8; 637 timeout *= 8;
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') {
648 timeout *= 2;
649 } else if (configuration['arch'] == 'arm') {
650 timeout *= 4;
651 }
647 if (configuration['mode'] == 'debug') { 652 if (configuration['mode'] == 'debug') {
648 timeout *= 2; 653 timeout *= 2;
649 } 654 }
650 if (const ['drt', 'dartium'].contains(configuration['runtime'])) { 655 if (const ['drt', 'dartium'].contains(configuration['runtime'])) {
651 timeout *= 4; // Allow additional time for browser testing to run. 656 timeout *= 4; // Allow additional time for browser testing to run.
652 } 657 }
653 break; 658 break;
654 } 659 }
655 configuration['timeout'] = timeout; 660 configuration['timeout'] = timeout;
656 } 661 }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 return option; 731 return option;
727 } 732 }
728 } 733 }
729 print('Unknown test option $name'); 734 print('Unknown test option $name');
730 exit(1); 735 exit(1);
731 } 736 }
732 737
733 738
734 List<_TestOptionSpecification> _options; 739 List<_TestOptionSpecification> _options;
735 } 740 }
OLDNEW
« no previous file with comments | « tests/standalone/standalone.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698