aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-03-11 07:19:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-11 07:19:15 -0700
commita6def476e98f92e6789dfa402283a7c44ee26cee (patch)
tree39f8b60885fcfbdd60fd21bb0cd89dfb58c79b4d /dm
parent44124650895833378938b4b174302fbf64403fe2 (diff)
DM: show skipped and --blacklist notes only in verbose mode.
In non-verbose mode, these notes will spin away too fast to read anyway, unless they're so long they end up leaving junk on the terminal. NOTREECHECKS=true BUG=skia: Review URL: https://codereview.chromium.org/989083002
Diffstat (limited to 'dm')
-rw-r--r--dm/DM.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 4ab5da975e..9f3dbaba5e 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -333,7 +333,7 @@ struct Task {
task->src.tag,
name.c_str(),
err.c_str()));
- } else {
+ } else if (FLAGS_verbose) {
name.appendf(" (skipped: %s)", err.c_str());
}
done(timer.fWall, task->sink.tag, task->src.tag, name, log);
@@ -378,7 +378,7 @@ struct Task {
}
}
timer.end();
- if (!whyBlacklisted.isEmpty()) {
+ if (FLAGS_verbose && !whyBlacklisted.isEmpty()) {
name.appendf(" (--blacklist, %s)", whyBlacklisted.c_str());
}
done(timer.fWall, task->sink.tag, task->src.tag, name, log);