kumquat-buildroot/support/testing/tests/package/test_python_pyalsa.py
Julien Olivain 8c074e73b0 support/testing: add test for python-pyalsa
This is a simple test importing pyalsa, showing alsa library version and
attempting to list cards.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-28 23:12:28 +02:00

12 lines
331 B
Python

from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3PyAlsa(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_PYALSA=y
"""
sample_scripts = ["tests/package/sample_python_pyalsa.py"]