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

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

Issue 16667023: Fixed sdk/bin/dart2analyzer to use package-root (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/dart2analyzer_developer ('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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 case 'none': 178 case 'none':
179 if (useSdk) { 179 if (useSdk) {
180 return '$buildDir/dart-sdk/bin/dart$suffix'; 180 return '$buildDir/dart-sdk/bin/dart$suffix';
181 } 181 }
182 return '$buildDir/dart$suffix'; 182 return '$buildDir/dart$suffix';
183 case 'dartc': 183 case 'dartc':
184 return '$buildDir/analyzer/bin/dart_analyzer$suffix'; 184 return '$buildDir/analyzer/bin/dart_analyzer$suffix';
185 case 'dartanalyzer': 185 case 'dartanalyzer':
186 return 'sdk/bin/dartanalyzer_developer$suffix'; 186 return 'sdk/bin/dartanalyzer_developer$suffix';
187 case 'dart2analyzer': 187 case 'dart2analyzer':
188 return 'sdk/bin/dart2analyzer_developer$suffix'; 188 return 'editor/tools/analyzer_experimental';
189 default: 189 default:
190 throw "Unknown executable for: ${configuration['compiler']}"; 190 throw "Unknown executable for: ${configuration['compiler']}";
191 } 191 }
192 } 192 }
193 193
194 String get dartShellFileName { 194 String get dartShellFileName {
195 var name = configuration['dart']; 195 var name = configuration['dart'];
196 if (name == '') { 196 if (name == '') {
197 name = executablePath; 197 name = executablePath;
198 } 198 }
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 * $pass tests are expected to pass 1965 * $pass tests are expected to pass
1966 * $failOk tests are expected to fail that we won't fix 1966 * $failOk tests are expected to fail that we won't fix
1967 * $fail tests are expected to fail that we should fix 1967 * $fail tests are expected to fail that we should fix
1968 * $crash tests are expected to crash that we should fix 1968 * $crash tests are expected to crash that we should fix
1969 * $timeout tests are allowed to timeout 1969 * $timeout tests are allowed to timeout
1970 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1970 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1971 """; 1971 """;
1972 print(report); 1972 print(report);
1973 } 1973 }
1974 } 1974 }
OLDNEW
« no previous file with comments | « sdk/bin/dart2analyzer_developer ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698