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

Unified Diff: dart/frog/frog.py

Issue 9352015: Detect VM crashes and update status file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 | dart/frog/tests/leg_only/leg_only.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/frog.py
diff --git a/dart/frog/frog.py b/dart/frog/frog.py
index 6824df7c334a9e8720a77f6372cb3af0fd299f5b..44dd12b015802790f3d6755e5ccce9f7c6e4533e 100755
--- a/dart/frog/frog.py
+++ b/dart/frog/frog.py
@@ -188,6 +188,8 @@ def compileAndRun(options, args, dart):
if cleanup: shutil.rmtree(workdir)
if exit_code < 0:
print("VM exited with signal %d" % (-exit_code))
+ # TODO(ahe): Using 253 to signal a crash to test.dart.
+ return 253
return exit_code
result = 0
« no previous file with comments | « no previous file | dart/frog/tests/leg_only/leg_only.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698