Skip to content

Commit 76c0f87

Browse files
authored
Fix SMP unit test for switch hook (FreeRTOS#1133)
* Fix SMP unit test for switch hook
1 parent 0945a8a commit 76c0f87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FreeRTOS/Test/CMock/smp/multiple_priorities_no_timeslice/covg_multiple_priorities_no_timeslice_utest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,6 +1802,7 @@ void test_coverage_xTaskRemoveFromEventList_remove_eq_priority_task( void )
18021802
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get prvYieldCore. */
18031803
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get portGET_CRITICAL_NESTING_COUNT. */
18041804
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get xYieldPendings. */
1805+
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* portTASK_SWITCH_HOOK(). */
18051806

18061807
/* API call. */
18071808
xReturn = xTaskRemoveFromEventList( &xEventList );

0 commit comments

Comments
 (0)