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

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

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 'ff', 'firefox', 109 'ff', 'firefox',
110 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera', 110 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera',
111 'chromeOnAndroid', 'safarimobilesim', 111 'chromeOnAndroid', 'safarimobilesim',
112 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'], 112 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'],
113 'vm'), 113 'vm'),
114 new _TestOptionSpecification( 114 new _TestOptionSpecification(
115 'arch', 115 'arch',
116 'The architecture to run tests for', 116 'The architecture to run tests for',
117 ['-a', '--arch'], 117 ['-a', '--arch'],
118 ['all', 'ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips', 118 ['all', 'ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips',
119 'simarm', 'simarmv6', 'simarmv5te', 'simarm64', 'simmips'], 119 'simarm', 'simarmv6', 'simarmv5te', 'simarm64', 'simmips',
120 'simdbc'],
120 'x64'), 121 'x64'),
121 new _TestOptionSpecification( 122 new _TestOptionSpecification(
122 'system', 123 'system',
123 'The operating system to run tests on', 124 'The operating system to run tests on',
124 ['-s', '--system'], 125 ['-s', '--system'],
125 ['linux', 'macos', 'windows'], 126 ['linux', 'macos', 'windows'],
126 Platform.operatingSystem), 127 Platform.operatingSystem),
127 new _TestOptionSpecification( 128 new _TestOptionSpecification(
128 'checked', 129 'checked',
129 'Run tests in checked mode', 130 'Run tests in checked mode',
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 return option; 902 return option;
902 } 903 }
903 } 904 }
904 print('Unknown test option $name'); 905 print('Unknown test option $name');
905 exit(1); 906 exit(1);
906 } 907 }
907 908
908 909
909 List<_TestOptionSpecification> _options; 910 List<_TestOptionSpecification> _options;
910 } 911 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698