Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add raise running task priority test cases #58

Open
wants to merge 5 commits into
base: smp-dev-functional-test
Choose a base branch
from

Conversation

chinglee-iot
Copy link
Owner

Adding the functional tests to verify this kernel PR chinglee-iot/FreeRTOS-Kernel#72

Description

  • Add test_priority_change_task_high_priority_raise in single priority no timeslice. This test verify that raising the priority of a running task won't alter the idle tasks.
  • Add test_priority_change_tasks_equal_priority_raise_additional_task in multiple priority no timeslice. This test verify that raising the priority of a running task won't alter other running tasks.
Filename -- -- Line Coverage -- Functions -- Branches --
event_groups.c     95.7 % 176 / 184 100.0 % 16 / 16 72.0 % 72 / 100
list.c     100.0 % 40 / 40 100.0 % 5 / 5 100.0 % 6 / 6
queue.c     95.4 % 726 / 761 100.0 % 47 / 47 97.0 % 456 / 470
stream_buffer.c     94.2 % 309 / 328 100.0 % 26 / 26 95.5 % 189 / 198
tasks.c     99.5 % 1461 / 1468 100.0 % 96 / 96 95.1 % 995 / 1046
timers.c     100.0 % 243 / 243 100.0 % 30 / 30 96.2 % 76 / 79

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant