commit | 95983fe63a86126bfe50315f279646936ef0f6e5 | [log] [tgz] |
---|---|---|
author | Shen-En Shih <[email protected]> | Fri Feb 02 11:53:57 2018 |
committer | chrome-bot <[email protected]> | Mon Feb 05 12:33:27 2018 |
tree | 452ccc61a4297e3b6b697076eb5f2e0645319a83 | |
parent | a830a191725e95e19bbe4e55f70378b26f997352 [diff] |
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]>
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.
No build step is required.
Two options:
$ (sudo) make install
or
$ (sudo) pip install .
$ (sudo) pip uninstall graphyte
Create a tarball by: make dist The tarball can be found under the folder ‘dist’
Copy the tarball to target machine
Extract the tarball
Inside the extracted folder, type the command to install:
$ (sudo) pip install
Please find the user manual here for more details.
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:
Install the graphyte framework and necessary plugins.
Follow the user manual to create a valid config file.
Run the interactive shell by:
$ python -m graphyte.plugin_shell path/to/config/file