summaryrefslogtreecommitdiffstats
path: root/src/deps_log.cc
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-09-19 04:25:32 (GMT)
committerNico Weber <nicolasweber@gmx.de>2014-09-19 04:25:32 (GMT)
commit213c44a51c1309f0b03a7c2763a7599c8cb9a41f (patch)
treefd9bd9ab4b5a973b0f777947093d3b6b949cbf6c /src/deps_log.cc
parent2b63e14756f4b6132341e842fed26f034a921438 (diff)
downloadNinja-213c44a51c1309f0b03a7c2763a7599c8cb9a41f.zip
Ninja-213c44a51c1309f0b03a7c2763a7599c8cb9a41f.tar.gz
Ninja-213c44a51c1309f0b03a7c2763a7599c8cb9a41f.tar.bz2
Don't print "Recompacting..." message from tests.
Now tests don't print anything. Non-test behavior is unchanged.
Diffstat (limited to 'src/deps_log.cc')
-rw-r--r--src/deps_log.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index 61df387..39de180 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -302,7 +302,8 @@ DepsLog::Deps* DepsLog::GetDeps(Node* node) {
bool DepsLog::Recompact(const string& path, string* err) {
METRIC_RECORD(".ninja_deps recompact");
- printf("Recompacting deps...\n");
+ if (!quiet_)
+ printf("Recompacting deps...\n");
Close();
string temp_path = path + ".recompact";