Skip to content

Commit

Permalink
auto merge of #17463 : oskchaitanya/rust/master, r=alexcrichton
Browse files Browse the repository at this point in the history
Setting LC_ALL to C helps keep gdb's output consistent ('print' gives us expected output). This fixes #17423. I do not have access to a windows/mac machines to test this. I've only tested it on an x86_64 linux box.
  • Loading branch information
bors committed Sep 24, 2014
2 parents d8af469 + 2443dd0 commit d853666
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mk/tests.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,14 @@ 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)
RUST_BENCH=1
export RUST_BENCH
export RUST_BENCH=1
endif

TEST_LOG_FILE=tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
Expand Down

0 comments on commit d853666

Please sign in to comment.