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

Unified Diff: pkg/unittest/lib/vm_config.dart

Issue 22859009: Changes to how we handle fancy stacks: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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: pkg/unittest/lib/vm_config.dart
===================================================================
--- pkg/unittest/lib/vm_config.dart (revision 26407)
+++ pkg/unittest/lib/vm_config.dart (working copy)
@@ -38,6 +38,13 @@
return result;
}
+ void onInit() {
+ super.onInit();
+ // TODO(gram): Consider using args package here.
+ filterStacks = !new Options().arguments.contains('--no-filtered-stacks');
+ formatStacks = !new Options().arguments.contains('--no-fancy-stacks');
+ }
+
void onDone(bool success) {
int status;
try {

Powered by Google App Engine
This is Rietveld 408576698