support/testing: add python-tftpy runtime test
PATCH 1/1 support/testing: add python-tftpy runtime test
This runtime test verifies the existence of the tftpy module when selected.
Signed-off-by Colin Foster <[email protected]>
--- support/testing/tests/package/sample_python_tftpy.py | 1 + support/testing/tests/package/test_python_tftpy.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 support/testing/tests/package/sample_python_tftpy.py create mode 100644 support/testing/tests/package/test_python_tftpy.py
support/testing/tests/package/sample_python_tftpy.py new file +1 -0
@@ -0,0 +1 @@ +import tftpy
support/testing/tests/package/test_python_tftpy.py new file +11 -0
@@ -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"]
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 10 lines · On Thu, 21 Dec 2023 13:08:00 -0600 Colin Foster…
This runtime test verifies the existence of the tftpy module when selected.
Signed-off-by Colin Foster <[email protected]>--- support/testing/tests/package/sample_python_tftpy.py | 1 + support/testing/tests/package/test_python_tftpy.py | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 support/testing/tests/package/sample_python_tftpy.py create mode 100644 support/testing/tests/package/test_python_tftpy.py
Applied to master after adding the appropriate entries in the DEVELOPERS file. Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot