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

Unified Diff: tests/standalone/io/http_client_stays_alive_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
Index: tests/standalone/io/http_client_stays_alive_test.dart
diff --git a/tests/standalone/io/http_client_stays_alive_test.dart b/tests/standalone/io/http_client_stays_alive_test.dart
index 735566740fe21b7fb09fa4e89287210accb356fa..171eb38d4122d9645d13b1d5210658368d8a8786 100644
--- a/tests/standalone/io/http_client_stays_alive_test.dart
+++ b/tests/standalone/io/http_client_stays_alive_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=http_client_stays_alive_test.dart
+
import 'dart:io';
import "package:async_helper/async_helper.dart";
@@ -39,7 +41,9 @@ void runServerProcess() {
});
var sw = new Stopwatch()..start();
- var arguments = packageOptions()..add(Platform.script.toString())..add(url);
+ var script = Platform.script.resolve('http_client_stays_alive_test.dart')
+ .toFilePath();
+ var arguments = packageOptions()..add(script)..add(url);
Process.run(Platform.executable, arguments).then((res) {
subscription.cancel();
if (res.exitCode != 0) {
« no previous file with comments | « tests/standalone/io/file_test.dart ('k') | tests/standalone/io/http_server_close_response_after_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698