Details
- Reviewers
• Quuxplusone ldionne - Group Reviewers
Restricted Project - Commits
- rG0d5b35934e01: [libcxx] [test] Narrow down a MinGW bug workaround in rand.dist.uni.int/eval.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I think my comment is worth pursuing, but if it doesn't work out, then I think this is a vast improvement anyway. Thanks!
libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp | ||
---|---|---|
136 | Is there an easy way to just change this ifdef, assuming it controls the trouble spot in Clang 13? |
libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp | ||
---|---|---|
136 | Oh, indeed, that works (I never checked that far in the source before) and is even nicer. |
LGTM if CI is green!
I observe that unfortunately we set TEST_BUGGY_FOO to true exactly when we don't want to test the buggy foo; but I think my original logic there was that TEST_ was a prefix for all test macros, and so the name of the macro was meant to signify "(We're in a) test, and foo is buggy." Anyway, as long as this is consistent with TEST_BUGGY_SIGNALING_NAN, I'm cool with it.
Is there an easy way to just change this ifdef, assuming it controls the trouble spot in Clang 13?
git grep TEST_BUGGY_SIGNALING_NAN libcxx/test/ to see the approach I'm thinking of.