Use locale 'C' for running tests. Closes #17423

This commit is contained in:
O S K Chaitanya 2014-09-23 02:20:19 +02:00
parent 437179ed8b
commit 23ba9072e1
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ ifdef VERBOSE
CTEST_TESTARGS += --verbose
endif
# Setting locale ensures that gdb's output remains consistent.
# This prevents tests from failing with some locales (fixes #17423).
export LC_ALL=C
# If we're running perf then set this environment variable
# to put the benchmarks into 'hard mode'
ifeq ($(MAKECMDGOALS),perf)