Fix SMP unit test for switch hook (#1133)

* Fix SMP unit test for switch hook
pull/1134/head
chinglee-iot 1 year ago committed by GitHub
parent 0945a8ac50
commit 76c0f8788c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1802,6 +1802,7 @@ void test_coverage_xTaskRemoveFromEventList_remove_eq_priority_task( void )
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get prvYieldCore. */
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get portGET_CRITICAL_NESTING_COUNT. */
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* Get xYieldPendings. */
vFakePortGetCoreID_ExpectAndReturn( 0 ); /* portTASK_SWITCH_HOOK(). */
/* API call. */
xReturn = xTaskRemoveFromEventList( &xEventList );

Loading…
Cancel
Save