Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use locale 'C' for running tests. This fixes #17423 #17463

Merged
merged 2 commits into from
Sep 24, 2014

Conversation

oskchaitanya
Copy link
Contributor

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.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

@@ -60,6 +60,9 @@ ifdef VERBOSE
CTEST_TESTARGS += --verbose
endif

LC_ALL=C
export LC_ALL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice find!

Could you add a doc-block explaining why we're doing this as well? You may also be able to collapse this to one line:

export LC_ALL = C

bors added a commit that referenced this pull request Sep 24, 2014
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.
@bors bors closed this Sep 24, 2014
@bors bors merged commit 2443dd0 into rust-lang:master Sep 24, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GDB debuginfo tests depend on operating system locale
4 participants