mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-22 21:37:38 -04:00
test: add VM-based full-stack bluetooth tests
Add tests that check PipeWire <-> PipeWire bluetooth audio streaming for A2DP, BAP, HFP. The tests use Qemu VMs and don't require Bluetooth support from HW / kernel. Full VM images are not required; similarly to BlueZ kernel tester these use (read-only) mount of host filesystem. A monolithic kernel image with suitable config is required. The bluetoothd binary installed on host is used if found; otherwise tests are skipped. These test depend on https://github.com/pv/pytest-bluezenv which manages the VM setup. To launch: python3 -m pip install pytest-bluezenv meson devenv -C builddir -w . python3 -m pytest test --kernel-build -v which also builds a kernel image with required options.
This commit is contained in:
parent
708cb6e2e8
commit
d12367e10e
4 changed files with 680 additions and 0 deletions
0
test/bluezenv/__init__.py
Normal file
0
test/bluezenv/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue