Skip to content

Commit

Permalink
support/testing: add python-mako runtime test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RomainNaour authored and tpetazzoni committed Sep 30, 2023
1 parent 2b506cb commit 1648019
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -2609,8 +2609,10 @@ F: package/upower/
F: package/waffle/
F: package/xenomai/
F: package/zziplib/
F: support/testing/tests/package/sample_python_mako.py
F: support/testing/tests/package/test_glxinfo.py
F: support/testing/tests/package/test_openssh.py
F: support/testing/tests/package/test_python_mako.py
F: toolchain/

N: Rufus Segar <rhs@riseup.net>
Expand Down
1 change: 1 addition & 0 deletions support/testing/tests/package/sample_python_mako.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from mako import runtime # noqa
12 changes: 12 additions & 0 deletions support/testing/tests/package/test_python_mako.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1648019

Please sign in to comment.