如何在android中执行PVplayer的测试用例?
您好,您能告诉我如何执行甜甜圈代码中 /external/opencore/engines/player/test/src 中定义的测试用例吗?
我看过 PVplayer 文档,但没有提供任何信息。 我正在尝试在 PVplayer 中运行 SDP 文件。
hi can you tell me how to execute the test cases defined in /external/opencore/engines/player/test/src in the donut code?
I have seen the PVplayer documentation , but that does not provide any information.
I am trying to run an SDP file in the PVplayer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试按照以下步骤运行 PV Player 引擎测试(我已使用甜甜圈代码和产品 Sapphire 完成了所有这些操作):
1.您必须在
/external/opencore/Android.mk 进行构建时:
取消注释此行(如果已注释)或删除任何避免包含此行的检查。
2.构建镜像并将其安装到手机中。
3.现在打开shell(使用
adb shell
命令)。转到目录/system/bin
。将有一个可执行的
pvplayer_engine_test
。现在运行以下命令:pvplayer_engine_test -test xy -source xyz.mp4 -logfile -logall
其中 x 是开始测试用例编号,y 是结束测试
案件编号。
(有关更多命令行选项,请参阅
pvplayer_engine_unit_test_guide.pdf
,可在/external/opencore/doc
位置获取)。希望这有帮助。
Try to follow the following steps to run the PV Player engine tests (I have done all this with donut code and product Sapphire):
1.You have to include the following line in
/external/opencore/Android.mk
while making build:Either uncomment this (if its commented) or remove any check which is avoiding this line to be included.
2.Build and install the images into phone.
3.Now open shell (use
adb shell
command). go to directory/system/bin
.There will be an excutable
pvplayer_engine_test
. Now run the following command:pvplayer_engine_test -test x y -source xyz.mp4 -logfile -logall
where x is the start test case number and y is the end test
case number.
(For more command line options, please refer
pvplayer_engine_unit_test_guide.pdf
which is available at/external/opencore/doc
location).Hope this helps.