Commit cac0fa88 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix Junit XML generation

parent 44b6cd9e
Pipeline #392 passed with stage
in 0 seconds
......@@ -296,10 +296,11 @@ static void automated_test_start_message_handler(const CU_pTest pTest, const CU_
if (bJUnitXmlOutput == CU_TRUE) {
fprintf(f_pTestResultFile,
" <testsuite errors=\"%u\" tests=\"%u\" name=\"%s\"> \n",
" <testsuite errors=\"%u\" tests=\"%u\" name=\"%s\" failures=\"%u\" errors=\"0\" skipped=\"0\"> \n",
0 , /* Errors */
pSuite->uiNumberOfTests, /* Tests */
(NULL != szTempName) ? szTempName : ""); /* Name */
(NULL != szTempName) ? szTempName : "", /* Name */
pSuite->uiNumberOfTestsFailed);
} else {
fprintf(f_pTestResultFile,
" <BCUNIT_RUN_SUITE> \n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment