16e2ba19dfffdcf9bba202eb8a27fd79e3d15303 |
|
18-Jan-2017 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[libcxx] [test] Fix comment typos, strip trailing whitespace. No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
0e5ebbc77c3c2cfd7d835fcfe40fcb65df0c5598 |
|
24-Dec-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix unused parameters and variables git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
374a33d1b9a9808c3f641867bb5e68a8e93bd9ca |
|
21-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Allow the libc++ build/source paths to contain symlinks. The filesystem tests were expecting the paths to the build/source directories did not contain any symlinks. This patch resolves those symlinks before running the test suite. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
29c26b91df36522bf83d4a5ceb37f75c32b360ed |
|
18-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix SleepFor(...) helper when a monotonic clock is not available. Single threaded builds often don't provide a monotonic clock, so we can't always provide a monotonic SleepFor(...) implementation. Hopefully this won't cause the builds to hang. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
87a10657472d255cae350aa4e63c77ac7cfafb2a |
|
18-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Use monotonic clock in synthetic SleepFor test helper git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
880e38b206ee452f777922dfa61a959cee0067cb |
|
18-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix 3 bugs in filesystem tests and implementation. This patch fixes the following bugs, all of which were discovered while testing a 32 bit build on a 64 bit machine. * path.itr/iterator.pass.cpp has undefined behavior. 'path::iterator' stashes the value of the element inside the iterator. This violates the BiDirIterator requirements but is allowed for path::iterator. However this means that using reverse_iterator<path::iterator> has undefined behavior because it assumes that 'Iter tmp = it; return *tmp' will not create a dangling reference. However it does, and this caused this particular test to fail. * path.native.obs/string_alloc.pass.cpp tested the SSO with a long string. On 32 bit builds std::wstring only has the SSO for strings of size 2. The test was using a string of size 4. * fs.op.space/space.pass.cpp had overflows while calculating the expected values. The fix here is to convert the statvfs data members to std::uintmax_t before multiplying them. The internal implementation already does this but the tests needed to do it as well. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
40d9e09d892af387d97a8ab507f440ff027cd206 |
|
17-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Get filesystem tests passing for single-threaded configurations. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/filesystem_test_helper.hpp
|
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/support/filesystem_test_helper.hpp
|