Index: pkg/front_end/test/fasta/testing/suite.dart |
diff --git a/pkg/front_end/test/fasta/testing/suite.dart b/pkg/front_end/test/fasta/testing/suite.dart |
index 1303ae9172af777810ed797291a06fb23619e96e..ed6c64dc864660be9d018792e5d60b3cbbe53569 100644 |
--- a/pkg/front_end/test/fasta/testing/suite.dart |
+++ b/pkg/front_end/test/fasta/testing/suite.dart |
@@ -192,8 +192,12 @@ class Run extends Step<Uri, int, FastaContext> { |
File generated = new File.fromUri(uri); |
StdioProcess process; |
try { |
- var platformDill = context.platformUri.toFilePath(); |
- var args = ['--platform=$platformDill', generated.path, "Hello, World!"]; |
+ var sdkPath = context.sdk.toFilePath(); |
+ var args = [ |
+ '--kernel-binaries=$sdkPath', |
+ generated.path, |
+ "Hello, World!" |
+ ]; |
process = await StdioProcess.run(context.vm.toFilePath(), args); |
print(process.output); |
} finally { |