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

Unified Diff: tests/compiler/dart2js/dill_loader_test.dart

Issue 2974683003: Fix remaining failures from earlier CL (that switched kernel-service and dart2js (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | utils/kernel-service/kernel-service.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « no previous file | utils/kernel-service/kernel-service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698