Skip to content

Add common interface and timer data group functional tests #67

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 3 commits into
base: dev/granular_lock_unit_test
Choose a base branch
from

Conversation

rohitmadan07
Copy link
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
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