HAL
- Hardware Abstraction LayerHDMI
- High Definition Multimedia InterfaceCEC
- Consumer Electronics ControlL1
- Functional TestsL2
- Functional Tests
This repository contains the Unit Test Suites(L1 & L2) for HDMI CEC HAL
.
SNo | Document Name | Document Description | Document Link |
---|---|---|---|
1 | HAL Specification Document |
This document provides specific information on the APIs for which tests are written in this module | hdmi-cec_halSpec.md |
2 | High Level Test Spec for sink device | High Level Test Specification Documentation for the HDMI CEC Sink device |
hdmi-cec-sink_High-Level_TestSpec.md |
3 | L2 Low Level Test Spec for sink device |
L2 Low Level Test Specification and Procedure Documentation for the HDMI CEC Sink device |
hdmi-cec-sink_L2_Low-Level_TestSpec.md |
4 | High Level Test Spec for Source device | High Level Test Specification Documentation for the HDMI CEC Source device |
hdmi-cec-source_High-Level_TestSpec.md |
5 | L2 Low Level Test Spec for Source device |
L2 Low Level Test Specification and Procedure Documentation for the HDMI CEC Source device |
hdmi-cec-source_L2_Low-Level_TestSpec.md |
- All APIs need to be implemented in this current version. If any API is not supported, please add stub implementation with return type HDMI_CEC_IO_OPERATION_NOT_SUPPORTED for the same.
- Building against the actual library may introduce SOC dependencies. Hence, a template SKELETON library is created without SOC dependencies. On the real platform (target), it can be mounted, copied and bound with the actual library.
- When running the binary, remember to include a profile file as an argument for designated test cases. The following example illustrates this:
./hal_test -p sink_hdmiCEC.yml
Alternatively, use the run.sh script with the profile file:
./run.sh -p /absolute/path/to/profile/file
- Profiles file available in profile yaml file
- vcomponent is an alpha release.