diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-24 17:00:44 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-24 17:00:44 +0300 |
commit | 6c384945a87cc4f20ce6012e74f94936c7356201 (patch) | |
tree | d2aa185cdddd9762f0c9cbbae96dac0e980789b9 /test | |
parent | 63cfa5af86526937360189594852605d6384dddf (diff) |
Disable one of the MSVC Experimental Filesystem emulations, because it is literally insanity on a plate.
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/path_view.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tests/path_view.cpp b/test/tests/path_view.cpp index 7e051462..6a9f7993 100644 --- a/test/tests/path_view.cpp +++ b/test/tests/path_view.cpp @@ -56,7 +56,10 @@ static inline void CheckPathView(const LLFIO_V2_NAMESPACE::filesystem::path &pat CheckPathView(path, "filename()", [](const auto &p) { return p.filename(); }); CheckPathView(path, "stem()", [](const auto &p) { return p.stem(); }); CheckPathView(path, "extension()", [](const auto &p) { return p.extension(); }); +#if !(LLFIO_USING_EXPERIMENTAL_FILESYSTEM && defined(_MSC_VER)) + // remove_filename() is completely stupid on MSVC's Experimental Filesystem CheckPathView(path, "remove_filename()", [](auto p) { return p.remove_filename(); }); +#endif } static inline void CheckPathIteration(const LLFIO_V2_NAMESPACE::filesystem::path &path) |