test_python_crossbar.py 685 B

1234567891011121314151617181920
  1. from tests.package.test_python import TestPythonPackageBase
  2. class TestPythonPy3Crossbar(TestPythonPackageBase):
  3. __test__ = True
  4. # Need to use a different toolchain than the default due to
  5. # python-cryptography using Rust (not available with uclibc)
  6. config = \
  7. """
  8. BR2_arm=y
  9. BR2_TOOLCHAIN_EXTERNAL=y
  10. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  11. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y
  12. BR2_PACKAGE_PYTHON3=y
  13. BR2_PACKAGE_PYTHON_CROSSBAR=y
  14. BR2_TARGET_ROOTFS_CPIO=y
  15. # BR2_TARGET_ROOTFS_TAR is not set
  16. """
  17. sample_scripts = ["tests/package/sample_python_crossbar.py"]
  18. timeout = 60