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

Unified Diff: tests/standalone/io/process_shell_test.dart

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « tests/standalone/io/process_set_exit_code_test.dart ('k') | tests/standalone/io/process_sync_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_shell_test.dart
diff --git a/tests/standalone/io/process_shell_test.dart b/tests/standalone/io/process_shell_test.dart
index 91442fea2fc0a5840d7ea9c7ed6ebc734805c220..f1acdc9d5f01403bae2a85e7135feb7400f79ecc 100644
--- a/tests/standalone/io/process_shell_test.dart
+++ b/tests/standalone/io/process_shell_test.dart
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// OtherResources=process_echo_util.dart
+
import "package:path/path.dart";
import "package:async_helper/async_helper.dart";
import "dart:io";
@@ -11,9 +13,9 @@ import "dart:isolate";
void testRunShell() {
test(args) {
asyncStart();
- var path = Platform.script.resolve("process_echo_util.dart").toFilePath();
+ var script = Platform.script.resolve("process_echo_util.dart").toFilePath();
Process.run(Platform.executable,
- [path]..addAll(args),
+ [script]..addAll(args),
runInShell: true)
.then((result) {
if (Platform.operatingSystem == "windows") {
« no previous file with comments | « tests/standalone/io/process_set_exit_code_test.dart ('k') | tests/standalone/io/process_sync_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698