test_libftdi1.py 713 B

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