Skip to content

Commit

Permalink
Fix coverage tests for Kernel PR 1203
Browse files Browse the repository at this point in the history
PR Link - FreeRTOS/FreeRTOS-Kernel#1203.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
  • Loading branch information
aggarg committed Dec 19, 2024
1 parent f430a10 commit 30d2a9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ void test_coverage_prvCreateIdleTasks_name_within_max_len( void )

/* Test Verifications */
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. */
for( i = 0; i < configNUMBER_OF_CORES; i++ )
Expand Down Expand Up @@ -1158,7 +1158,7 @@ void test_coverage_prvCreateIdleTasks_name_too_long( void )
xIdleTask = ( TCB_t * ) xIdleTaskHandles[ 0 ];

/* Test Verifications */
TEST_ASSERT_EQUAL_STRING_LEN( configIDLE_TASK_NAME,
TEST_ASSERT_EQUAL_STRING_LEN( "IDLE long 0",
xIdleTask->pcTaskName,
configMAX_TASK_NAME_LEN - 1 );

Expand Down

0 comments on commit 30d2a9c

Please sign in to comment.