From 5ad6ed529859e5408f170166ef5c380e0bb62b27 Mon Sep 17 00:00:00 2001 From: Marek Kurdej Date: Fri, 4 Dec 2020 20:04:09 +0100 Subject: [PATCH] [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". --- .../filesystems/class.path/path.nonmember/path.factory.pass.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 9df81f4..6885c4e 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(); -- 2.7.4