support/testing: add test for python-dtschema
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
08be3dfa15
commit
b25c3f1d43
@ -3135,8 +3135,10 @@ F: package/wpa_supplicant/
|
||||
F: package/x11r7/xapp_xconsole/
|
||||
F: package/x11r7/xapp_xinput-calibrator/
|
||||
F: package/zlog/
|
||||
F: support/testing/tests/package/sample_python_dtschema.py
|
||||
F: support/testing/tests/package/test_libftdi1.py
|
||||
F: support/testing/tests/package/test_python_can.py
|
||||
F: support/testing/tests/package/test_python_dtschema.py
|
||||
F: utils/scanpypi
|
||||
|
||||
N: Yunhao Tian <t123yh.xyz@gmail.com>
|
||||
|
1
support/testing/tests/package/sample_python_dtschema.py
Normal file
1
support/testing/tests/package/sample_python_dtschema.py
Normal file
@ -0,0 +1 @@
|
||||
import dtschema
|
12
support/testing/tests/package/test_python_dtschema.py
Normal file
12
support/testing/tests/package/test_python_dtschema.py
Normal file
@ -0,0 +1,12 @@
|
||||
from tests.package.test_python import TestPythonPackageBase
|
||||
|
||||
|
||||
class TestPythonPy3Dtschema(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_PYTHON_DTSCHEMA=y
|
||||
"""
|
||||
sample_scripts = ["tests/package/sample_python_dtschema.py"]
|
||||
timeout = 40
|
Loading…
Reference in New Issue
Block a user