Add failure message to JUnit output

This commit is contained in:
flysand7 2023-06-25 04:41:21 +11:00
parent 805ed17f93
commit 8b828d4906
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ static void junit_write(char *path, Test_Feature *features) {
if(!test->is_succeeded) {
fprint_fmt(xml, " <failure message=\"crt.c(%d): %s\" type=\"ERROR\">\n",
test->line, test->error_msg);
fprint_fmt(xml, " Failure message\n");
fprint_fmt(xml, " crt.c(%d):\n %s\n", test->line, test->error_msg);
fprint_fmt(xml, " </failure>\n");
}
test_id += 1;