Labgrid is a embedded board control library which also supports remote exports and management of embedded boards.
It currently supports:
- pytest-plugin to write tests for embedded systems connecting over SSH or Serial
- remote client-exporter-coordinator infrastructure to make boards available from different computers on a network
- Power/Reset management via plugins for power switches or onewire PIOs
- Upload of images via imxusbloader/mxusbloader or fastboot
- Functions to control external services such as emulated USB-Sticks and the Hawkbit deployment service
Clone the git repository:
git clone https://github.com/labgrid-project/labgrid
Create and activate a virtualenv for labgrid:
virtualenv -p python3 venv
source venv/bin/activate
Install required dependencies:
sudo apt install libow-dev
Install labgrid into the virtualenv:
python setup.py install
Tests can now run via:
python -m pytest --env-config=<config>