summaryrefslogtreecommitdiffstats
path: root/src/deps_log_test.cc
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-12-18 19:04:14 (GMT)
committerNico Weber <thakis@chromium.org>2014-12-18 19:04:14 (GMT)
commit2d4a637c3010e1c8726967c9072cf73619fcd47d (patch)
tree2421e938dd5acc3c68b6b68ae086dcbc4a3d39f4 /src/deps_log_test.cc
parent191f26d1497a568fcf2fce547031ce7ac93d2455 (diff)
downloadNinja-2d4a637c3010e1c8726967c9072cf73619fcd47d.zip
Ninja-2d4a637c3010e1c8726967c9072cf73619fcd47d.tar.gz
Ninja-2d4a637c3010e1c8726967c9072cf73619fcd47d.tar.bz2
Remove 'Recompacting...' messages.
Recompacting the build log used to be slow, so it made sense to print this message. We then made recompaction much faster, but didn't remove this message back then. The deps log only has it because the build log had it. Since both steps are effectively instant in practice, remove these log messages.
Diffstat (limited to 'src/deps_log_test.cc')
-rw-r--r--src/deps_log_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/deps_log_test.cc b/src/deps_log_test.cc
index ac2b315..cab06fb 100644
--- a/src/deps_log_test.cc
+++ b/src/deps_log_test.cc
@@ -252,7 +252,6 @@ TEST_F(DepsLogTest, Recompact) {
ASSERT_EQ("foo.h", deps->nodes[0]->path());
ASSERT_EQ("baz.h", deps->nodes[1]->path());
- log.set_quiet(true);
ASSERT_TRUE(log.Recompact(kTestFilename, &err));
// The in-memory deps graph should still be valid after recompaction.
@@ -302,7 +301,6 @@ TEST_F(DepsLogTest, Recompact) {
ASSERT_EQ("foo.h", deps->nodes[0]->path());
ASSERT_EQ("baz.h", deps->nodes[1]->path());
- log.set_quiet(true);
ASSERT_TRUE(log.Recompact(kTestFilename, &err));
// The previous entries should have been removed.