Commit 3272622
committed
test(gate): skip Linux-only fixture/driver tests on Windows
The new Spec 081 gate helpers are Linux-only: cmd/mcpfixture is built and run
exclusively on the ubuntu-latest gate runner and inside the linux/amd64 Docker
image, and cmd/release-gate runs only on the gate runner. Their tests exercise
Unix-only semantics — exec of the built fixture + SIGTERM restart, and a
copyFile owner-execute (0o100) bit — which the cross-compilation 'PR Build'
Windows job cannot satisfy (exec-not-found without .exe, no Unix perm bits),
turning them red. Guard them with runtime.GOOS=="windows" skips; full coverage
is retained on Linux where these helpers actually run.1 parent 5fb9542 commit 3272622
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
173 | 186 | | |
174 | 187 | | |
175 | 188 | | |
| 189 | + | |
176 | 190 | | |
177 | 191 | | |
178 | 192 | | |
| |||
199 | 213 | | |
200 | 214 | | |
201 | 215 | | |
| 216 | + | |
202 | 217 | | |
203 | 218 | | |
204 | 219 | | |
| |||
220 | 235 | | |
221 | 236 | | |
222 | 237 | | |
| 238 | + | |
223 | 239 | | |
224 | 240 | | |
225 | 241 | | |
226 | 242 | | |
227 | 243 | | |
228 | 244 | | |
| 245 | + | |
229 | 246 | | |
230 | 247 | | |
231 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
526 | 534 | | |
527 | 535 | | |
528 | 536 | | |
| |||
0 commit comments