This is an archive of the discontinued LLVM Phabricator instance.

[LLDB] Force message formatting to English
ClosedPublic

Authored by aganea on Nov 19 2019, 7:25 AM.

Details

Summary

This is a follow-up on D53092, and fixes the test below on non-English locales (below, on a French locale):

[ RUN      ] StatusTest.ErrorWin32
F:\llvm-project\lldb\unittests\Utility\StatusTest.cpp(67): error:       Expected: "Access is denied. "
To be equal to: s.AsCString()
      Which is: "Acc\xE8s refus\xE9. "
F:\llvm-project\lldb\unittests\Utility\StatusTest.cpp(70): error:       Expected: "Negotiation timed out "
To be equal to: s.AsCString()
      Which is: "Le d\xE9lai d\x92" "attente a expir\xE9 pour la n\xE9gociation "
[  FAILED  ] StatusTest.ErrorWin32 (2 ms)

Diff Detail

Event Timeline

aganea created this revision.Nov 19 2019, 7:25 AM
aganea added a reviewer: rnk.Nov 21 2019, 8:49 AM
rnk accepted this revision.Nov 22 2019, 12:21 PM

lgtm

This revision is now accepted and ready to land.Nov 22 2019, 12:21 PM
This revision was automatically updated to reflect the committed changes.