Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-11-24 17:00:44 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-11-24 17:00:44 +0300
commit6c384945a87cc4f20ce6012e74f94936c7356201 (patch)
treed2aa185cdddd9762f0c9cbbae96dac0e980789b9 /test
parent63cfa5af86526937360189594852605d6384dddf (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.cpp3
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)