Author: Marek Kurdej
Date: 2020-12-04T20:04:35+01:00
New Revision: 5ad6ed529859e5408f170166ef5c380e0bb62b27

URL: 
https://github.com/llvm/llvm-project/commit/5ad6ed529859e5408f170166ef5c380e0bb62b27
DIFF: 
https://github.com/llvm/llvm-project/commit/5ad6ed529859e5408f170166ef5c380e0bb62b27.diff

LOG: [libc++] [test] Disable parts of path.factory.pass.cpp as requiring 
localization enabled.

It was added in commit 6be11e35d5397ae1c117eb840a969585fdd7d08d, "[libcxx] 
Implement c++2a char8_t input/output of std::filesystem::path".

Added: 
    

Modified: 
    
libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp

Removed: 
    


################################################################################
diff  --git 
a/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
 
b/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
index 9df81f4c6ae0..6885c4e49064 100644
--- 
a/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
+++ 
b/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
@@ -49,7 +49,8 @@ int main(int, char**)
     path p = fs::u8path(In3, In3End);
     assert(p == In1);
   }
-#if TEST_STD_VER > 17 && defined(__cpp_char8_t) && defined(_LIBCPP_VERSION)
+#if TEST_STD_VER > 17 && defined(__cpp_char8_t) && defined(_LIBCPP_VERSION) && 
\
+    !defined(_LIBCPP_HAS_NO_LOCALIZATION)
   const char8_t* u8In1 = u8"abcd/efg";
   const std::u8string u8In2(u8In1);
   const auto u8In3 = u8In2.begin();


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to