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

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

Issue 13760010: Rename the sdk/bin/dartanalyzer* scripts to dartanalyzer_developer*, and update (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « sdk/bin/dartanalyzer_developer.bat ('k') | no next file » | 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 var suffix = getExecutableSuffix(configuration['compiler']); 175 var suffix = getExecutableSuffix(configuration['compiler']);
176 switch (configuration['compiler']) { 176 switch (configuration['compiler']) {
177 case 'none': 177 case 'none':
178 if (useSdk) { 178 if (useSdk) {
179 return '$buildDir/dart-sdk/bin/dart$suffix'; 179 return '$buildDir/dart-sdk/bin/dart$suffix';
180 } 180 }
181 return '$buildDir/dart$suffix'; 181 return '$buildDir/dart$suffix';
182 case 'dartc': 182 case 'dartc':
183 return '$buildDir/analyzer/bin/dart_analyzer$suffix'; 183 return '$buildDir/analyzer/bin/dart_analyzer$suffix';
184 case 'dartanalyzer': 184 case 'dartanalyzer':
185 return 'sdk/bin/dartanalyzer$suffix'; 185 return 'sdk/bin/dartanalyzer_developer$suffix';
186 default: 186 default:
187 throw "Unknown executable for: ${configuration['compiler']}"; 187 throw "Unknown executable for: ${configuration['compiler']}";
188 } 188 }
189 } 189 }
190 190
191 /** 191 /**
192 * The file name of the d8 executable. 192 * The file name of the d8 executable.
193 */ 193 */
194 String get d8FileName { 194 String get d8FileName {
195 var suffix = getExecutableSuffix('d8'); 195 var suffix = getExecutableSuffix('d8');
(...skipping 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 * $pass tests are expected to pass 1933 * $pass tests are expected to pass
1934 * $failOk tests are expected to fail that we won't fix 1934 * $failOk tests are expected to fail that we won't fix
1935 * $fail tests are expected to fail that we should fix 1935 * $fail tests are expected to fail that we should fix
1936 * $crash tests are expected to crash that we should fix 1936 * $crash tests are expected to crash that we should fix
1937 * $timeout tests are allowed to timeout 1937 * $timeout tests are allowed to timeout
1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1939 """; 1939 """;
1940 print(report); 1940 print(report);
1941 } 1941 }
1942 } 1942 }
OLDNEW
« no previous file with comments | « sdk/bin/dartanalyzer_developer.bat ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698