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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 13839023: Add flag to disable capturing stack traces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index f239de3d01762d51614439bc1f823d981189fbc1..32586836e345abcb146399a2f0cb06a403d4e6d3 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -47,6 +47,10 @@ initConfig() {
// If we aren't running on the bots, use the human-friendly config.
if (!runningOnBuildbot) {
unittestConfiguration = new CommandLineConfiguration();
+
+ // By default, don't capture stack traces since they slow the tests way
+ // down. To debug failing tests, comment this out.
+ captureStackTraces = false;
nweiz 2013/04/09 21:25:58 I'd rather put this in [integration], especially o
Bob Nystrom 2013/04/10 22:40:34 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698