Index: dm/DMReporter.cpp |
diff --git a/dm/DMReporter.cpp b/dm/DMReporter.cpp |
index 3d9dae586247c48f49397a8b86fb38183a830d18..0e01d71f20c779397427671e5d6a5d83a36a5c9d 100644 |
--- a/dm/DMReporter.cpp |
+++ b/dm/DMReporter.cpp |
@@ -1,8 +1,16 @@ |
#include "DMReporter.h" |
+#include "SkCommandLineFlags.h" |
+ |
+DEFINE_bool(quiet, false, "If true, don't print status updates."); |
+ |
namespace DM { |
void Reporter::updateStatusLine() const { |
+ if (FLAGS_quiet) { |
+ return; |
+ } |
+ |
SkString status; |
status.printf("\r\033[K%d / %d", this->finished(), this->started()); |
const int failed = this->failed(); |