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

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

Issue 1922163002: Initial support to test.dart for running precompiler tests on android devices (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Some fixes Created 4 years, 7 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
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 "drt_updater.dart"; 8 import "drt_updater.dart";
9 import "test_suite.dart"; 9 import "test_suite.dart";
10 import "path.dart"; 10 import "path.dart";
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 'simarm64', 150 'simarm64',
151 'simmips', 151 'simmips',
152 'simdbc', 152 'simdbc',
153 'simdbc64', 153 'simdbc64',
154 ], 154 ],
155 'x64'), 155 'x64'),
156 new _TestOptionSpecification( 156 new _TestOptionSpecification(
157 'system', 157 'system',
158 'The operating system to run tests on', 158 'The operating system to run tests on',
159 ['-s', '--system'], 159 ['-s', '--system'],
160 ['linux', 'macos', 'windows'], 160 ['linux', 'macos', 'windows', 'android'],
161 Platform.operatingSystem), 161 Platform.operatingSystem),
162 new _TestOptionSpecification( 162 new _TestOptionSpecification(
163 'checked', 'Run tests in checked mode', ['--checked'], [], false, 163 'checked', 'Run tests in checked mode', ['--checked'], [], false,
164 type: 'bool'), 164 type: 'bool'),
165 new _TestOptionSpecification('host_checked', 165 new _TestOptionSpecification('host_checked',
166 'Run compiler in checked mode', ['--host-checked'], [], false, 166 'Run compiler in checked mode', ['--host-checked'], [], false,
167 type: 'bool'), 167 type: 'bool'),
168 new _TestOptionSpecification('minified', 168 new _TestOptionSpecification('minified',
169 'Enable minification in the compiler', ['--minified'], [], false, 169 'Enable minification in the compiler', ['--minified'], [], false,
170 type: 'bool'), 170 type: 'bool'),
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 if (option.keys.contains(name)) { 894 if (option.keys.contains(name)) {
895 return option; 895 return option;
896 } 896 }
897 } 897 }
898 print('Unknown test option $name'); 898 print('Unknown test option $name');
899 exit(1); 899 exit(1);
900 } 900 }
901 901
902 List<_TestOptionSpecification> _options; 902 List<_TestOptionSpecification> _options;
903 } 903 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698