Installation

Requirements

cros-ec-tests has the following strict requirements:

Installing cros-ec-tests

To install cros-ec-tests with pip, run:

pip install git+https://gitlab.collabora.com/chromiumos/cros-ec-tests.git

Testing an Installed cros-ec-tests

The easiest way to test if your installed version of cros-ec-tests is running correctly is to use one of the runner function:

python3 -m cros.runners.lava_runner

The tests should run and print out the result.

Building Documentation

Dependencies

Building the documentation requires the cros-ec-tests source code and some additional packages. The easiest way to install the extra dependencies for documentation is to install the distribution packages:

Building

The easy way is to execute the command (from the cros-ec-tests source directory):

cd docs
make html

The documentation will be built in the docs/build/html directory, and can be read by pointing a web browser to docs/build/html/index.html.