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

Unified Diff: runtime/observatory/tests/service/test_helper.dart

Issue 2183993004: DBC: Add missing deopt info after stack overflow checks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: . Created 4 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 | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/test_helper.dart
diff --git a/runtime/observatory/tests/service/test_helper.dart b/runtime/observatory/tests/service/test_helper.dart
index df140c525009ca782ffa65b57fbef5b261fd61fe..15b1de4fc76d4c1956129dfbd9866241ca0d70b7 100644
--- a/runtime/observatory/tests/service/test_helper.dart
+++ b/runtime/observatory/tests/service/test_helper.dart
@@ -191,8 +191,11 @@ class _ServiceTesteeLauncher {
}
Future<Process> _spawnCommon(String executable, List<String> arguments) {
- print('** Launching $executable ${arguments.join(' ')}');
- return Process.start(executable, arguments, environment: _TESTEE_SPAWN_ENV);
+ var environment = _TESTEE_SPAWN_ENV;
+ var bashEnvironment = new StringBuffer();
+ environment.forEach((k, v) => bashEnvironment.write("$k=$v "));
+ print('** Launching $bashEnvironment$executable ${arguments.join(' ')}');
+ return Process.start(executable, arguments, environment: environment);
}
Future<int> launch(bool pause_on_start,
@@ -327,7 +330,9 @@ class _ServiceTesterRunner {
pause_on_unhandled_exceptions,
trace_service, trace_compiler).then((port) async {
if (mainArgs.contains("--gdb")) {
- port = 8181;
+ var pid = process.process.pid;
+ var wait = new Duration(seconds: 10);
+ print("Testee has pid $pid, waiting $wait before continuing");
}
serviceWebsocketAddress = 'ws://localhost:$port/ws';
serviceHttpAddress = 'http://localhost:$port';
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/vm/deopt_instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698