Commit 02d76d4
committed
fix(test): fix snapshot artifact discovery on aarch64
Two bugs were preventing cross-kernel restore tests from running:
1. The glob pattern only searched one level deep under
snapshot_artifacts/, but Phase 1 artifacts are nested under an
additional test-name directory. Use recursive glob (**/) to find
snapshot directories regardless of nesting depth.
2. The "None" CPU template was only added to the search list on
x86_64, so on aarch64 instances where get_supported_cpu_templates()
returns an empty list (e.g. Neoverse N1), the loop yielded zero
pytest parameters and the test was silently skipped. Always
include "None" in the search list.
Signed-off-by: Jack Thomson <jackabt@amazon.com>1 parent 3bd1eee commit 02d76d4
1 file changed
Lines changed: 2 additions & 6 deletions
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 73 | + | |
78 | 74 | | |
79 | | - | |
| 75 | + | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
0 commit comments