[libcxx] [test] Avoid spurious test breakage in clang-cl-dll configs with newer CMake
authorMartin Storsjö <martin@martin.st>
Wed, 30 Mar 2022 10:34:02 +0000 (13:34 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 1 Apr 2022 07:14:17 +0000 (10:14 +0300)
commitb048397db8027fedf9380e7cf9213239d558fa29
tree9a5f52d4205b4b7e56eb8cff60bb38bbe58cb327
parent64d7f778e6d7556b1def98df70f89d162a2892fc
[libcxx] [test] Avoid spurious test breakage in clang-cl-dll configs with newer CMake

The pointer.volatile.pass.cpp test was already marked as XFAIL for
mingw-dll (for reasons explained in the comment above it).

The same issue also appears in clang-cl-dll when built with newer
CMake versions. (It didn't appear with older versions of CMake, as
CMake built the library with the clang-cl flag `-std:c++latest` when
we've requested C++ 20 - which practically built it in c++2b mode with
current clang versions. With current versions of CMake, it passes
`-std:c++20` instead.)

As it succeeds/fails dependent on factors we don't
directly control, mark it as UNSUPPORTED instead of XFAIL.

Differential Revision: https://reviews.llvm.org/D122718
libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.volatile.pass.cpp