hwtest
is a tool for the WLAN Pi project used to update VLI USB controller EEPROMs and run pytest to drive pass/fail testing.
Optional arguments may be passed in to override default behaviors set in /etc/wlanpi-hwtest/config.ini
.
usage: hwtest [-h] [--debug] [-e] [--oled] [--firmware] [--waveshare] [--buttonsmash] [--verbose] [--version]
hwtest is a VLI USB Controller EEPROM updater and hardware testing tool for the WLAN Pi Pro.
optional arguments:
-h, --help show this help message and exit
--debug enable debug logging output
-e, --emulate enable keyboard emulation
--oled enable OLED and interactive (I/A) tests
--firmware enable VL805 firmware check
--waveshare enable waveshare LCD
--buttonsmash enable buttonsmash mode and print button presses to CLI
--verbose enable verbose printing of results to oled
--version, -V show program's version number and exit
sudo apt update
sudo apt install wlanpi-hwtest
sudo systemctl disable wlanpi-hwtest
sudo systemctl stop wlanpi-fpms
hwtest
in buttonsmash mode with OLED from CLIsudo hwtest --buttons --oled
Example:
Pytest reports for each testing session are saved to /var/log/wlanpi-hwtest/
:
Example:
$ ls /var/log/wlanpi-hwtest | grep dc
dca632.fea1a2_report_automated_2021-12-30T175453.html
dca632.fea1a2_report_interactive_2021-12-30T175453.html
See AUTHORS.
See CoC.
Thank you to all the creators and maintainers of the following open source software used by hwtest
: