This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Explain an XFAIL LIBCXX-WINDOWS-FIXME and convert into "UNSUPPORTED"
ClosedPublic

Authored by mstorsjo on May 12 2021, 12:45 PM.

Details

Summary

This particular test relies on internal details from the libc++
filesystem implementation header, and those details are structured
differently in the implementation for windows.

Diff Detail

Event Timeline

mstorsjo requested review of this revision.May 12 2021, 12:45 PM
mstorsjo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2021, 12:45 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
curdeius added inline comments.
libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp
16

Your patch description said that it was going to be converted into UNSUPPORTED, right?

mstorsjo added inline comments.May 13 2021, 10:53 AM
libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp
16

Oh, right. What do you think, which marking would be better here?

curdeius accepted this revision as: curdeius.May 14 2021, 8:28 AM
curdeius added inline comments.
libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp
16

No strong feelings here. I'd probably go for unsupported. Your comment clearly explains why it is so IMO. Also, unless you think it will change in a foreseeable future, it makes no sense to me to XFAIL.
But, yeah, I leave it to you (and other reviewers).

Mordante accepted this revision.May 25 2021, 9:58 AM
Mordante added a subscriber: Mordante.

Some small nits other than that LGTM. The UNSUPPORTED change shouldn't break anything, but please keep eye out. Alternatively give it another CI run and land it after the build passes.

libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.pass.cpp
13

Please capitalize Windows.

16

Reading the comment I think UNSUPPORTED would be better.

This revision is now accepted and ready to land.May 25 2021, 9:58 AM