commit | 7c74668838ffc442a01c821fbfe88d9166c8108b | [log] [tgz] |
---|---|---|
author | Darren Chan <chandarren@google.com> | Thu Mar 28 18:53:55 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 28 18:53:55 2024 +0000 |
tree | 46395d51dd091094b6afa8c4fb79517d6094db0b | |
parent | 33b6f63ca9af010cd28118b8460d4e96459c2952 [diff] |
[run_tests] Ignore dangling symlinks. This replicates the CAS library's archive behavior when the TreeSymlinkOpts.FollowsTarget is true. [1] During runfiles collection some of the runfiles directories for python targets contains a dangling symlink. Specifically $execroot/$target.runfiles/_repo_mapping is a dangling symlink referencing $execroot/$target.repo_mapping. [1]: https://github.com/bazelbuild/remote-apis-sdks/blob/bcc51f0/go/pkg/client/tree.go#L69 Bug: 321267689 Change-Id: I0b07ae7cba3073dd0aac32bd0bb2ca4bcf4c1e10 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia-infra-bazel-rules/+/1016213 Reviewed-by: Oliver Newman <olivernewman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Darren Chan <chandarren@google.com>