mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
2d167aaba3
The uclogic_rdesc_template_apply() function is used by the driver to generate HID descriptors from templates. In order to avoid regressions in future patches, add KUnit tests to test the function. To run the tests: $ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/hid \ --kconfig_add CONFIG_VIRTIO_UML=y \ --kconfig_add CONFIG_UML_PCI_OVER_VIRTIO=y Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
6 lines
90 B
Plaintext
6 lines
90 B
Plaintext
CONFIG_KUNIT=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_HID=y
|
|
CONFIG_HID_UCLOGIC=y
|
|
CONFIG_HID_KUNIT_TEST=y
|