[chirp_devel] Integrate new radio into tox
Hi all,
question: I just added a radio (FT-25) to the ft4.py driver and provided a patch and an image. When I tried to add the next radio (FT-4V), I realized that tox never picked it up as one of the radios to test, and it also doesn't pick up the FT-25.
What do I have to do to make tox accept a new radio to do its thing with it?
Thanks and 73, Bernhard
question: I just added a radio (FT-25) to the ft4.py driver and provided a patch and an image. When I tried to add the next radio (FT-4V), I realized that tox never picked it up as one of the radios to test, and it also doesn't pick up the FT-25.
What do I have to do to make tox accept a new radio to do its thing with it?
To be clear, tox is just a generic python venv manager for tests. It doesn't know anything about radio drivers or test classes.
To make it run, your radio needs to be registered in the directory, and it needs to have the correct-named image file in the tests/images directory. The combination of those two things causes tests/__init__.py to find it and run the tests against it.
--Dan
participants (2)
-
Bernhard Hailer
-
Dan Smith