Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc++] [test] Generate static_test_env on the fly
Summary: Instead of storing `static_test_env` (with all the symlinks) in the repo, we create it on the fly to be cross-toolchain-friendly. The primary use case for this are Windows-hosted cross-toolchains. Windows doesn't really have a concept of symlinks. So, when the monorepo is cloned, those symlinks turn to ordinary text files. Previously, if we cross-compiled libc++ for some symlink-friendly system (e. g. Linux) and ran tests on the target system, some tests would fail. This patch makes them pass. Reviewers: ldionne, #libc Reviewed By: ldionne, #libc Subscribers: EricWF, dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D78200
- Loading branch information
1 parent
718a292
commit 52cc8ba
Showing
60 changed files
with
519 additions
and
426 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/bad_symlink
This file was deleted.
Oops, something went wrong.
Empty file removed
0
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/dir1/dir2/afile3
Empty file.
Empty file removed
0
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/dir1/dir2/dir3/file5
Empty file.
Empty file removed
0
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/dir1/dir2/file4
Empty file.
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/dir1/dir2/symlink_to_dir3
This file was deleted.
Oops, something went wrong.
Empty file.
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/dir1/file2
This file was deleted.
Oops, something went wrong.
Empty file.
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/non_empty_file
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/symlink_to_dir
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
libcxx/test/std/input.output/filesystems/Inputs/static_test_env/symlink_to_empty_file
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.