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']) { |