llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs
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
..
fs.op.absolute libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.canonical libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.copy libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.copy_file libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.copy_symlink libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.create_directories libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.create_directory libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.create_directory_symlink libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.create_hard_link libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.create_symlink libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.current_path libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.equivalent libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.exists libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.file_size libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.hard_lk_ct libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_block_file libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_char_file libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_directory libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_empty libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_fifo libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_other libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_regular_file libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_socket libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.is_symlink libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.last_write_time libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.permissions libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.proximate [libcxx] Don't assume cwd name in std::filesystem tests 2020-02-12 16:08:17 +03:00
fs.op.read_symlink libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.relative [libcxx][test][NFC] Fix comment typos. 2019-10-22 15:22:13 -07:00
fs.op.remove libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.remove_all libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.rename libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.resize_file libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.space libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.status libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.status_known libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.symlink_status libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.temp_dir_path libcxx: Rename .hpp files in libcxx/test/support to .h 2019-08-21 00:14:12 +00:00
fs.op.weakly_canonical [libcxx][test][NFC] Fix comment typos. 2019-10-22 15:22:13 -07:00