mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Include output name with mismatch error message so it's clearer where the failure comes from. (#65)
This commit is contained in:
parent
9b1bc06c34
commit
edbe19d22f
1 changed files with 2 additions and 1 deletions
|
|
@ -452,8 +452,9 @@ EXECUTE_RESULT DataRunner::RunTaskImpl(size_t task_id) {
|
|||
res = EXECUTE_RESULT::UNKNOWN_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
if (compare_result != COMPARE_RESULT::SUCCESS && !ret.second.empty()) {
|
||||
LOGF_DEFAULT(ERROR, "%s:%s", test_case_name_.c_str(), ret.second.c_str());
|
||||
LOGS_DEFAULT(ERROR) << test_case_name_ << ":output=" << output_name << ":" << ret.second;
|
||||
}
|
||||
if (compare_result != COMPARE_RESULT::SUCCESS) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue