commit | 3acbab67202baa3d7b298601b37ebf61d03edc7c | [log] [tgz] |
---|---|---|
author | cyueh <[email protected]> | Mon Dec 09 11:15:43 2019 |
committer | Commit Bot <[email protected]> | Thu Dec 19 16:47:04 2019 |
tree | 3f4cc1937d9265126a405f39d7abff654605866c | |
parent | dc1ab2d84aec906a716e594ac35c4b18d51639ec [diff] |
graphyte_utils: Guard current working directory Currently in Graphyte, all plugins run on the same process. It is possible that the current working directory is changed by other plugins. One way to solve this is running each plugins on a different process. However, it needs a lot of work. Another approach is using decorator. This CL adds a decorater which can guard the current working directory and uses it on dummy_dut and dummy_inst for example. BUG=None TEST=make test PYTHON=python2; manually test on devices Change-Id: I16c7f25826d93cf77cbc64c41ee1941789f93523 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/graphyte/+/1958081 Reviewed-by: Yong Hong <[email protected]> Commit-Queue: Cheng Yueh <[email protected]> Tested-by: Cheng Yueh <[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