| Index: tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
|
| index baa010294389af4ef2a34322dc9cfcf823419599..28868979306b81d8b3ebd08102f09e45ab9f465d 100644
|
| --- a/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -124,6 +124,10 @@ CompilerImpl compilerFor(
|
| packageRoot = Uri.base.resolve(Platform.packageRoot);
|
| } else if (Platform.packageConfig != null) {
|
| packageConfig = Uri.base.resolve(Platform.packageConfig);
|
| + } else {
|
| + // The tests are run with the base directory as the SDK root
|
| + // so just use the .packages file there.
|
| + packageConfig = Uri.base.resolve('.packages');
|
| }
|
| }
|
|
|
|
|