[chirp_devel] Adding a New Driver
Dan Smith
Thu Apr 2 06:39:25 PDT 2015
> What I did was put it in the \chirp\drivers folder and then did "hg
> add". This seemed to do what I "think" I want but when I execute
> "run_all_test.bat" I don't think the new file is tested.
Yep, that's right. In order to get tested, you also need to have a
(properly-named) image in tests/images. That's how it knows not to hit
the live drivers, since there is no image.
You don't actually need to hg-add it until you want to submit, FWIW.
Just being in the tree and having an image is enough. Assuming you put
the @directory.register magic on the new class, right?
--Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20150402/1b709c08/attachment-0001.bin
More information about the chirp_devel
mailing list