test_python_pybind.py 478 B

1234567891011121314
  1. import infra
  2. from tests.package.test_python import TestPythonPackageBase
  3. class TestPythonPybind (TestPythonPackageBase):
  4. __test__ = True
  5. config = TestPythonPackageBase.config + \
  6. """
  7. BR2_PACKAGE_PYTHON3=y
  8. BR2_PACKAGE_PYTHON_PYBIND_EXAMPLE=y
  9. """
  10. sample_scripts = ["tests/package/sample_python_pybind.py"]
  11. # ship examples macro & installs it to host
  12. br2_external = [infra.filepath("tests/package/br2-external/python-pybind")]