测试用getBundleSize获取值为0错误
项目背景 OH3.2.1 + clang全量编译【无裁剪】 开发板:海思1156 产品: L1小型系统ipcamera_hispark_taurus_linux问题 执行./ActsBundleMgrTest.bin 该测试用例脚本有以下四个用例错误,且错误均涉及getBundleSize该方法的测试;具体四个错误用例如下说明
·
项目背景
OH3.2.1 + clang全量编译【无裁剪】
开发板:海思1156
产品: L1小型系统 ipcamera_hispark_taurus_linux
问题
执行./ActsBundleMgrTest.bin 该测试用例脚本有以下四个用例错误,且错误均涉及getBundleSize该方法的测试;具体四个错误用例如下
说明:最后执行down时,uninstall报错误码:97
g_errorCode
Which is: 97
0
----------test case with BundleMgrTest end-------------
[----------] 40 tests from BundleMgrTest (86598 ms total)
[----------] Global test environment tear-down
Gtest xml output finished
[==========] 40 tests from 1 test suite ran. (99241 ms total)
[ PASSED ] 36 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] BundleMgrTest.testGetBundleSizeWithLegal_0001
[ FAILED ] BundleMgrTest.testGetBundleSizeWithLegal_0002
[ FAILED ] BundleMgrTest.testStressConfig_0001
[ FAILED ] BundleMgrTest.testStressConfig_0002
定位到代码中具体报错情况:
对应如下代码640中的size为0;期望返回的长度为 >0 的数

2.确认在执行过程中有生成对应的路径,但是最后执行完之后会被卸载【该路径下没有对应的最后两个文件夹】
路径 /storage/app/run
想确认一下该ActsBundleMgrTest.bin改测试套件执行流程是否会对该问题产生影响???

3.使用bm调试报错 no bunlde info

更多推荐

所有评论(0)