Skip to content

Commit

Permalink
Merge pull request #79 from rdkcentral/feature/issue78_dsDisplay_Sour…
Browse files Browse the repository at this point in the history
…ceSinkFlagChange

gh #78 update flag for source and sink
  • Loading branch information
hari22yuva authored Jun 28, 2024
2 parents 1f22556 + 73abd48 commit 555f4c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test_l2_dsDisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,21 +233,21 @@ int test_l2_dsDisplay_register(void)

// Create the test suite
if (status == UT_KVP_STATUS_SUCCESS ) {
if (!strncmp(gDeviceType, TEST_TYPE_SOURCE_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) {
if (!strncmp(gDeviceType, TEST_TYPE_SINK_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) {
pSuite = UT_add_suite("[L2 dsDisplay Sink]", NULL, NULL);
if (pSuite == NULL)
{
return -1;
}
source_type = 1;
source_type = 0;
}
else if(!strncmp(gDeviceType, TEST_TYPE_SINK_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) {
else if(!strncmp(gDeviceType, TEST_TYPE_SOURCE_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) {
pSuite = UT_add_suite("[L2 dsDisplay Source ]", NULL, NULL);
if (pSuite == NULL)
{
return -1;
}
source_type = 0;
source_type = 1;
}
else {
UT_LOG_ERROR("Invalid platform type: %s", gDeviceType);
Expand Down

0 comments on commit 555f4c2

Please sign in to comment.