If LLVM_CODESIGNING_IDENTITY is set, test executables need to be
codesigned.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
- Teach '%run' about code signing.
- Introduce run.py to handle code signing in commands like 'not %run …'. A '%run' substitution that includes the codesign command cannot achieve the same thing.
libcxx/test/libcxx/strings/basic.string/PR42676.sh.cpp | ||
---|---|---|
12 ↗ | (On Diff #216298) | Note to self and other reviewers: I checked and I don't think you missed this change in any other test -- all the other .sh.cpp tests already use %run. |
libcxx/utils/libcxx/test/config.py | ||
1032–1037 ↗ | (On Diff #216298) | Just to be sure there's no subtle interaction I'm missing -- this is an entirely separate change packed into this patch, correct? |
libcxx/utils/run.py | ||
40 ↗ | (On Diff #216298) | Why don't we instead use sys.argv[2:], and avoid the funny delete argv[0] calls above? |
libcxx/utils/libcxx/test/config.py | ||
---|---|---|
1032–1037 ↗ | (On Diff #216298) | Yes. I can split this out into a separate patch if it helps. It occurred to me that this was a problem when I wrote "subprocess.call(sign_cmd, env={})" in run.py, so I thought I'd fix it everywhere in one shot. |
libcxx/utils/run.py | ||
40 ↗ | (On Diff #216298) | Sounds good. I'll update the style in not.py as a follow-up. |