1from tests.package.test_python import TestPythonPackageBase 2 3 4class TestPythonPy2Libftdi1(TestPythonPackageBase): 5 __test__ = True 6 config = TestPythonPackageBase.config + \ 7 """ 8 BR2_PACKAGE_PYTHON=y 9 BR2_PACKAGE_LIBFTDI1=y 10 BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y 11 """ 12 sample_scripts = ["tests/package/sample_libftdi1.py"] 13 timeout = 40 14 15 16class TestPythonPy3Libftdi1(TestPythonPackageBase): 17 __test__ = True 18 config = TestPythonPackageBase.config + \ 19 """ 20 BR2_PACKAGE_PYTHON3=y 21 BR2_PACKAGE_LIBFTDI1=y 22 BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y 23 """ 24 sample_scripts = ["tests/package/sample_libftdi1.py"] 25 timeout = 40 26