support/testing: add python-mako runtime test

This new runtime test allows to make sure that the python-mako package
minimally works at runtime.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour
2023-06-09 19:49:52 +02:00
committed by Thomas Petazzoni
parent 2b506cb2dd
commit 164801997e
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from tests.package.test_python import TestPythonPackageBase
class TestPythonPy3Mako(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_MAKO=y
"""
sample_scripts = ["tests/package/sample_python_mako.py"]
timeout = 30