Files
buildroot/support/testing/tests/package/test_python_pyudev.py
Thomas Petazzoni 9fa59eb7db support/testing: add pyudev test
In order to verify that pyudev works fine, including with just
libudev-zero, add a basic test for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-08-08 16:08:53 +02:00

13 lines
366 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3PyUdev(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_LIBUDEV_ZERO=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_PYUDEV=y
"""
sample_scripts = ["tests/package/sample_python_pyudev.py"]