This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix tests of <cuchar> that unexpectedly succeed on windows
ClosedPublic

Authored by mstorsjo on Mar 22 2021, 10:54 AM.

Details

Summary

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.

Diff Detail

Event Timeline

mstorsjo requested review of this revision.Mar 22 2021, 10:54 AM
mstorsjo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 10:54 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Mar 30 2021, 12:21 PM
Mordante added a subscriber: Mordante.

Maybe update the comment that these changes can be removed in D97870. Other than that LGTM.

This revision is now accepted and ready to land.Mar 30 2021, 12:21 PM
Mordante requested changes to this revision.Mar 30 2021, 12:22 PM
This revision now requires changes to proceed.Mar 30 2021, 12:22 PM
Mordante accepted this revision as: Mordante.Mar 30 2021, 12:23 PM

Sorry accidentally accepted for libc++.

mstorsjo updated this revision to Diff 334251.Mar 30 2021, 1:03 PM

Reuploading to clear the "needs revision" status

mstorsjo updated this revision to Diff 334253.Mar 30 2021, 1:06 PM

... now also amended with the requested comment.

ldionne accepted this revision.Mar 30 2021, 1:58 PM
ldionne added a subscriber: ldionne.

LGTM. Sorry, didn't mean to block this on D97870.

This revision is now accepted and ready to land.Mar 30 2021, 1:58 PM