Commit 8f5e72c3 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Fix last commit

Use pull request to avoid this again
Use true Junit XML format
parent cac0fa88
Pipeline #537 passed with stage
in 0 seconds
......@@ -296,11 +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\" failures=\"%u\" errors=\"0\" skipped=\"0\"> \n",
0 , /* Errors */
pSuite->uiNumberOfTests, /* Tests */
" <testsuite name=\"%s\" tests=\"%u\" time=\"0\" failures=\"%u\" errors=\"%u\" skipped=\"0\"> \n",
(NULL != szTempName) ? szTempName : "", /* Name */
pSuite->uiNumberOfTestsFailed);
pSuite->uiNumberOfTests, /* Tests */
pSuite->uiNumberOfTestsFailed, /* Tests failure */
0); /* Errors */
} 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