背景:

F50开发板,板子上添加鸿蒙的代码,目前进行测试过程。

测试用例套件的生成: 

根据鸿蒙3.2.3-release源代码下进行 hb build --gn-args build_xts=true 生成 兼容性测试套件acts.zip

执行方法:

手动在用户态执行acts中的bin可执行文件进行测试

 

问题:

在执行 ActsBundleMgrTest.bin 时,卡死在 Current Dir

WAP(Dopra Linux) # ./ActsBundleMgrTest.                                              
Running main() from ../../../third_party/googletest/googletest/src/gtest_main.cc
[==========] Running 40 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 40 tests from BundleMgrTest
----------test case with BundleMgrTest start-------------
Current Dir: /testcases/appexecfwk

 

 

根据初步定位,可能在Install()中卡死,尝试在对应目录下添加testjsdemo.hap资源文件依旧卡死

 

 疑问:

1.  install 具体报错原因是什么?

2. 鸿蒙指导中说下载resource文件,是否与本错误有关?(在手动执行bin用例并没用到resource中的文件)resource文件的具体作用是什么?是跟自动化测试框架有关还是跟测试用例有关?如果我是手动进行测试,是否需要依赖resource文件中的一些资源?

 

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐