Files
rpi-buildroot/support/testing/tests/package/test_python_hid.py
Peter Korsgaard 71c9da92b2 support/testing/tests/package/test_python_hid.py: drop unneeded explicit hidapi package
The python-hid package got tweaked when applied in commit 4432b08790
(package/python-hid: new package) so it now selects
BR2_PACKAGE_HIDAPI, and we therefore do not need to explicitly enable
hidapi in the test.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-12 09:04:48 +02:00

13 lines
370 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonHid(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_HID=y
"""
sample_scripts = ["tests/package/sample_python_hid.py"]