From e64507638e5cb88132bfc9beed269095f4feff62 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Mon, 19 Jan 2026 23:26:53 +0800 Subject: [PATCH] tests/lib/ux_locales-test: Avoid double quotes in CMUnitTest.name From the Jenkins result of CB:90798, it appears that the generated junit-tests_lib_ux_locales-test(tests).xml is not a valid XML file possibly due to incorrect quotes handling by cmocka. Therefore, in the UX_LOCALES_GET_TEXT_TEST macro definition, replace `#_expect` with `_expect`, so that the `name` field of the CMUnitTest struct won't contain double quotes. Change-Id: Idfec437ae627208031854694e66ca79e22132385 Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/90801 Reviewed-by: Jakub "Kuba" Czapiga Tested-by: build bot (Jenkins) --- tests/lib/ux_locales-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/ux_locales-test.c b/tests/lib/ux_locales-test.c index 4edac5c9d2..8d643e6e11 100644 --- a/tests/lib/ux_locales-test.c +++ b/tests/lib/ux_locales-test.c @@ -191,7 +191,7 @@ static void test_ux_locales_null_terminated(void **state) #define UX_LOCALES_GET_TEXT_TEST(_msg_id, _lang_id, _expect) \ ((struct CMUnitTest) { \ .name = "test_ux_locales_get_text(msg_id=" #_msg_id ", lang_id=" #_lang_id \ - ", expect=" #_expect ")", \ + ", expect=" _expect ")", \ .test_func = test_ux_locales_get_text, \ .setup_func = setup_default, \ .teardown_func = teardown_unmap, \