Skip to content
Snippets Groups Projects
Unverified Commit c0018faf authored by Elemer Lelik's avatar Elemer Lelik Committed by GitHub
Browse files

Merge pull request #143 from andrepuschmann/junitlog

log result when TC finishes with verdict inconc
parents 92a288ca 8ce43f35
No related branches found
No related tags found
No related merge requests found
......@@ -236,6 +236,13 @@ void TestCase::writeTestCase(FILE* file_stream_) const{
fprintf(file_stream_, " <error type='DTE'>%s</error>\n", dte_reason.data());
fprintf(file_stream_, " </testcase>\n");
break; }
case Inconc: {
fprintf(file_stream_, " <testcase classname='%s' name='%s' time='%f'>\n", module_name.data(), tc_name.data(), time);
fprintf(file_stream_, " <failure type='inconclusive-verdict'>%s\n", reason.data());
fprintf(file_stream_, "%s\n", stack_trace.data());
fprintf(file_stream_, " </failure>\n");
fprintf(file_stream_, " </testcase>\n");
break; }
default:
fprintf(file_stream_, " <testcase classname='%s' name='%s' time='%f'/>\n", module_name.data(), tc_name.data(), time);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment