Commit bdf99fa
authored
test: prove the kernel against the emu-atlas machine vectors (#1542)
Adds the [emu-atlas](https://github.com/danielcopper/emu-atlas)
conformance tier, mirroring the gavel pattern: the 16 machine vectors
from release v0.1.0 are vendored byte-identical under
`tests/atlas_vectors/`, and every vector is driven through this plugin's
own kernel — the fixture file tree is materialized into `tmp_path` and
`RetroDeckPathsAdapter` + `RetroArchConfigAdapter` + `domain/save_path`
must reproduce the placements the published contract expects.
The overlap between the two codebases is partial, so an explicit
per-vector allowlist declares the check level: 8 vectors run end-to-end
(RetroDECK flavors — the saves root is this plugin's own source), 7
check the shared retroarch.cfg interpretation (standalone/native saves
roots the plugin does not model; `<content_dir>` ⇔ sort-by-content,
`<core>` ⇔ sort-by-core, ContentDir ⇔ next-to-ROMs), 1 has no plugin
equivalent (nothing-installed — the plugin always resolves fallback
paths). A collection-time guard fails the run if an upstream vector
appears or disappears without an allowlist decision — no silent skips.
Docs: sibling subsections next to the gavel tier in
`docs/contributing/development.md` and `CLAUDE.md`.1 parent 236514e commit bdf99fa
5 files changed
Lines changed: 851 additions & 0 deletions
File tree
- docs/contributing
- tests
- atlas_vectors
- machines
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
380 | 394 | | |
381 | 395 | | |
382 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
127 | 160 | | |
128 | 161 | | |
129 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments