diff options
author | Robert Iannucci <robbie@rail.com> | 2012-11-10 19:45:54 (GMT) |
---|---|---|
committer | Robert Iannucci <robbie@rail.com> | 2012-11-10 19:45:54 (GMT) |
commit | 9b196dc806e57cefd88bbbacd12286447dbf9ad9 (patch) | |
tree | 546272344a33d30e614b1d0ec20053222d388fef /src/build_test.cc | |
parent | c068fcc4fd3fc9d83b58fceb7a59497c86e10e11 (diff) | |
download | Ninja-9b196dc806e57cefd88bbbacd12286447dbf9ad9.zip Ninja-9b196dc806e57cefd88bbbacd12286447dbf9ad9.tar.gz Ninja-9b196dc806e57cefd88bbbacd12286447dbf9ad9.tar.bz2 |
Dump state for debugging
Diffstat (limited to 'src/build_test.cc')
-rw-r--r-- | src/build_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build_test.cc b/src/build_test.cc index 34db237..2d1d1a2 100644 --- a/src/build_test.cc +++ b/src/build_test.cc @@ -194,6 +194,8 @@ TEST_F(PlanTest, PoolWithDepthOne) { ASSERT_EQ("", err); ASSERT_TRUE(plan_.more_to_do()); + plan_.Dump(); + state_.Dump(); Edge* edge = plan_.FindWork(); ASSERT_TRUE(edge); ASSERT_EQ("in", edge->inputs_[0]->path()); @@ -250,6 +252,8 @@ TEST_F(PlanTest, PoolsWithDepthTwo) { EXPECT_TRUE(plan_.AddTarget(GetNode("allTheThings"), &err)); ASSERT_EQ("", err); + plan_.Dump(); + state_.Dump(); // Grab the first 4 edges, out1 out2 outb1 outb2 deque<Edge*> edges; for(int i = 0; i < 4; ++i) { |