mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
support/testing: add libftdi1 test case
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
135cc97eef
commit
593bba41ab
1
support/testing/tests/package/sample_libftdi1.py
Normal file
1
support/testing/tests/package/sample_libftdi1.py
Normal file
@@ -0,0 +1 @@
|
||||
import ftdi1 # noqa
|
||||
25
support/testing/tests/package/test_libftdi1.py
Normal file
25
support/testing/tests/package/test_libftdi1.py
Normal file
@@ -0,0 +1,25 @@
|
||||
from tests.package.test_python import TestPythonPackageBase
|
||||
|
||||
|
||||
class TestPythonPy2Libftdi1(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON=y
|
||||
BR2_PACKAGE_LIBFTDI1=y
|
||||
BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y
|
||||
"""
|
||||
sample_scripts = ["tests/package/sample_libftdi1.py"]
|
||||
timeout = 40
|
||||
|
||||
|
||||
class TestPythonPy3Libftdi1(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_LIBFTDI1=y
|
||||
BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y
|
||||
"""
|
||||
sample_scripts = ["tests/package/sample_libftdi1.py"]
|
||||
timeout = 40
|
||||
Reference in New Issue
Block a user