Skip to content

Granular Locks Test Setup #64

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

Open
wants to merge 8 commits into
base: dev/granular_lock_unit_test
Choose a base branch
from

Conversation

rohitmadan07
Copy link
Collaborator

Description

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.

chinglee-iot and others added 7 commits March 26, 2025 11:27
  - xQueueReceive vs vTaskDelete
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - xQueueReceive vs vTaskSuspend
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - xQueueSend vs vTaskDelete
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - xQueueSend vs vTaskSuspend
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - xEventGroupWaitBits vs vTaskDelete
    - Causes issue via: vTaskPlaceOnUnorderedEventList ? prvAddCurrentTaskToDelayedList
  - xEventGroupWaitBits vs vTaskSuspend
    - Causes issue via: vTaskPlaceOnUnorderedEventList ? prvAddCurrentTaskToDelayedList
  - Semaphore take (xSemaphoreTake) vs vTaskDelete
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - Semaphore take (xSemaphoreTake) vs vTaskSuspend
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - Semaphore give (xSemaphoreGive) vs vTaskDelete
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
  - Semaphore give (xSemaphoreGive) vs vTaskSuspend
    - Causes issue via: vTaskPlaceOnEventList ? prvAddCurrentTaskToDelayedList
@rohitmadan07 rohitmadan07 changed the title Add declaration for port data group critical section Granular Locks Test Setup May 2, 2025
@rohitmadan07 rohitmadan07 requested a review from chinglee-iot May 2, 2025 06:25
@chinglee-iot chinglee-iot changed the base branch from chinglee/adding_granular_lock_functional_tests to dev/granular_lock_unit_test May 5, 2025 05:58
@@ -7,14 +7,14 @@ export CC ?= /usr/local/bin/gcc
export LD ?= /usr/local/bin/ld

# Add units here when adding a new unit test directory with the same name
UNITS := timers
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bringing smp before timers is required because the timer tests add a stopTimers function at the end of timers.c file. This causes compilation issues for the smp tests for which timers.c is a test source file

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.

2 participants