Skip to content

Commit b6354cd

Browse files
committed
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 <[email protected]>
1 parent af0f8c3 commit b6354cd

File tree

1 file changed

+2
-0
lines changed
  • tests/extra/tc_ufcs_all_kinds

1 file changed

+2
-0
lines changed

tests/extra/tc_ufcs_all_kinds/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ else
1919
fi
2020

2121
export DC ERROR_STYLE
22+
# gdc uses language specific error message
23+
export LC_ALL=${LC_ALL:-"C.UTF-8"}
2224
${DC} -run generate_tests.d "${1}"

0 commit comments

Comments
 (0)