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

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

Issue 45573002: Rename analyzer_experimental to analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks before publishing. Created 7 years, 1 month 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 | « tools/testing/dart/test_runner.dart ('k') | utils/apidoc/apidoc.gyp » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 var suffix = getExecutableSuffix(configuration['compiler']); 180 var suffix = getExecutableSuffix(configuration['compiler']);
181 switch (configuration['compiler']) { 181 switch (configuration['compiler']) {
182 case 'none': 182 case 'none':
183 if (useSdk) { 183 if (useSdk) {
184 return '$buildDir/dart-sdk/bin/dart$suffix'; 184 return '$buildDir/dart-sdk/bin/dart$suffix';
185 } 185 }
186 return '$buildDir/dart$suffix'; 186 return '$buildDir/dart$suffix';
187 case 'dartanalyzer': 187 case 'dartanalyzer':
188 return 'sdk/bin/dartanalyzer_developer$suffix'; 188 return 'sdk/bin/dartanalyzer_developer$suffix';
189 case 'dart2analyzer': 189 case 'dart2analyzer':
190 return 'editor/tools/analyzer_experimental'; 190 return 'editor/tools/analyzer';
191 default: 191 default:
192 throw "Unknown executable for: ${configuration['compiler']}"; 192 throw "Unknown executable for: ${configuration['compiler']}";
193 } 193 }
194 } 194 }
195 195
196 String get dartShellFileName { 196 String get dartShellFileName {
197 var name = configuration['dart']; 197 var name = configuration['dart'];
198 if (name == '') { 198 if (name == '') {
199 name = executablePath; 199 name = executablePath;
200 } 200 }
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
2043 * $pass tests are expected to pass 2043 * $pass tests are expected to pass
2044 * $failOk tests are expected to fail that we won't fix 2044 * $failOk tests are expected to fail that we won't fix
2045 * $fail tests are expected to fail that we should fix 2045 * $fail tests are expected to fail that we should fix
2046 * $crash tests are expected to crash that we should fix 2046 * $crash tests are expected to crash that we should fix
2047 * $timeout tests are allowed to timeout 2047 * $timeout tests are allowed to timeout
2048 * $compileErrorSkip tests are skipped on browsers due to compile-time error 2048 * $compileErrorSkip tests are skipped on browsers due to compile-time error
2049 """; 2049 """;
2050 print(report); 2050 print(report);
2051 } 2051 }
2052 } 2052 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698