[all-commits] [llvm/llvm-project] dfc724: [lldb] Don't add no-sandbox entitlement when runni...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Tue Oct 13 06:09:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dfc72439529c49e8bfeab9d604b1aa1cac7d89e8
https://github.com/llvm/llvm-project/commit/dfc72439529c49e8bfeab9d604b1aa1cac7d89e8
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M lldb/packages/Python/lldbsuite/test/builders/darwin.py
A lldb/packages/Python/lldbsuite/test/make/entitlements-simulator.plist
Log Message:
-----------
[lldb] Don't add no-sandbox entitlement when running tests on simulator
It seems that if codesigning the test executables with the
`com.apple.private.security.no-sandbox` entitlement then the simulator refuses
to launch them and every test fails with `Process launch failed: process exited
with status -1 (no such process.)`.
This patch checks if we're trying to run the test suite on the simulator and
then avoids signing the executable with `no-sandbox`.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D89052
More information about the All-commits
mailing list