[sane-devel] [PATCH] [RFC] add sanei_usb test program

Stef stef.dev at free.fr
Wed Mar 6 21:22:48 UTC 2013


On 06/03/2013 22:21, Stef wrote:
> Hello,
>
>     here is a patch that adds a sanei_usb_test program in a new 
> testsuite/sanei directory. This program tests these sanei_usb functions:
>     - sanei_usb_init()
>     - sanei_usb_open()
>     - sanei_usb_get_vendor_product_byname()
>     - sanei_usb_close()
>     - sanei_usb_exit()
>
> It is compiled and run only when 'make tests' is ran in the new 
> subdirectory. It needs at least one USB scanner plugged. I'm using it 
> to check the changes I am currently doing in sanei_usb.c .
>     In the long term, I may even add use of umockdev (linux only) to 
> tests more things without need for actual scanner devices.
>
> Regards,
>     Stef
>
     Oops,

     with attachment this time!

regards,
     Stef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-test-program-for-sanei_usb.patch.gz
Type: application/x-gzip
Size: 8134 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130306/91a2d655/attachment.bin>


More information about the sane-devel mailing list