| Index: tests/compiler/dart2js/dill_loader_test.dart
|
| diff --git a/tests/compiler/dart2js/dill_loader_test.dart b/tests/compiler/dart2js/dill_loader_test.dart
|
| index a2f2da9cdb36f11c20ba2096bc94d6dd0452615f..9bf70242b4ff45f83cd25f485bb2fa17abcd6d5a 100644
|
| --- a/tests/compiler/dart2js/dill_loader_test.dart
|
| +++ b/tests/compiler/dart2js/dill_loader_test.dart
|
| @@ -42,9 +42,11 @@ main() {
|
| OutputCollector output = new OutputCollector();
|
| Uri entryPoint = Uri.parse('memory:main.dill');
|
|
|
| - var platform = Uri
|
| - .parse(Platform.resolvedExecutable)
|
| - .resolve('patched_dart2js_sdk/platform.dill');
|
| + String buildDir = Platform.isMacOS ? 'xcodebuild' : 'out';
|
| + String configuration =
|
| + Platform.environment['DART_CONFIGURATION'] ?? 'ReleaseX64';
|
| + var platform = Platform.script.resolve(
|
| + '../../../$buildDir/$configuration/patched_dart2js_sdk/platform.dill');
|
| var options = new CompilerOptions()
|
| ..target = new Dart2jsTarget(new TargetFlags())
|
| ..packagesFileUri = Platform.script.resolve('../../../.packages')
|
|
|