[libcxx][pretty printers] Correct locale for u16/u32 string tests
When the locale is not some UTF-8 these tests fail. (different results for python2 linked gdbs vs. python3 but same issue) Setting the locale just for the test works around this. By default Ubuntu comes with just C.UTF-8. I've chosen to use en_US.UTF-8 instead given that my Mac doesn't have the former and there's a slim chance this test might run there. This also enables the u16string tests which are now passing. Reviewed By: #libc, ldionne, saugustine Differential Revision: https://reviews.llvm.org/D111138
Loading
Please register or sign in to comment