Skip to content

Commit

Permalink
Merge pull request #33 from rdkcentral/feature/issue30_hdmicec_test_p…
Browse files Browse the repository at this point in the history
…rofile_change

gh #30 VTS L1 Enhancement - Test Profile Changes - HDMI CEC
  • Loading branch information
hari22yuva authored Aug 1, 2024
2 parents d1f31a4 + e8255ce commit e4f88a3
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 194 deletions.
4 changes: 0 additions & 4 deletions profiles/hdmiCECExtendedEnumsNotSupported.yaml

This file was deleted.

12 changes: 8 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
#include <ut_log.h>
#include <ut_kvp_profile.h>

extern int register_hdmicec_hal_l1_tests( void );
extern int register_hdmicec_hal_common_l1_tests( void );
extern int register_hdmicec_hal_source_l1_tests( void );
extern int register_hdmicec_hal_sink_l1_tests( void );
extern int register_hdmicec_hal_source_l2_tests( void );
extern int register_hdmicec_hal_sink_l2_tests( void );

Expand Down Expand Up @@ -122,18 +124,20 @@ int main(int argc, char** argv)
return -1;
}

register_hdmicec_hal_l1_tests ();
register_hdmicec_hal_common_l1_tests();
#ifdef VCOMPONENT
register_vcomponent_tests(pProfilePath);
test_l3_hdmi_cec_driver_register (pValidationProfilePath);
#endif

if(strncmp(szReturnedString,"source",UT_KVP_MAX_ELEMENT_SIZE) == 0) {
register_hdmicec_hal_source_l2_tests ();
register_hdmicec_hal_source_l1_tests ();
register_hdmicec_hal_source_l2_tests ();
}

if(strncmp(szReturnedString,"sink",UT_KVP_MAX_ELEMENT_SIZE) == 0) {
register_hdmicec_hal_sink_l2_tests ();
register_hdmicec_hal_sink_l1_tests ();
register_hdmicec_hal_sink_l2_tests ();
}

UT_run_tests();
Expand Down
Loading

0 comments on commit e4f88a3

Please sign in to comment.