概述
✅作者简介:在GMS认证领域追赶脚步的末学者!
????个人主页:金砺的博客
????个人信条:是金子也要磨砺才能发光发热!
????当前专栏:【Android】【Google】GMS认证
????本文内容:【GMS认证】【CTS-Verifier】 关于Camera ITS测试命令总结
更多内容点击????:【GMS认证】关于XTS命令总结
????一、A12 Camera ITS 测试:
输入命令前需要配置环境:
conda activate python37(同时拥有python37和python27环境,需要安装conda进行切换)
CameraITS>config.yml 更新配置测试手机的设备号(配置方法会在最后列出)
输入命令:
source build/envsetup.sh(切换环境之后需要进行刷新)
python tools/run_all_tests.py camera=0 scenes=0,1,2,3,4,6
python tools/run_all_tests.py camera=0 scenes=5(需要毛玻璃进行测试)
python tools/run_all_tests.py camera=0 scenes=scene_change
python tools/run_all_tests.py camera=0 scenes=sensor_fusion
#new scenes:
scene0, scene1_1, scene1_2, scene2_a, scene2_b, scene2_c,scene2_d, scene2_e, scene3, scene4,scene6
注意事项:
1. A12增加config.yml属性,可以在该文件中配置设备序列号和场景
2. 在config.yml文件中配置设备序列号的时候,需要对纯数字的序列号加双引号,否则不能识别序列号出现报错
3. 如果不想在config.yml配置文件中配置场景信息,仍然可以在命令行指定测试场景
4. 场景5测试光线比较暗时,需要进行打光
????二、A11 Camera ITS 测试:
输入命令前需要配置环境:
conda activate python27(A11需要python27的环境)
输入命令:
source build/envsetup.sh
python tools/run_all_tests.py device=$device_id camera=0 chart=NNFDU18904001426 scenes=0,1,2,3,4
python tools/run_all_tests.py device=$device_id camera=0 scenes=5
python tools/run_all_tests.py device=7f573e76 camera=0 scenes=sensor_fusion rot_rig=default
????三、A10 Camera ITS 测试:
输入命令前需要配置环境:
conda activate python27(A10需要python27的环境)
输入命令:
source build/envsetup.sh
python tools/run_all_tests.py device=$device_id camera=0 chart=5RXBB21429206264 scenes=0,1,2,3,4
python tools/run_all_tests.py device=$device_id camera=0 scenes=5
python tools/run_all_tests.py device=7f573e76 camera=0 scenes=sensor_fusion rot_rig=default
????????????A12的config.yml属性配置如下:
TestBeds:
- Name: TEST_BED_TABLET_SCENES # Need 'tablet' in name for tablet scenes
# Use TEST_BED_MANUAL for manual testing and remove below lines:
# - serial <tablet_id>
# label: tablet
# Test configuration for scenes[0:4, 6, _change]
Controllers:
AndroidDevice:
- serial: "22563kj8h8g6f5"
label: dut
- serial: 5RXBB21429206264
label: tablet
TestParams:
brightness: 96
chart_distance: 31.0
debug_mode: "False" # quotes are needed here
chart_loc_arg: ""
camera: 1
scene: scene_6 # if <scene-1> left as-is runs all scenes
- Name: TEST_BED_SENSOR_FUSION # Need 'sensor_fusion' in name for SF tests
# Test configuration for sensor_fusion/test_sensor_fusion.py
Controllers:
AndroidDevice:
- serial: "22563kj8h8g6f5"
label: dut
TestParams:
fps: 30
img_size: 640,480
test_length: 7
debug_mode: "False" # quotes are needed here
chart_distance: 25
rotator_cntl: sensor_fusion # arduino, canakit, or as-is for manual
rotator_ch: <controller-channel>
camera: 0
最后
以上就是苗条巨人为你收集整理的【GMS认证】【CTS-Verifier】 关于Camera ITS测试命令总结的全部内容,希望文章能够帮你解决【GMS认证】【CTS-Verifier】 关于Camera ITS测试命令总结所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复