summaryrefslogtreecommitdiffstats
path: root/src/deps_log.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-04-26 18:21:57 (GMT)
committerEvan Martin <martine@danga.com>2013-04-26 18:21:57 (GMT)
commita4c33ea48bdbecb3b0176681885c0192599b01fd (patch)
treeb5dfbf614e4c10dd9df5caa6b477f92be3f9a0fd /src/deps_log.h
parent89bc19b23d31263ea54ba1c802e4e0d03ae70118 (diff)
downloadNinja-a4c33ea48bdbecb3b0176681885c0192599b01fd.zip
Ninja-a4c33ea48bdbecb3b0176681885c0192599b01fd.tar.gz
Ninja-a4c33ea48bdbecb3b0176681885c0192599b01fd.tar.bz2
add a test for truncated deps
This doesn't yet exhibit the full problems with truncation, but it's a start.
Diffstat (limited to 'src/deps_log.h')
-rw-r--r--src/deps_log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/deps_log.h b/src/deps_log.h
index 99b006e..4b357a8 100644
--- a/src/deps_log.h
+++ b/src/deps_log.h
@@ -86,6 +86,7 @@ struct DepsLog {
/// Used for tests.
const vector<Node*>& nodes() const { return nodes_; }
+ const vector<Deps*>& deps() const { return deps_; }
private:
// Write a node name record, assigning it an id.