diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 04:25:32 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 04:25:32 (GMT) |
commit | 213c44a51c1309f0b03a7c2763a7599c8cb9a41f (patch) | |
tree | fd9bd9ab4b5a973b0f777947093d3b6b949cbf6c /src/build_log.h | |
parent | 2b63e14756f4b6132341e842fed26f034a921438 (diff) | |
download | Ninja-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/build_log.h')
-rw-r--r-- | src/build_log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log.h b/src/build_log.h index fe81a85..db0cfe0 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -80,6 +80,7 @@ struct BuildLog { /// Rewrite the known log entries, throwing away old data. bool Recompact(const string& path, const BuildLogUser& user, string* err); + void set_quiet(bool quiet) { quiet_ = quiet; } typedef ExternalStringHashMap<LogEntry*>::Type Entries; const Entries& entries() const { return entries_; } @@ -88,6 +89,7 @@ struct BuildLog { Entries entries_; FILE* log_file_; bool needs_recompaction_; + bool quiet_; }; #endif // NINJA_BUILD_LOG_H_ |