From 8b828d4906b848e37a30050827fdfc6e807d3f1b Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sun, 25 Jun 2023 04:41:21 +1100 Subject: [PATCH] Add failure message to JUnit output --- tests/crt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/crt.c b/tests/crt.c index 7782cb7..d194b55 100644 --- a/tests/crt.c +++ b/tests/crt.c @@ -387,7 +387,7 @@ static void junit_write(char *path, Test_Feature *features) { if(!test->is_succeeded) { fprint_fmt(xml, " \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, " \n"); } test_id += 1;