From eefdda51e5451c9b470d84e4fdfc834e254f5d3a Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Sun, 27 Jul 2025 11:04:52 +0200 Subject: [PATCH] Update documentation for Python tests --- README.developer | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.developer b/README.developer index bdca0f715..177717f09 100644 --- a/README.developer +++ b/README.developer @@ -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