Revert "Merge remote-tracking branch 'aosp/upstream-main' into HEAD" am: 6f85d6f147

Original change: https://android-review.googlesource.com/c/platform/external/pandora/avatar/+/2647672

Change-Id: Idab073a78920f3a7eff63fff9b2768522d10b921
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: b24e912f26a7d10725df1f80dceb2c3ca786beba
  1. .github/
  2. avatar/
  3. cases/
  4. .gitignore
  5. Android.bp
  6. CONTRIBUTING.md
  7. LICENSE
  8. METADATA
  9. MODULE_LICENSE_APACHE2
  10. OWNERS
  11. pyproject.toml
  12. README.md
README.md

Avatar

Avatar aims to provide a scalable multi-platform Bluetooth testing tool capable of running any Bluetooth test cases virtually and physically. It aims to complete PTS-bot in the Pandora testing suite.

Install

python -m venv venv
source venv/bin/activate.fish # or any other shell
pip install [-e] .

Usage

python cases/host_test.py -c cases/config.yml --verbose

Specify a test bed

python cases/host_test.py -c cases/config.yml --test_bed bumble.bumbles --verbose

Development

  1. Make sure to have a root-canal instance running somewhere.
root-canal
  1. Run the example using Bumble vs Bumble config file. The default 6402 HCI port of root-canal may be changed in this config file.
python cases/host_test.py -c cases/config.yml --verbose
  1. Lint with pyright and mypy
pyright
mypy
  1. Format & imports style
black avatar/ cases/
isort avatar/ cases/