llvm-project/libcxx/test/std/input.output/filesystems
Sergej Jaskiewicz 377a1c80e9 [libcxx] Don't assume cwd name in std::filesystem tests
Summary:
In `std::filesystem::proximate` tests we assume that the current working directory's name
is `fs.op.proximate`. This is fine when we're running the tests locally.

However, if we're running those tests on a remote machine via SSH, the directory layout may be
different. For example, currently we copy each test executable individually into
a temporary directory on the target board using SCP, so the assumption about the working directory name
doesn't necessarily hold.

This patch is the only thing that is necessary for all libc++ tests to pass when run remotely.

Reviewers: ldionne, EricWF, mclow.lists

Reviewed By: ldionne, EricWF

Subscribers: christof, dexonsmith, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D74348
2020-02-12 16:08:17 +03:00
..
Inputs/static_test_env Revert "[libc++] Build <filesystem> support as part of the dylib" 2019-03-19 19:27:29 +00:00
class.directory_entry libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
class.directory_iterator libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
class.file_status libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
class.filesystem_error libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
class.path [libcxx][test][NFC] Fix comment typos. 2019-10-22 15:22:13 -07:00
class.rec.dir.itr libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.enum libcxx: Rename last two .hpp files in libcxx to .h 2019-08-21 22:38:38 +00:00
fs.error.report Revert "[libc++] Build <filesystem> support as part of the dylib" 2019-03-19 19:27:29 +00:00
fs.filesystem.synopsis libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.funcs [libcxx] Don't assume cwd name in std::filesystem tests 2020-02-12 16:08:17 +03:00
fs.req.macros [NFC] Strip trailing whitespace from libc++ 2019-10-23 11:19:19 -07:00
fs.req.namespace Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
lit.local.cfg [libc++][NFC] Remove excess trailing newlines from most files 2019-10-23 08:08:57 -07:00