Tests description¶
Note
This page has been autogenerated from a Protoplaster tests definition file.
To perform hardware/BSP tests the open-source Protoplaster framework has been used.
Running Protoplaster runs the tests described in the following sections:
I2C devices tests¶
This module provides tests dedicated to i2c devices on specific buses:
Parameters¶
bus:int, requiredSMBus I2C interface
devices:list[i2c.__I2C_Device], requiredList of I2C devices
__I2C_Device(type with attributes defined below)
name:strName of I2C device
address:intAddress of I2C device
Tests¶
test_addressesdetection test:
check for device
nameon addressaddress
Camera sensor tests¶
This module provides tests dedicated to V4L devices on specific video node: device: /dev/video0
Parameters¶
camera_name:str, requiredCamera sensor name
device:str, requiredVideo device
driver_name:str, requiredVideo driver name
save_file:strOutput file for frame test
Tests¶
test_device_namecheck if the camera sensor name is
camera_name: vividtest_driver_namecheck if the camera sensor driver name is
driver_name: vividtest_frametry to capture frame
Camera sensor tests¶
This module provides tests dedicated to V4L devices on specific video node: device: /dev/video2
Parameters¶
camera_name:str, requiredCamera sensor name
device:str, requiredVideo device
driver_name:str, requiredVideo driver name
save_file:strOutput file for frame test
Tests¶
test_device_namecheck if the camera sensor name is
camera_name: vividtest_driver_namecheck if the camera sensor driver name is
driver_name: vividtest_frametry to capture frame and store it to file
save_file: frame.raw