support/testing: add python-tftpy runtime test
This runtime test verifies the existence of the tftpy module when selected. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
cec73bb5f8
commit
4d025f88e6
@ -678,6 +678,8 @@ F: configs/beelink_gs1_defconfig
|
||||
N: Colin Foster <colin.foster@in-advantage.com>
|
||||
F: package/python-tftpy/
|
||||
F: package/rauc-hawkbit-updater/
|
||||
F: support/testing/tests/package/sample_python_tftpy.py
|
||||
F: support/testing/tests/package/test_python_tftpy.py
|
||||
|
||||
N: Corentin Guillevic <corentin.guillevic@smile.fr>
|
||||
F: package/libloki/
|
||||
|
1
support/testing/tests/package/sample_python_tftpy.py
Normal file
1
support/testing/tests/package/sample_python_tftpy.py
Normal file
@ -0,0 +1 @@
|
||||
import tftpy
|
11
support/testing/tests/package/test_python_tftpy.py
Normal file
11
support/testing/tests/package/test_python_tftpy.py
Normal file
@ -0,0 +1,11 @@
|
||||
from tests.package.test_python import TestPythonPackageBase
|
||||
|
||||
|
||||
class TestPythonTftpy(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_PYTHON_TFTPY=y
|
||||
"""
|
||||
sample_scripts = ["tests/package/sample_python_tftpy.py"]
|
Loading…
Reference in New Issue
Block a user