forked from lix-project/lix
Expose enforce-determinism and the result to Hydra
This commit is contained in:
parent
8bdf83f936
commit
cea4e2c618
|
@ -840,8 +840,10 @@ static void opServe(Strings opFlags, Strings opArgs)
|
||||||
settings.buildTimeout = readInt(in);
|
settings.buildTimeout = readInt(in);
|
||||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
|
if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
|
||||||
settings.maxLogSize = readInt(in);
|
settings.maxLogSize = readInt(in);
|
||||||
if (GET_PROTOCOL_MINOR(clientVersion) >= 3)
|
if (GET_PROTOCOL_MINOR(clientVersion) >= 3) {
|
||||||
settings.set("build-repeat", std::to_string(readInt(in)));
|
settings.set("build-repeat", std::to_string(readInt(in)));
|
||||||
|
settings.set("enforce-determinism", readInt(in) != 0 ? "true" : "false");
|
||||||
|
}
|
||||||
settings.printRepeatedBuilds = false;
|
settings.printRepeatedBuilds = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -958,6 +960,9 @@ static void opServe(Strings opFlags, Strings opArgs)
|
||||||
|
|
||||||
out << status.status << status.errorMsg;
|
out << status.status << status.errorMsg;
|
||||||
|
|
||||||
|
if (GET_PROTOCOL_MINOR(clientVersion) >= 3)
|
||||||
|
out << status.timesBuilt << status.isNonDeterministic;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue