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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 26793004: Add support for catching rendere crashes in drt (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
===================================================================
--- tools/testing/dart/test_runner.dart (revision 28442)
+++ tools/testing/dart/test_runner.dart (working copy)
@@ -817,6 +817,10 @@
return super.canRunDependendCommands && !didFail(null);
}
+ bool get hasCrashed {
+ return super.hasCrashed || _rendererCrashed;
+ }
+
Expectation _getOutcome() {
if (_failedBecauseOfMissingXDisplay) {
return Expectation.FAIL;
@@ -852,6 +856,9 @@
return false;
}
+ bool get _rendererCrashed =>
+ decodeUtf8(super.stdout).contains("#CRASHED - rendere");
+
bool get _failedBecauseOfUnexpectedDRTOutput {
/*
* The output of content shell is different for pixel tests than for
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698