mirror of https://github.com/flysand7/ciabatta.git
Add failure message to JUnit output
This commit is contained in:
parent
805ed17f93
commit
8b828d4906
|
@ -387,7 +387,7 @@ static void junit_write(char *path, Test_Feature *features) {
|
||||||
if(!test->is_succeeded) {
|
if(!test->is_succeeded) {
|
||||||
fprint_fmt(xml, " <failure message=\"crt.c(%d): %s\" type=\"ERROR\">\n",
|
fprint_fmt(xml, " <failure message=\"crt.c(%d): %s\" type=\"ERROR\">\n",
|
||||||
test->line, test->error_msg);
|
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");
|
fprint_fmt(xml, " </failure>\n");
|
||||||
}
|
}
|
||||||
test_id += 1;
|
test_id += 1;
|
||||||
|
|
Loading…
Reference in New Issue