diff options
| author | O S K Chaitanya <osk@medhas.org> | 2014-09-23 02:20:19 +0200 |
|---|---|---|
| committer | O S K Chaitanya <osk@medhas.org> | 2014-09-23 03:07:39 +0200 |
| commit | 23ba9072e1e3cd15c7e6fc5f2518680f2018a7b0 (patch) | |
| tree | 191b2a773e902cf0df8069be25eb7b5466acfd7c | |
| parent | 437179ed8bf7f7672f84b19265df1ce569e70490 (diff) | |
| download | rust-23ba9072e1e3cd15c7e6fc5f2518680f2018a7b0.tar.gz rust-23ba9072e1e3cd15c7e6fc5f2518680f2018a7b0.zip | |
Use locale 'C' for running tests. Closes #17423
| -rw-r--r-- | mk/tests.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/tests.mk b/mk/tests.mk index d28b80a5978..12bc9192627 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -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) |
