Skip to content

Add common interface and timer data group functional tests#67

Merged
chinglee-iot merged 3 commits into
dev/granular_lock_unit_testfrom
rohitmdn/adding_granular_lock_common_interface
Jul 21, 2025
Merged

Add common interface and timer data group functional tests#67
chinglee-iot merged 3 commits into
dev/granular_lock_unit_testfrom
rohitmdn/adding_granular_lock_common_interface

Conversation

@rohitmadan07

Copy link
Copy Markdown
Collaborator

Description

This PR:-

  1. Adds common interface for functional testing of granular locks. ( Implemented in the files granular_lock_utest_common.h and granular_lock_utest_common.c )
  2. Adds functional tests for timer data group that utilises the above interface. ( granular_lock_timers_utest.c )
  3. Updates task TCB structure for testing based on implementation change in Sudeep's kernel ( global_vars.h )
  4. Fixes couple of SMP unit tests which were failing because of the updated TCB structure

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.

rohitmadan07 and others added 2 commits July 10, 2025 20:08
* Update for user data group critical section
* Update for nesting critical section test
@rohitmadan07 rohitmadan07 marked this pull request as ready for review July 17, 2025 06:34
Comment thread FreeRTOS/Test/CMock/smp/granular_lock/FreeRTOSConfig.h Outdated
@chinglee-iot chinglee-iot merged commit b7738fe into dev/granular_lock_unit_test Jul 21, 2025
22 of 40 checks passed
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