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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 9950019: Renamed the 'dartc' launch script to 'dart-analysis' and adds it to dart-sdk (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Short circuit the copying of dart_analyzer completely from the build Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index dceb552557f93a73eb352677edcfa56bf2cda3c1..c87b448ca04c6f28fcaf260ef927031a0750db99 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -384,8 +384,8 @@ class StandardTestSuite implements TestSuite {
} else {
testName = filename;
}
-
- if (configuration['compiler'] != 'dartc' ||
+ String suffix = TestUtils.executableSuffix(configuration['compiler']);
+ if (configuration['compiler'] != 'dart_analyzer$suffix' ||
testName.endsWith('_test.dart')) {
Bill Hesse 2012/06/12 12:19:46 I looked at this a couple of weeks ago, and came t
if (testName.endsWith('.dart')) {
testName = testName.substring(0, testName.length - 5);
@@ -1127,9 +1127,8 @@ class JUnitTestSuite implements TestSuite {
void computeClassPath() {
classPath = Strings.join(
- ['$buildDir/compiler/lib/dartc.jar',
- '$buildDir/compiler-tests.jar',
- '$buildDir/closure_out/compiler.jar',
+ ['$buildDir/analyzer/util/analyzer/dart_analyzer.jar',
+ '$buildDir/analyzer/dart_analyzer_tests.jar',
// Third party libraries.
'$dartDir/third_party/args4j/2.0.12/args4j-2.0.12.jar',
'$dartDir/third_party/guava/r09/guava-r09.jar',
@@ -1193,7 +1192,7 @@ class TestUtils {
case 'none':
return 'dart$suffix';
case 'dartc':
- return 'compiler/bin/dartc$suffix';
+ return 'analyzer/bin/dart_analyzer$suffix';
case 'dart2js':
var prefix = '';
if (configuration['use_sdk']) {
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698