[libcxx] [test] Fix tests of <cuchar> that unexpectedly succeed on windows
authorMartin Storsjö <martin@martin.st>
Sat, 20 Mar 2021 22:25:57 +0000 (00:25 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 31 Mar 2021 06:05:47 +0000 (09:05 +0300)
commit4a0a85becc9e19d288b5adcf713cb9e135c7f022
tree81158d3b8e9f40de15e99c71f1449c5e7b7108ea
parent32ca5a037ab9191d570bf9b5e0f13e28c3db27d9
[libcxx] [test] Fix tests of <cuchar> that unexpectedly succeed on windows

The tests expect that the <cuchar> include should fail. When libc++
is built on top of the MSVC runtime, the header does exist provided
by MSVC. Therefore, just mark the test as unsupported on windows,
to avoid tests that unexpectedly succeed.

Differential Revision: https://reviews.llvm.org/D99096
libcxx/test/libcxx/strings/c.strings/version_cuchar.pass.cpp
libcxx/test/std/strings/c.strings/cuchar.pass.cpp