Fix unit test for Kernel PR #760 (#1075)

* Fix unit test for Kernel PR #760
* Update kernel submodule pointer
---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
pull/1060/head
Gaurav-Aggarwal-AWS 1 year ago committed by GitHub
parent 80db00d98b
commit 38a57333ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit cdd3678c29b5064db24d34042acc974c57a0babb Subproject commit 7372519cba39922ce5aeb92b8931cf8694b78bd2

@ -1455,11 +1455,10 @@ void test_vTaskPrioritySet_success_lt_curr_prio_not_curr_task( void )
ASSERT_PORT_YIELD_WITHIN_API_NOT_CALLED(); ASSERT_PORT_YIELD_WITHIN_API_NOT_CALLED();
} }
/* This test ensures that if the base priority is different greater than that the current /* This test ensures that if the base priority is different than that the current
* priority the resulting base will be equal to the new priority while the * priority, the resulting base and current priority will be equal to the new
* current priority will be equal to the inherited priority * priority when the new priority is greater than the inherited priority.
* and port yield hook will be called */
* */
void test_vTaskPrioritySet_success_gt_curr_prio_diff_base( void ) void test_vTaskPrioritySet_success_gt_curr_prio_diff_base( void )
{ {
TaskHandle_t taskHandle, taskHandle2; TaskHandle_t taskHandle, taskHandle2;
@ -1491,7 +1490,7 @@ void test_vTaskPrioritySet_success_gt_curr_prio_diff_base( void )
/* Validations */ /* Validations */
TEST_ASSERT_EQUAL( 5, ptcb->uxBasePriority ); TEST_ASSERT_EQUAL( 5, ptcb->uxBasePriority );
TEST_ASSERT_EQUAL( 4, ptcb->uxPriority ); TEST_ASSERT_EQUAL( 5, ptcb->uxPriority );
ASSERT_PORT_YIELD_WITHIN_API_CALLED(); ASSERT_PORT_YIELD_WITHIN_API_CALLED();
} }

@ -4,7 +4,7 @@ description: "This is the standard distribution of FreeRTOS."
dependencies: dependencies:
- name: "FreeRTOS-Kernel" - name: "FreeRTOS-Kernel"
version: "cdd3678c2" version: "7372519cb"
repository: repository:
type: "git" type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git" url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"

Loading…
Cancel
Save