summaryrefslogtreecommitdiffstats
path: root/test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-08-15 21:24:50 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-08-15 21:24:50 +0000
commitea714e73a6a59da8161762a588b8fd5d28ab45b7 (patch)
tree22c7e1ccde6d692c3e8e095c1e0d152ab16950c8 /test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp
parentc2141dfff2843758185d60e3a5d3913a146d29f8 (diff)
downloadexternal_libcxx-ea714e73a6a59da8161762a588b8fd5d28ab45b7.tar.gz
external_libcxx-ea714e73a6a59da8161762a588b8fd5d28ab45b7.tar.bz2
external_libcxx-ea714e73a6a59da8161762a588b8fd5d28ab45b7.zip
libcxx: Fix path.compare.pass expected result
The expected 'filesystem::path::compare' result states that for different path only result sign contains the information about passed arguments (not its integer value). This is due it uses the output of other compare functions (basic_string_view and char_traits) without further handling and char_traits uses memcmp for final buffer comparison. However for GLIBC on AArch64 the code: int ret = memcmp ("b/a/c", "a/b/c", 1); Results in '64' where for x86_64 it results in '1'. This patch fixes the expected 'filesystem::path::compare' by normalizing all the results before assert comparison. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@278745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std/containers/unord/unord.map/unord.map.cnstr/allocator.pass.cpp')
0 files changed, 0 insertions, 0 deletions