Skip to content

Commit 23ba907

Browse files
committed
Use locale 'C' for running tests. Closes #17423
1 parent 437179e commit 23ba907

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mk/tests.mk

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ ifdef VERBOSE
6060
CTEST_TESTARGS += --verbose
6161
endif
6262

63+
# Setting locale ensures that gdb's output remains consistent.
64+
# This prevents tests from failing with some locales (fixes #17423).
65+
export LC_ALL=C
66+
6367
# If we're running perf then set this environment variable
6468
# to put the benchmarks into 'hard mode'
6569
ifeq ($(MAKECMDGOALS),perf)

0 commit comments

Comments
 (0)