graphyte: Add OnFailure hook to DUT and instrument

Sometimes plugins from vendors have experimental and unstable driver,
and it needs to have an OnFailure hook to be notified when the test
is failed.

BUG=b:70715145
TEST=Check DUT plugin's OnFailure hook is called when a test is failed.

Change-Id: I59f4a6db852013a02ed6e1df46d20e2d49da92a6
Reviewed-on: https://chromium-review.googlesource.com/896677
Commit-Ready: Shen-En Shih <[email protected]>
Tested-by: Shen-En Shih <[email protected]>
Reviewed-by: Chih-Yu Huang <[email protected]>
2 files changed
tree: 452ccc61a4297e3b6b697076eb5f2e0645319a83
  1. graphyte/
  2. .gitignore
  3. Graphyte Flow.png
  4. Makefile
  5. MANIFEST.in
  6. pylintrc
  7. README.md
  8. setup.py
  9. unittest_runner.py
README.md

Google Radio Phy Test Framework

Overview

Graphyte (Google RAdio PHY TEst) is a Python based software framework for the calibration and verification of wireless connectivity radios in design and manufacturing. It is designed with an open, extensible architecture enabling wireless silicon and instrumentation vendors to develop their own plugins for PHY calibration and verification. The initial focus is on Wi-Fi and Bluetooth with 802.15.4 on the horizon.

Please refer to the user manual for more details.

Build

No build step is required.

Install

Two options:

$ (sudo) make install

or

$ (sudo) pip install .

Uninstall

$ (sudo) pip uninstall graphyte

Distribution

  1. Create a tarball by: make dist The tarball can be found under the folder ‘dist’

  2. Copy the tarball to target machine

  3. Extract the tarball

  4. Inside the extracted folder, type the command to install:

     $ (sudo) pip install
    

User manual

Please find the user manual here for more details.

Interactive shell

An interactive shell is also implemented to analyze the interactions between a DUT and an instrument step by step.

Follow these steps to start the interactive shell:

  1. Install the graphyte framework and necessary plugins.

  2. Follow the user manual to create a valid config file.

  3. Run the interactive shell by:

    $ python -m graphyte.plugin_shell path/to/config/file

OSZAR »