kumquat-buildroot/support/testing/tests/package/test_python_distro.py
Julien Olivain ebde11d29f support/testing: add test for python-distro
This commit add a simple test checking the reported distro name and
id are Buildroot (as reported by /etc/os-release).

Signed-off-by: Julien Olivain <ju.o@free.fr>
[Arnout: drop python2 variant]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 13:55:52 +01:00

12 lines
331 B
Python

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