History log of /external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.compare.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ea714e73a6a59da8161762a588b8fd5d28ab45b7 15-Aug-2016 Adhemerval Zanella <adhemerval.zanella@linaro.org> 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
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.compare.pass.cpp
2645dbe87f85bd563a623cf36e2c1917b3c45117 23-Jul-2016 Eric Fiselier <eric@efcs.ca> Implement P0392r0. Integrate filesystem::path and string_view.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.compare.pass.cpp
6e9a694dce70319e60dbdfb09cf055bacb4c948e 17-Jun-2016 Eric Fiselier <eric@efcs.ca> Add Filesystem TS -- Complete

Add the completed std::experimental::filesystem implementation and tests.
The implementation supports C++11 or newer.

The TS is built as part of 'libc++experimental.a'. Users of the TS need to
manually link this library. Building and testing the TS can be disabled using
the CMake option '-DLIBCXX_ENABLE_FILESYSTEM=OFF'.

Currently 'libc++experimental.a' is not installed by default. To turn on the
installation of the library use '-DLIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=ON'.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.compare.pass.cpp