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..35f9f11ce27e87e12bdcab21a1fc0acf57bd08a6 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -232,6 +232,11 @@ 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') |