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

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

Issue 1075423002: Add tests for evalutating against activation records. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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') | no next file » | 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 3dddedd351cc0760ff8cbd4df2c7b3a6bf1d72b9..ae3258717d58e410653aeecd91ec6ee6a04a8cd3 100644
--- a/runtime/observatory/tests/service/test_helper.dart
+++ b/runtime/observatory/tests/service/test_helper.dart
@@ -68,6 +68,11 @@ class _TestLauncher {
print(line);
});
process.exitCode.then((exitCode) {
+ final success = 0;
+ final killed = -15;
rmacnak 2015/04/10 22:36:44 This might be different on Windows...
rmacnak 2015/04/16 20:47:35 Of course we can keep track of whether we killed t
+ if (exitCode != success && exitCode != killed) {
+ throw "Testee exited with $exitCode";
+ }
print("** Process exited");
});
return completer.future;
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698