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

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

Issue 9949001: Improve help output and Windows VM hack. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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') | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 new _TestOptionSpecification( 88 new _TestOptionSpecification(
89 'runtime', 89 'runtime',
90 '''Where the tests should be run. 90 '''Where the tests should be run.
91 vm: Run Dart code on the standalone dart vm. 91 vm: Run Dart code on the standalone dart vm.
92 92
93 d8: Run JavaScript from the command line using v8. 93 d8: Run JavaScript from the command line using v8.
94 94
95 drt: Run Dart or JavaScript in the headless version of Chrome, 95 drt: Run Dart or JavaScript in the headless version of Chrome,
96 DumpRenderTree. 96 DumpRenderTree.
97 97
98 ff or firefox: Run JavaScript in Firefox. 98 [ff | chrome | safari | ie | opera]: Run JavaScript in the specified
99 browser.
99 100
100 chrome: Run JavaScript in Chrome. 101 none: No runtime, compile only (for example, used for dartc static analysis
101
102 safari: Run JavaScript in Safari.
103
104 ie: Run JavaScript in Internet Explorer.
105
106 opera: Run JavaScript in Opera.
107
108 none: No runtime, compile only (for example, used for dartc static analysis
109 tests).''', 102 tests).''',
110 ['-r', '--runtime'], 103 ['-r', '--runtime'],
111 ['vm', 'd8', 'drt', 'ff', 'firefox', 'chrome', 104 ['vm', 'd8', 'drt', 'ff', 'firefox', 'chrome',
112 'safari', 'ie', 'opera', 'none'], 105 'safari', 'ie', 'opera', 'none'],
113 'vm'), 106 'vm'),
114 new _TestOptionSpecification( 107 new _TestOptionSpecification(
115 'arch', 108 'arch',
116 'The architecture to run tests for', 109 'The architecture to run tests for',
117 ['-a', '--arch'], 110 ['-a', '--arch'],
118 ['all', 'ia32', 'x64', 'simarm'], 111 ['all', 'ia32', 'x64', 'simarm'],
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 return option; 607 return option;
615 } 608 }
616 } 609 }
617 print('Unknown test option $name'); 610 print('Unknown test option $name');
618 exit(1); 611 exit(1);
619 } 612 }
620 613
621 614
622 List<_TestOptionSpecification> _options; 615 List<_TestOptionSpecification> _options;
623 } 616 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698