Is the test for parallel std::is_partitioned compatible with EXHAUSTIVE? #3172
-
Hi STL devs! There's a chance that the test at It's reproducible:
Pardon the sed hackery - found this under macOS where the test fails even with the traditional serial implementation from libc++. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
We don't normally run this test with I'll submit a tiny PR with a fix / cleanup if the EDIT: I suppose the proper answer here is "No, this test is not compatible with |
Beta Was this translation helpful? Give feedback.
We don't normally run this test with
EXHAUSTIVE
defined, but it would be nice if doing so worked correctly. This case, for example, needstestSize >= 4
but isn't guarded appropriately. (The next case is fine withtestSize == 3
). There are also some redundantstd::
-qualifications in here that need cleaning up.I'll submit a tiny PR with a fix / cleanup if the
EXHAUSTIVE
run I'm validating locally ever completes.EDIT: I suppose the proper answer here is "No, this test is not compatible with
EXHAUSTIVE
, but there's no particular reason it shouldn't be."