tree: 5446d4e5aa4ebb6c963b001eac71e504e8174318 [path history] [tgz]
  1. __init__.py
  2. README.md
  3. rf_graphyte.py
  4. rf_graphyte_unittest.py
py/test/pytests/rf_graphyte/README.md

Graphyte Tests

This folder contains implementation for RF chip's transmitting and receiving capabilities using Graphyte framework.

Introduction of Graphyte Framework

Graphyte is aimed to be a RF testing framework that runs at Linux and ChromeOS, and provide a unified RF testing way for each product in Google. It contains three parts: Graphyte framework, DUT plugin and instrument plugin. Before running this test, please make sure all of them are installed into the system.

Usage example

FactoryTest(
    id='RFConductive',
    label_zh=u'射频传导测试',
    pytest_name='rf_graphyte',
    dargs={
        'graphyte_config_file': 'conductive_config.json',
        'verbose': True,
        'enable_shopfloor': True,
        'shopfoor_parameter_dir': 'rf_conductive',
        'shopfloor_log_dir': 'rf_conductive'})

Note that the config files should be placed in this folder, including Graphyte global config, port config, test plan, and device config.

How to use rf_graphyte in a new project

  1. Write the Graphyte DUT plugin for the new device. The DUT plugin is located at private overlay chromeos-base/graphyte-<board>
  2. Make sure the instrument already has the plugin.
  3. Try to run Graphyte framework itself.
  4. Move all config files into py/test/pytests/rf_graphyte/ folder.
  5. (Optional) If you need to update the config in the factory, place the latest config files in shopfloor shopfloor_data/parameters/<shopfloor_parameter_dir>/ folder.