perftest: fix compilation after dupe_edge_should_err change

Fix some ManifestParser constructor calls missed by commit 56bab441b7
(dupe_edge_should_err from bool to enum, 2016-01-27).
This commit is contained in:
Brad King 2016-02-02 09:34:53 -05:00
parent 35e950d4c2
commit 94086e990c
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ bool WriteTestData(string* err) {
long_rule_command += "$in -o $out\n";
State state;
ManifestParser parser(&state, NULL);
ManifestParser parser(&state, NULL, kDupeEdgeActionWarn);
if (!parser.ParseTest("rule cxx\n command = " + long_rule_command, err))
return false;

View File

@ -61,7 +61,7 @@ int LoadManifests(bool measure_command_evaluation) {
string err;
RealFileReader file_reader;
State state;
ManifestParser parser(&state, &file_reader);
ManifestParser parser(&state, &file_reader, kDupeEdgeActionWarn);
if (!parser.Load("build.ninja", &err)) {
fprintf(stderr, "Failed to read test data: %s\n", err.c_str());
exit(1);