同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
X Test Suite (XTS) is a set of OpenHarmony certification test suites. Currently, the application compatibility test suite (ACTS) is supported. The test/xts repository contains the acts directory and tools software package.
NOTE: The startup of the XTS depends on the SAMGR module.
The XTS adaptation consists of the following steps:
The following example shows how to add the XTS subsystem to the building component hispark_aries:
Add the definition of the XTS subsystem to the vendor/hisilicon/hispark_aries/config.json file.
{
"subsystem": "test",
"components": [
{ "component": "xts_acts", "features":[] },
{ "component": "xts_tools", "features":[] }
]
},
Set the building type to the debug version so that the XTS subsystem can be built.
The following example shows how to execute ACTS cases for the IoTLink module of hispark_aries:
Obtain the built image.
Obtain the image from the out/hispark_pegasus/wifiiot_hispark_pegasus/ directory.
NOTE: To check whether the ACTS is integrated into the current image, check whether the corresponding .a file is compiled.
Burn the image into the development board.
Execute the test by performing the following steps.
Use a serial port tool to log in to the development board and save information about the serial port.
Restart the device and view serial port logs.
Analyze the test result.
View the serial port logs, whose format is as follows:
The log for each test suite starts with Start to run test suite: and ends with xx Tests xx Failures xx Ignored.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。