mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
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>
13 lines
366 B
Python
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"]
|