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

Unified Diff: dart/pkg/unittest/lib/test_controller.js

Issue 12296025: Provide more information about non-unittest failures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/unittest/lib/test_controller.js
diff --git a/dart/pkg/unittest/lib/test_controller.js b/dart/pkg/unittest/lib/test_controller.js
index 5332c190554559ef26e289ff9a5c4727951e0fba..34d56ed53dce1b42e03c4f88f2ba7dcc99692430 100644
--- a/dart/pkg/unittest/lib/test_controller.js
+++ b/dart/pkg/unittest/lib/test_controller.js
@@ -135,6 +135,8 @@ function dartMainRunner(main) {
try {
main();
} catch (e) {
+ dartPrint(e);
+ if (e.stack) dartPrint(e.stack);
window.postMessage('unittest-suite-fail', '*');
return;
}
« 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