https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291774

--- Comment #7 from unitrunker <[email protected]> ---
Created attachment 266394
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266394&action=edit
Kyua unit tests suitable for CI/CD

This test program uses the atf library to define eighteen unit tests. The
libusb20 backend is mocked-up (by overriding libusb20_be_alloc_default) to
inject whatever return code is needed from backend method open_device. Covers
libusb20_dev_open, libusb20_open and libusb_open_with_vid_pid.

Copy the executable, kyua.conf and Kyuafile into the same directory and run
'kyua test'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to