[chirp_devel] Build test results: Failure
Dan Smith
Thu Jul 9 15:50:36 PDT 2020
Iain,
> ======================================================================
> ERROR: test_detect (tests.TestCase_YaesuFTM3200D)
> Testing Yaesu FTM-3200D detect
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "tests/__init__.py", line 68, in test_detect
> self._runtest(run_tests.TestCaseDetect)
> File "tests/__init__.py", line 42, in _runtest
> failures = testcase.run()
> File "tests/run_tests.py", line 879, in run
> (self._wrapper._dstclass, radio.__class__))
> TestFailedError: <class 'chirp.drivers.ftm3200d.FTM3200Radio'> detected as <class 'chirp.drivers.ftm7250d.FTM7250Radio'>
>
> ----------------------------------------------------------------------
> Ran 994 tests in 397.343s
>
> FAILED (errors=1, skipped=139
This needs to be fixed. Basically since the radios are so similar, your driver is matching files for the ftm3200. You need to (ideally) grab something out of the image to determine it's for a 7250 in match_model(). Alternately, you could just return False always from that method I think since nobody should have old image files pre-metadata for that radio for chirp.
Anyway, I disabled the driver by commenting out the registration so the tests will pass and the build will go out tomorrow. Please submit a patch to fix that up.
Thanks!
--Dan
More information about the chirp_devel
mailing list