-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
2b506cb
commit 1648019
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from mako import runtime # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |