xiaodu55 0f4c05bf28
fix(tests): skip POSIX-host-bound contract tests on Windows dev hosts (#5931)
22 backend tests assert facilities that only exist on a POSIX host and
hard-fail on Windows (CI is ubuntu-latest, so upstream never sees them):

- test_extension_dependency_sync.py: 11 tests spawn bare 'make -n';
  hosts without GNU make get WinError 2 (make is not part of the
  documented Windows setup).
- test_lark_broker.py: 10 tests execute the '#!' fake lark-cli / shim /
  launcher scripts; CreateProcess cannot run shebang scripts
  (WinError 193).
- test_bench_sandbox_provider.py: the boxlite shim workaround test
  asserts POSIX exec-bit semantics after os.chmod; Windows has no
  execute bit and boxlite sandboxes are Linux-only.

Each now skips with an explicit reason when its facility is absent;
Linux/CI coverage is unchanged. On a Windows host the three files go
from 22 failed to 0 failed / 22 skipped.

Fixes #5930
2026-09-27 10:43:19 +08:00
..