File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,11 @@ case "$OS" in
107107 Linux|Darwin) CAPS+=(symlink) ;;
108108esac
109109
110+ # python3: a small number of E2E assertions inspect JSON structurally. Keep
111+ # this explicit so those tests skip honestly on minimal local runners instead
112+ # of either failing at runtime or declaring an unknown capability.
113+ command -v python3 & > /dev/null && CAPS+=(python3)
114+
110115# nasm: the x86 assembler for .asm sources (PATH — including the xlings
111116# subos shim — or the mcpp sandbox tool dir).
112117if command -v nasm & > /dev/null \
@@ -143,7 +148,7 @@ echo "Detected capabilities: ${CAPS[*]:-<none>}"
143148# CAPS+=() calls above by tests/e2e/README or by reading them -- keep it in
144149# sync when adding a capability.
145150KNOWN_CAPS=(elf fresh-sandbox gcc import-std-libcxx macos mingw-cross msvc
146- musl nasm no-msvc pack patchelf scan-deps symlink unix-shell
151+ musl nasm no-msvc pack patchelf python3 scan-deps symlink unix-shell
147152 windows wine)
148153
149154bad_tokens=0
You can’t perform that action at this time.
0 commit comments