Tests for std::system_error constructor marked as "slightly non-portable". One (but not the only one) reason for such non-portability is that these tests assume the default locale to be set to "C" (or "POSIX"). However, the default locale for the process depends on OS and environment. This patch adds explicit setting of the correct locale expected by the tests.
Details
Details
- Reviewers
EricWF mclow.lists ldionne - Group Reviewers
Restricted Project - Commits
- rG9f19cc8cac89: [libcxx][test] Portability fix for some locale-dependent tests.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the fix! Can you please provide "First Last <email@domain.com>" for the Git commit information?