container
container copied to clipboard
Integration coverage xpc helpers
Type of Change
- [ ] Bug fix
- [X] New feature
- [ ] Breaking change
- [ ] Documentation update
Motivation and Context
This fixes the LLVM coverage data not properly being emitted for XPC
services. It requires piping the LLVM_PROFILE_FILE environment
variable through to all the services and plugins. The variable itself
also required the "%c" formatter to ensure that it continuously emits
coverage data, otherwise when XPC services are killed via "bootout" they
do not emit coverage.
Testing
- [X] Tested locally
- [ ] Added/updated tests
- [ ] Added/updated docs
Code Coverage
| Tier | Line Coverage |
|---|---|
| Unit | 22.69% |
| Integration | 68.59% |
| Combined | 76.94% |