diff options
author | Nico Weber <nicolasweber@gmx.de> | 2015-03-24 01:18:01 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2015-03-24 01:18:01 (GMT) |
commit | d209733d66b5e537e2522891c51d34b5262b4de9 (patch) | |
tree | 91a72945cd3a07ebe6321d9fe6b516c05030621a /src/manifest_parser.h | |
parent | 96d873e6efb5da29a683ff48294c2216a52e34c1 (diff) | |
download | Ninja-d209733d66b5e537e2522891c51d34b5262b4de9.zip Ninja-d209733d66b5e537e2522891c51d34b5262b4de9.tar.gz Ninja-d209733d66b5e537e2522891c51d34b5262b4de9.tar.bz2 |
Make tests quiet again.
Diffstat (limited to 'src/manifest_parser.h')
-rw-r--r-- | src/manifest_parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manifest_parser.h b/src/manifest_parser.h index 5212f72..00a711d 100644 --- a/src/manifest_parser.h +++ b/src/manifest_parser.h @@ -39,6 +39,7 @@ struct ManifestParser { /// Parse a text string of input. Used by tests. bool ParseTest(const string& input, string* err) { + quiet_ = true; return Parse("input", input, err); } @@ -64,6 +65,7 @@ private: BindingEnv* env_; FileReader* file_reader_; Lexer lexer_; + bool quiet_; }; #endif // NINJA_MANIFEST_PARSER_H_ |