[chirp_devel] Trying to test a new radio driver - debug help needed
Ran Katz
Mon Feb 7 23:46:04 PST 2022
HI,
I am trying to test a new radio driver (for the Quansheng TG-UV2+),
I have it working on the app, however I am failing some tests:
======================================================================
ERROR: test_brute_force (tests.TestCase_QuanshengTGUV2)
Testing Quansheng TG-UV2+ brute force
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/__init__.py", line 23, in wrapper
return fn(*a, **k)
File "tests/__init__.py", line 77, in test_brute_force
self._runtest(run_tests.TestCaseBruteForce)
File "tests/__init__.py", line 65, in _runtest
raise e.get_original_exception()
ValueError: None is not in list
======================================================================
ERROR: test_copy_all (tests.TestCase_QuanshengTGUV2)
Testing Quansheng TG-UV2+ copy all
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/__init__.py", line 23, in wrapper
return fn(*a, **k)
File "tests/__init__.py", line 73, in test_copy_all
self._runtest(run_tests.TestCaseCopyAll)
File "tests/__init__.py", line 65, in _runtest
raise e.get_original_exception()
IndexError: list index out of range
======================================================================
ERROR: test_edges (tests.TestCase_QuanshengTGUV2)
Testing Quansheng TG-UV2+ edges
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/__init__.py", line 23, in wrapper
return fn(*a, **k)
File "tests/__init__.py", line 81, in test_edges
self._runtest(run_tests.TestCaseEdges)
File "tests/__init__.py", line 65, in _runtest
raise e.get_original_exception()
ValueError: None is not in list
----------------------------------------------------------------------
Ran 1246 tests in 356.668s
FAILED (errors=3, skipped=187)
===============================================================
I couldn't get too much info from the log file, and would be happy to get
any hints on how to debug the test failures.
Some background - I am working on a MAC and could not get a development
environment running properly, so I am running on the distribution app (tox
also runs in the app folders),
i am running tox with the '--skip-pkg-install' flag as otherwise it crashes
at the package setup phase.
(On top of that , I am not able to run a single driver test, when running
: tox --skip-pkg-install -e driver -- -d Quansheng_TG-UV2+ ,all the
drivers run, which takes time, but that I can live with)
Thanks!
Ran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20220208/77d4b994/attachment-0001.html
More information about the chirp_devel
mailing list