mirror of
https://github.com/reactos/ninja.git
synced 2024-11-23 11:49:45 +00:00
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:
parent
35e950d4c2
commit
94086e990c
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user