Commit 5a5d9fa
test: skip headless engine integration tests when WAD/ffmpeg absent
The ci-6arch lane runs `go test` on the root package but never fetches
doom1.wad or installs ffmpeg (unlike go.yml). It had never gone green: the
go vet step failed first and short-circuited the job, masking the fact that
the root package's 7 movie-integration tests (TestDoomDemo/TestLoadSave/...)
hard-require doom1.wad on disk and the ffmpeg binary, and otherwise hang
(i_Error -> 10-minute timeout) on the minimal qemu containers.
Add requireEngineHarness(t), which t.Skip()s when either prerequisite is
missing, and call it at the top of the 7 integration tests. The pure-Go
determinism tests in seed_test.go (and every other package) still run on all
six arches. On amd64 go.yml fetches the WAD and installs ffmpeg, so those
integration tests run there exactly as before -- behaviour is unchanged when
the prerequisites are present.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d3b8f62 commit 5a5d9fa
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
54 | 71 | | |
55 | 72 | | |
56 | 73 | | |
| |||
227 | 244 | | |
228 | 245 | | |
229 | 246 | | |
| 247 | + | |
230 | 248 | | |
231 | 249 | | |
232 | 250 | | |
| |||
270 | 288 | | |
271 | 289 | | |
272 | 290 | | |
| 291 | + | |
273 | 292 | | |
274 | 293 | | |
275 | 294 | | |
| |||
369 | 388 | | |
370 | 389 | | |
371 | 390 | | |
| 391 | + | |
372 | 392 | | |
373 | 393 | | |
374 | 394 | | |
| |||
443 | 463 | | |
444 | 464 | | |
445 | 465 | | |
| 466 | + | |
446 | 467 | | |
447 | 468 | | |
448 | 469 | | |
| |||
487 | 508 | | |
488 | 509 | | |
489 | 510 | | |
| 511 | + | |
490 | 512 | | |
491 | 513 | | |
492 | 514 | | |
| |||
525 | 547 | | |
526 | 548 | | |
527 | 549 | | |
| 550 | + | |
528 | 551 | | |
529 | 552 | | |
530 | 553 | | |
| |||
603 | 626 | | |
604 | 627 | | |
605 | 628 | | |
| 629 | + | |
606 | 630 | | |
607 | 631 | | |
608 | 632 | | |
| |||
0 commit comments