commit | dbaec98fc97ebbbf2aa3ac81ee3f4502a55a4038 | [log] [tgz] |
---|---|---|
author | cyueh <[email protected]> | Mon Dec 09 05:20:38 2019 |
committer | Commit Bot <[email protected]> | Tue Mar 10 05:52:29 2020 |
tree | 068a93a9d64357042300153808eb9309ee5fee5c | |
parent | 3acbab67202baa3d7b298601b37ebf61d03edc7c [diff] |
graphyte: Make "make test" python 2/3 compatible. python2 is deprecated in 2020. (1) Use list instead of map function to create lists. (2) Decodes bytes input from socket to string. (3) Encodes string output to socket to bytes. (4) Adapts inspect library behavior changes. (5) Replace iteritems() with items(). (6) Import packages from six.moves. (7) Use python3 print function syntax. BUG=chromium:1019481 TEST=make test PYTHON=python2; make test PYTHON=python3 Change-Id: I82dcf6efa00da4d7cb6e9f1ec63101c027f00047 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/graphyte/+/2058226 Commit-Queue: Cheng Yueh <[email protected]> Tested-by: Cheng Yueh <[email protected]> Reviewed-by: Mike Frysinger <[email protected]> Reviewed-by: Yong Hong <[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