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
This commit is contained in:
mtklein 2015-03-11 07:19:15 -07:00 committed by Commit bot
parent 4412465089
commit a6def476e9

View File

@ -333,7 +333,7 @@ struct Task {
task->src.tag, task->src.tag,
name.c_str(), name.c_str(),
err.c_str())); err.c_str()));
} else { } else if (FLAGS_verbose) {
name.appendf(" (skipped: %s)", err.c_str()); name.appendf(" (skipped: %s)", err.c_str());
} }
done(timer.fWall, task->sink.tag, task->src.tag, name, log); done(timer.fWall, task->sink.tag, task->src.tag, name, log);
@ -378,7 +378,7 @@ struct Task {
} }
} }
timer.end(); timer.end();
if (!whyBlacklisted.isEmpty()) { if (FLAGS_verbose && !whyBlacklisted.isEmpty()) {
name.appendf(" (--blacklist, %s)", whyBlacklisted.c_str()); name.appendf(" (--blacklist, %s)", whyBlacklisted.c_str());
} }
done(timer.fWall, task->sink.tag, task->src.tag, name, log); done(timer.fWall, task->sink.tag, task->src.tag, name, log);