ebde11d29f
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>
12 lines
331 B
Python
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"]
|