| Index: tests/compiler/dart2js/analyze_helper.dart
|
| diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart
|
| index fb06d78cf187bb8408bbcc7617c036a53a8849d5..58370a7558b6e59726375f653ad872c77be91688 100644
|
| --- a/tests/compiler/dart2js/analyze_helper.dart
|
| +++ b/tests/compiler/dart2js/analyze_helper.dart
|
| @@ -220,8 +220,7 @@ Future analyze(List<Uri> uriList,
|
| """);
|
|
|
| var libraryRoot = currentDirectory.resolve('sdk/');
|
| - var packageRoot =
|
| - currentDirectory.resolve(Platform.packageRoot);
|
| + var packageConfig = currentDirectory.resolve('.packages');
|
| var provider = new CompilerSourceFileProvider();
|
| var handler = new CollectingDiagnosticHandler(whiteList, skipList, provider);
|
| options = <String>[Flags.analyzeOnly, '--categories=Client,Server',
|
| @@ -249,7 +248,7 @@ Future analyze(List<Uri> uriList,
|
| handler,
|
| new CompilerOptions.parse(
|
| libraryRoot: libraryRoot,
|
| - packageRoot: packageRoot,
|
| + packageConfig: packageConfig,
|
| options: options,
|
| environment: {}));
|
| String MESSAGE = """
|
|
|