mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
support/testing: add runtime test for python-iptables
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d341ec0350
commit
9d7abbfed8
1
support/testing/tests/package/sample_python_iptables.py
Normal file
1
support/testing/tests/package/sample_python_iptables.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
import iptc
|
||||||
12
support/testing/tests/package/test_python_iptables.py
Normal file
12
support/testing/tests/package/test_python_iptables.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
from tests.package.test_python import TestPythonPackageBase
|
||||||
|
|
||||||
|
|
||||||
|
class TestPythonPy3Iptables(TestPythonPackageBase):
|
||||||
|
__test__ = True
|
||||||
|
config = TestPythonPackageBase.config + \
|
||||||
|
"""
|
||||||
|
BR2_PACKAGE_PYTHON3=y
|
||||||
|
BR2_PACKAGE_PYTHON_IPTABLES=y
|
||||||
|
"""
|
||||||
|
sample_scripts = ["tests/package/sample_python_iptables.py"]
|
||||||
|
timeout = 30
|
||||||
Reference in New Issue
Block a user