Skip to content

Commit be5242e

Browse files
committed
test(e2e): register qemu-arm in KNOWN_CAPS
The harness validates every `# requires:` token against a master list before running anything, so a capability that is only added to the Linux detection branch aborts every suite on every platform. CI caught it: the msvc job failed with "declares unknown capability 'qemu-arm'" while the bare-metal job — the one that has the emulator — passed. That is the guard working. A token absent from this list would otherwise match nothing and the test would skip everywhere while looking supported.
1 parent 2bcc0cd commit be5242e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/run_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ echo "Detected capabilities: ${CAPS[*]:-<none>}"
221221
# CAPS+=() calls above by tests/e2e/README or by reading them -- keep it in
222222
# sync when adding a capability.
223223
KNOWN_CAPS=(elf fresh-sandbox gcc import-std-libcxx jq llvm macos mingw
224-
mingw-cross msvc musl nasm no-msvc pack patchelf python3 qemu-riscv
225-
scan-deps symlink unix-shell windows wine xlings-msvc)
224+
mingw-cross msvc musl nasm no-msvc pack patchelf python3 qemu-arm
225+
qemu-riscv scan-deps symlink unix-shell windows wine xlings-msvc)
226226

227227
bad_tokens=0
228228
for tf in "$HERE"/[0-9]*.sh; do

0 commit comments

Comments
 (0)