Repository navigation
Commit cf63ab3
committed
fix(package): keep the macOS helper tests in the shipped package without a symlink
The dev-only package apple/macos-helper-tests compiled the helper sources through a
committed symlink to ../macos-helper/Sources. A symlink to a directory breaks every
tool that copies the tree: Stryker's sandbox dies on copyfile (EISDIR), which failed
both mutation jobs on this branch (run 39045124618), and it breaks Windows checkouts.
SwiftPM rejects sources outside a package root, so no split-package layout avoids the
link. Put the tests back under apple/macos-helper/Tests and keep them out of the pack
with files exclusions; ship one PackStub.swift per test target, because SwiftPM refuses
to load a package whose declared test target has no sources, and the install-time
swift build runs on exactly that packed tree.
Proof on the packed tree: swift build -c release succeeds; pnpm test:macos-helper runs
all 8 XCTest cases from the checkout; the Stryker sandbox copy and full lane pass
locally (snapshot-occlusion, envelope pass).1 parent 0bde27b commit cf63ab3
14 files changed
Lines changed: 90 additions & 90 deletions
File tree
- apple
- macos-helper-tests
- macos-helper
- Tests
- AgentDeviceMacOSHelperTests
- AgentDeviceMacOSInputTests
- scripts
- __tests__
- check-affected
- test/repo-guards
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
| |||
0 commit comments