[libcxx-commits] [PATCH] D98141: [libcxx] [test] Disable a test regarding error behaviour for excessively long paths on windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 7 08:42:20 PST 2021
mstorsjo updated this revision to Diff 328874.
mstorsjo added a comment.
Reupload, rebased closer to main to hopefully fix patch application
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98141/new/
https://reviews.llvm.org/D98141
Files:
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
+++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
@@ -85,6 +85,9 @@
TEST_CHECK_THROW(filesystem_error, exists(file));
}
+#ifndef _WIN32
+// Checking for the existance of an invalidly long path name doesn't
+// trigger errors on windows.
TEST_CASE(test_name_too_long) {
std::string long_name(2500, 'a');
const path file(long_name);
@@ -93,5 +96,6 @@
TEST_CHECK(exists(file, ec) == false);
TEST_CHECK(ec);
}
+#endif
TEST_SUITE_END()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98141.328874.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210307/c2805901/attachment.bin>
More information about the libcxx-commits
mailing list