Fix coverage tests for Kernel PR 1203 (#1315)

Fix coverage tests for Kernel PR 1203

PR Link - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1203.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
pull/1305/head^2
Gaurav-Aggarwal-AWS 1 month ago committed by GitHub
parent f430a10431
commit 93ba585fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1095,7 +1095,7 @@ void test_coverage_prvCreateIdleTasks_name_within_max_len( void )
/* Test Verifications */ /* Test Verifications */
xIdleTask = ( TCB_t * ) xIdleTaskHandles[ 0 ]; xIdleTask = ( TCB_t * ) xIdleTaskHandles[ 0 ];
TEST_ASSERT_EQUAL_STRING( configIDLE_TASK_NAME, xIdleTask->pcTaskName ); TEST_ASSERT_EQUAL_STRING( "IDLE longX0", xIdleTask->pcTaskName );
/* Clean up idle task. */ /* Clean up idle task. */
for( i = 0; i < configNUMBER_OF_CORES; i++ ) for( i = 0; i < configNUMBER_OF_CORES; i++ )
@ -1158,7 +1158,7 @@ void test_coverage_prvCreateIdleTasks_name_too_long( void )
xIdleTask = ( TCB_t * ) xIdleTaskHandles[ 0 ]; xIdleTask = ( TCB_t * ) xIdleTaskHandles[ 0 ];
/* Test Verifications */ /* Test Verifications */
TEST_ASSERT_EQUAL_STRING_LEN( configIDLE_TASK_NAME, TEST_ASSERT_EQUAL_STRING_LEN( "IDLE long 0",
xIdleTask->pcTaskName, xIdleTask->pcTaskName,
configMAX_TASK_NAME_LEN - 1 ); configMAX_TASK_NAME_LEN - 1 );

Loading…
Cancel
Save