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

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

Issue 9664068: removed unused 'chromium' component (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 9 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_suite.dart » ('j') | 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) 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 #import("dart:builtin"); 8 #import("dart:builtin");
9 #import("drt_updater.dart"); 9 #import("drt_updater.dart");
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 leg: Compile dart code by running leg on the standalone dart vm, and 74 leg: Compile dart code by running leg on the standalone dart vm, and
75 run the resulting javascript on D8. 75 run the resulting javascript on D8.
76 76
77 frogsh: Compile dart code by running frog on node.js, and run the 77 frogsh: Compile dart code by running frog on node.js, and run the
78 resulting javascript on the same instance of node.js. 78 resulting javascript on the same instance of node.js.
79 79
80 dartium: Run dart code in a type="application/dart" script tag in a 80 dartium: Run dart code in a type="application/dart" script tag in a
81 dartium build of DumpRenderTree. 81 dartium build of DumpRenderTree.
82 82
83 chromium: Obsolete, not used, will be removed.
84
85 frogium: Compile dart code by running frog on the standalone dart vm, 83 frogium: Compile dart code by running frog on the standalone dart vm,
86 and run the resulting javascript in a javascript script tag in 84 and run the resulting javascript in a javascript script tag in
87 a dartium build of DumpRenderTree. 85 a dartium build of DumpRenderTree.
88 86
89 legium: Compile dart code by running leg on the standalone dart vm, 87 legium: Compile dart code by running leg on the standalone dart vm,
90 and run the resulting javascript in a javascript script tag in 88 and run the resulting javascript in a javascript script tag in
91 a dartium build of DumpRenderTree. 89 a dartium build of DumpRenderTree.
92 90
93 webdriver: Compile dart code by running frog on the standalone dart vm, 91 webdriver: Compile dart code by running frog on the standalone dart vm,
94 and then run the resulting javascript in the browser that is specified 92 and then run the resulting javascript in the browser that is specified
95 by the --browser switch (e.g. chrome, safari, ff, etc.). 93 by the --browser switch (e.g. chrome, safari, ff, etc.).
96 94
97 dartc: Run dart code through the dartc static analyzer (does not 95 dartc: Run dart code through the dartc static analyzer (does not
98 execute dart code). 96 execute dart code).
99 ''', 97 ''',
100 ['-c', '--component'], 98 ['-c', '--component'],
101 ['most', 'vm', 'dartc', 'frog', 'frogsh', 'leg', 99 ['most', 'vm', 'frog', 'leg', 'frogsh', 'dartium', 'frogium',
102 'dartium', 'chromium', 'frogium', 'legium', 'webdriver'], 100 'legium', 'webdriver', 'dartc'],
103 'vm'), 101 'vm'),
104 new _TestOptionSpecification( 102 new _TestOptionSpecification(
105 'arch', 103 'arch',
106 'The architecture to run tests for', 104 'The architecture to run tests for',
107 ['-a', '--arch'], 105 ['-a', '--arch'],
108 ['all', 'ia32', 'x64', 'simarm'], 106 ['all', 'ia32', 'x64', 'simarm'],
109 'ia32'), 107 'ia32'),
110 new _TestOptionSpecification( 108 new _TestOptionSpecification(
111 'system', 109 'system',
112 'The operating system to run tests on', 110 'The operating system to run tests on',
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 if (DumpRenderTreeUpdater.componentRequiresDRT(components)) { 461 if (DumpRenderTreeUpdater.componentRequiresDRT(components)) {
464 DumpRenderTreeUpdater.update(); 462 DumpRenderTreeUpdater.update();
465 } 463 }
466 } 464 }
467 465
468 // Adjust default timeout based on mode and component. 466 // Adjust default timeout based on mode and component.
469 if (configuration['timeout'] == -1) { 467 if (configuration['timeout'] == -1) {
470 var timeout = 60; 468 var timeout = 60;
471 switch (configuration['component']) { 469 switch (configuration['component']) {
472 case 'dartc': 470 case 'dartc':
473 case 'chromium':
474 case 'dartium': 471 case 'dartium':
475 case 'frogium': 472 case 'frogium':
476 case 'legium': 473 case 'legium':
477 case 'webdriver': 474 case 'webdriver':
478 timeout *= 4; 475 timeout *= 4;
479 break; 476 break;
480 case 'leg': 477 case 'leg':
481 case 'frog': 478 case 'frog':
482 if (configuration['mode'] == 'debug') { 479 if (configuration['mode'] == 'debug') {
483 timeout *= 4; 480 timeout *= 4;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 return option; 540 return option;
544 } 541 }
545 } 542 }
546 print('Unknown test option $name'); 543 print('Unknown test option $name');
547 exit(1); 544 exit(1);
548 } 545 }
549 546
550 547
551 List<_TestOptionSpecification> _options; 548 List<_TestOptionSpecification> _options;
552 } 549 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698