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