Update documentation for Python tests

pull/1790/head
Daniele Forsi IU5HKX 2025-07-27 11:04:52 +02:00
rodzic ede84bfce4
commit eefdda51e5
1 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -481,6 +481,21 @@ autogenerated tests must be updated:
and the handwritten tests should be updated to reflect the change.
The Python tests can also be run against a simulator or an actual rig, but
they aren't guaranteed to succeed because the CI only tests the dummy rig.
To execute the tests from the build tree, add the path to the libraries
that you built, using the PYTHONPATH environment variable, eg:
PYTHONPATH=bindings/:bindings/.libs/ bindings/python/test_rig.py \
--model 1035 --rig-file /dev/ttyUSB0 --serial-speed 4800
Only the following long arguments are supported:
--model ID
--rig-file DEVICE
--serial-speed BAUD
--hamlib-verbose
The argument --hamlib-verbose can be repeated as many times as the --verbose
argument accepted by rigctl.
1.4. Feedback