[all-commits] [llvm/llvm-project] bca92b: [bazel] Allow SupportTests to be built remotely an...

Angus Lees via All-commits all-commits at lists.llvm.org
Thu Jan 2 09:33:27 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bca92b12588d63556b749b4627af0112cd2d05c6
      https://github.com/llvm/llvm-project/commit/bca92b12588d63556b749b4627af0112cd2d05c6
  Author: Angus Lees <gus at inodes.org>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel] Allow SupportTests to be built remotely and cached (#121375)

`SupportTests` fails in the bazel macOS sandbox, because
`FileSystemTest.permissions` expects to be able to modify file
permissions on some otherwise protected files.

Previously this test was marked `local` in bazel, which has
additional undesirable effects such as skipping remote build and cache.

Tighten the bazel tags to just `no-sandbox`.  Note in particular, that
this allows the test to build, execute, and cache remotely (if
configured).

Testing:
- Verified this test fails (as expected) on macOS with no tags, and
  passes with `no-sandbox`.
- Verified this test passes when executed remotely (using an Engflow RBE
  setup) with `no-sandbox`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list