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

Unified Diff: pkg/front_end/test/fasta/testing/suite.dart

Issue 2943173002: Fix frontend tests after bac83e0973f981d4b4e61e90cb7f6fb5ceb89206 (Closed)
Patch Set: Created 3 years, 6 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 | pkg/front_end/tool/fasta » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | pkg/front_end/tool/fasta » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698