Install prerequisites
sudo apt install \
python3-pytest \
freeipmi-tools \
libiio0 \
python3-libiio \
tpm2-tools \
v4l-utils \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
libgstreamer1.0-0 \
gst-perf \
libdrm-tests \
python3-periphery \
iperf3 \
ethtool \
mtd-utils \
i2c-tools \
python3-can \
python3-pymodbus \
xlnx-app-kd240-foc-motor-ctrl
sudo pip install \
netifaces \
ipaddress \
pyroute2 \
ping3 \
iperf3 \
func-timeout \
inputimeout
To collect tests:
pytest-3 --board kr260 --collect-only
To run tests:
pytest-3 --board kr260
To run gpio tests only, use the -m option:
pytest-3 --board kr260 -m gpio
To run an individual test, use the -k option:
pytest-3 --board kr260 -k pmod1
Copyright (C) 2022, Advanced Micro Devices, Inc.
SPDX-License-Identifier: MIT