Fix vTaskSuspendAll assertion unit test (#1204)

* Update kernel submodule to address vTaskDelete and vTaskSuspend change
pull/1207/head
chinglee-iot 10 months ago committed by GitHub
parent eb97c5d325
commit 28177788d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -583,8 +583,8 @@ void test_prvGetExpectedIdleTime_assert_nextUnblock_lt_xTickCount( void )
/* vTaskSuspendAll */ /* vTaskSuspendAll */
vFakePortAssertIfISR_Expect(); vFakePortAssertIfISR_Expect();
vFakePortGetCoreID_ExpectAndReturn( 0 );
ulFakePortSetInterruptMask_ExpectAndReturn( 0 ); ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
vFakePortGetCoreID_ExpectAndReturn( 0 );
vFakePortGetTaskLock_Expect(); vFakePortGetTaskLock_Expect();
vFakePortGetISRLock_Expect(); vFakePortGetISRLock_Expect();
vFakePortReleaseISRLock_Expect(); vFakePortReleaseISRLock_Expect();

@ -800,8 +800,8 @@ void test_coverage_prvGetExpectedIdleTime_ready_list_eq_1( void )
/* vTaskSuspendAll */ /* vTaskSuspendAll */
vFakePortAssertIfISR_Expect(); vFakePortAssertIfISR_Expect();
vFakePortGetCoreID_ExpectAndReturn( 0 );
ulFakePortSetInterruptMask_ExpectAndReturn( 0 ); ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
vFakePortGetCoreID_ExpectAndReturn( 0 );
vFakePortGetTaskLock_Expect(); vFakePortGetTaskLock_Expect();
/* prvCheckForRunStateChange */ /* prvCheckForRunStateChange */
vFakePortAssertIfISR_Expect(); vFakePortAssertIfISR_Expect();
@ -906,8 +906,8 @@ void test_coverage_prvGetExpectedIdleTime_ready_list_eq_2( void )
/* vTaskSuspendAll */ /* vTaskSuspendAll */
vFakePortAssertIfISR_Stub( port_assert_if_isr_cb ); vFakePortAssertIfISR_Stub( port_assert_if_isr_cb );
vFakePortGetCoreID_ExpectAndReturn( 0 );
ulFakePortSetInterruptMask_ExpectAndReturn( 0 ); ulFakePortSetInterruptMask_ExpectAndReturn( 0 );
vFakePortGetCoreID_ExpectAndReturn( 0 );
vFakePortGetTaskLock_Expect(); vFakePortGetTaskLock_Expect();
/* prvCheckForRunStateChange */ /* prvCheckForRunStateChange */
vFakePortGetCoreID_ExpectAndReturn( 0 ); vFakePortGetCoreID_ExpectAndReturn( 0 );

Loading…
Cancel
Save