escaped_output.unicode.pass.cpp is failing only on 32-bit AIX. The rest are passing.
Details
- Reviewers
daltenty nicolerabjohn Mordante - Group Reviewers
Restricted Project - Commits
- rG7ad7b3275f70: [AIX] Adjust support of format function tests
Diff Detail
Event Timeline
Looks like we are hitting some problems with this in the pre-commit CI: https://buildkite.com/llvm-project/libcxx-ci/builds/22809#0187b445-2075-4aa1-a453-a0aa2cc8287e
I see - I was testing on 64-bit, but this test only fails on 32-bit AIX because _LIBCPP_SHORT_WCHAR gets defined.
LGTM when the CI passes. Since I don't have access to a system with a 16-bit wchar_t it would be great if you could look at fixing the tests too.
Since I don't have access to a system with a 16-bit wchar_t it would be great if you could look at fixing the tests too.
@Mordante The test fails at the assert(false); line after calling test_ill_formed_utf16(). I haven't looked into the test in depth, so forgive me if it's obvious, but the other functions test_ill_formed_utf8() and test_ill_formed_utf32() don't assert false, so it looks like this was a mistake.
I'm still happy with this patch.
At some point I will look into this. The main issue is that the CI doesn't give nice output when things fails for wide strings. I probably write an wide to narrow string transcoder so the CI has readable output. (But this is a bit low on my priority list.)