wmoo: campaign += sanity checks

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1150 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-04-24 13:12:30 +00:00
parent 5e821904b4
commit 4308e1e770

View File

@ -227,9 +227,12 @@ bool WeathermonitorCampaign::run()
// sanity check
if (ec.instr2 != res->msg.instr_offset()) {
results << "WTF" << endl;
log << "WTF" << endl;
//delete res; // currently racy if jobs are reassigned
results << "ec.instr2 != instr_offset" << endl;
log << "ec.instr2 != instr_offset" << endl;
}
if (res->msg.result_size() != 8) {
results << "result_size " << res->msg.result_size() << endl;
log << "result_size " << res->msg.result_size() << endl;
}
// one job contains 8 experiments