From 2e5b70d602bb8fe0aae08c8897c5a9a246bf573b Mon Sep 17 00:00:00 2001
From: "nweiz@google.com" <nweiz@google.com>
Date: Wed, 1 May 2013 00:34:07 +0000
Subject: [PATCH] Always capture stack traces when running pub tests.

Now that stack_trace lazily parses stacks, this should be fast enough to be
usable.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//14706002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22217 260f80e4-7a28-3924-810f-c04153c831b5
---
 test/test_pub.dart | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/test/test_pub.dart b/test/test_pub.dart
index b978d54b..dbc326c3 100644
--- a/test/test_pub.dart
+++ b/test/test_pub.dart
@@ -250,11 +250,6 @@ void _integration(String description, void body(), [Function testFn]) {
       currentSchedule.timeout = new Duration(seconds: 10);
     }
 
-    // By default, don't capture stack traces since they slow the tests way
-    // down. To debug failing tests, comment this out.
-    currentSchedule.captureStackTraces =
-        new Options().arguments.contains('--trace');
-
     // Ensure the SDK version is always available.
     d.dir(sdkPath, [
       d.file('version', '0.1.2.3')
-- 
GitLab