From b6354cdcba878ba779677c341a65f98ff9472f0b Mon Sep 17 00:00:00 2001 From: Andrei Horodniceanu Date: Wed, 2 Jul 2025 21:24:06 +0300 Subject: [PATCH] tests/extra/tc_ufcs_all_kinds: enforce a consistent locale gdc can output error messages in the system language which can break the regex mactches the code relies on. Signed-off-by: Andrei Horodniceanu --- tests/extra/tc_ufcs_all_kinds/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/extra/tc_ufcs_all_kinds/run.sh b/tests/extra/tc_ufcs_all_kinds/run.sh index 6f3bb9e..d6688b2 100755 --- a/tests/extra/tc_ufcs_all_kinds/run.sh +++ b/tests/extra/tc_ufcs_all_kinds/run.sh @@ -19,4 +19,6 @@ else fi export DC ERROR_STYLE +# gdc uses language specific error message +export LC_ALL=${LC_ALL:-"C.UTF-8"} ${DC} -run generate_tests.d "${1}"