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

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

Issue 22828004: Bug fix and status file updates for MIPS HW. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 analysis tests).''', 93 analysis tests).''',
94 ['-r', '--runtime'], 94 ['-r', '--runtime'],
95 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', 95 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox',
96 'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid', 96 'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid',
97 'none'], 97 'none'],
98 'vm'), 98 'vm'),
99 new _TestOptionSpecification( 99 new _TestOptionSpecification(
100 'arch', 100 'arch',
101 'The architecture to run tests for', 101 'The architecture to run tests for',
102 ['-a', '--arch'], 102 ['-a', '--arch'],
103 ['all', 'ia32', 'x64', 'simarm', 'simmips', 'arm'], 103 ['all', 'ia32', 'x64', 'simarm', 'simmips', 'arm', 'mips'],
104 'ia32'), 104 'ia32'),
105 new _TestOptionSpecification( 105 new _TestOptionSpecification(
106 'system', 106 'system',
107 'The operating system to run tests on', 107 'The operating system to run tests on',
108 ['-s', '--system'], 108 ['-s', '--system'],
109 ['linux', 'macos', 'windows'], 109 ['linux', 'macos', 'windows'],
110 Platform.operatingSystem), 110 Platform.operatingSystem),
111 new _TestOptionSpecification( 111 new _TestOptionSpecification(
112 'checked', 112 'checked',
113 'Run tests in checked mode', 113 'Run tests in checked mode',
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 } 662 }
663 if (configuration['checked']) { 663 if (configuration['checked']) {
664 timeout *= 2; 664 timeout *= 2;
665 } 665 }
666 break; 666 break;
667 default: 667 default:
668 if (configuration['arch'] == 'simarm') { 668 if (configuration['arch'] == 'simarm') {
669 timeout *= 4; 669 timeout *= 4;
670 } else if (configuration['arch'] == 'arm') { 670 } else if (configuration['arch'] == 'arm') {
671 timeout *= 4; 671 timeout *= 4;
672 } else if (configuration['arch'] == 'simmips') {
673 timeout *= 4;
674 } else if (configuration['arch'] == 'mips') {
675 timeout *= 4;
672 } 676 }
673 if (configuration['mode'] == 'debug') { 677 if (configuration['mode'] == 'debug') {
674 timeout *= 2; 678 timeout *= 2;
675 } 679 }
676 if (const ['drt', 'dartium'].contains(configuration['runtime'])) { 680 if (const ['drt', 'dartium'].contains(configuration['runtime'])) {
677 timeout *= 4; // Allow additional time for browser testing to run. 681 timeout *= 4; // Allow additional time for browser testing to run.
678 } 682 }
679 break; 683 break;
680 } 684 }
681 configuration['timeout'] = timeout; 685 configuration['timeout'] = timeout;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 return option; 756 return option;
753 } 757 }
754 } 758 }
755 print('Unknown test option $name'); 759 print('Unknown test option $name');
756 exit(1); 760 exit(1);
757 } 761 }
758 762
759 763
760 List<_TestOptionSpecification> _options; 764 List<_TestOptionSpecification> _options;
761 } 765 }
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