From 30d2a9cd496dc64ade84c2dff40d8b6fb343b2c0 Mon Sep 17 00:00:00 2001 From: Gaurav Aggarwal Date: Thu, 19 Dec 2024 18:33:27 +0000 Subject: [PATCH] Fix coverage tests for Kernel PR 1203 PR Link - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1203. Signed-off-by: Gaurav Aggarwal --- .../covg_multiple_priorities_no_timeslice_mock_utest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FreeRTOS/Test/CMock/smp/multiple_priorities_no_timeslice_mock/covg_multiple_priorities_no_timeslice_mock_utest.c b/FreeRTOS/Test/CMock/smp/multiple_priorities_no_timeslice_mock/covg_multiple_priorities_no_timeslice_mock_utest.c index ae725acc1c..bd432aad69 100644 --- a/FreeRTOS/Test/CMock/smp/multiple_priorities_no_timeslice_mock/covg_multiple_priorities_no_timeslice_mock_utest.c +++ b/FreeRTOS/Test/CMock/smp/multiple_priorities_no_timeslice_mock/covg_multiple_priorities_no_timeslice_mock_utest.c @@ -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++ ) @@ -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 );