Create SMP on target test framework.#911
Merged
aggarg merged 20 commits intoFreeRTOS:mainfrom Mar 6, 2023
Merged
Conversation
62724b2 to
74e4e07
Compare
74e4e07 to
d983564
Compare
aggarg
reviewed
Jan 12, 2023
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/boards/pico/tests/smp/multiple_tasks_running/main.c
Show resolved
Hide resolved
FreeRTOS/Test/Target/boards/pico/tests/smp/multiple_tasks_running/main.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/boards/pico/tests/smp/multiple_tasks_running/main.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/boards/pico/tests/smp/multiple_tasks_running/main.c
Show resolved
Hide resolved
Dazza0
reviewed
Feb 17, 2023
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/test_config.h
Outdated
Show resolved
Hide resolved
…ActoryOu/FreeRTOS into kernel-on-target-test-framework
Contributor
|
@ActoryOu Thanks for the explanations. This PR LGTM. |
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/test_config.h
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Outdated
Show resolved
Hide resolved
FreeRTOS/Test/Target/tests/smp/multiple_tasks_running/multiple_tasks_running.c
Show resolved
Hide resolved
Contributor
chinglee-iot
left a comment
There was a problem hiding this comment.
Some questions want to discuss with you:
- Can this test detect the problem that the port fails to launch cores other than tick core?
- The EverRunning tasks do nothing but busy looping. How can we know this test function is run by other cores?
Member
Author
Yes, I think so. If the core fail to be launched, it won't be able to set pxCurrentTCBs[ coreID ] correctly. So the state of task is
We check the if the state is eRunning, which means it's running at the same time on the other cores. We don't really care about what core is the tasks running on. We just check if all tasks created by the test cases are all in eRunning on all other cores. |
chinglee-iot
previously approved these changes
Feb 24, 2023
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
aggarg
previously approved these changes
Mar 6, 2023
chinglee-iot
previously approved these changes
Mar 6, 2023
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
aggarg
approved these changes
Mar 6, 2023
chinglee-iot
approved these changes
Mar 6, 2023
Merged
moninom1
added a commit
that referenced
this pull request
Mar 7, 2023
* update the freertos + TCP demos to use the neew API for getting the UDP pyaload buffer [FreeRTOS_GetUDPPayloadBuffer_ByIPType] (#938) * Add CBMC proof-running GitHub Action (#924) * Added two config options to the FreeRTOSConfig file to get the demo running again. Fixed a typo in a file. Added a section to the link file (#940) * Create SMP on target test framework. (#911) * Fix CBMC proof failures (#946) These were introduced in PR #620. * Make static IP address configurable (#947) * Fix issues in TCP QEMU Demo (#948)
moninom1
added a commit
to moninom1/FreeRTOS
that referenced
this pull request
Jun 27, 2023
* Add proof for vReceiveRA_ReadReply * Add proof for vReceiveRA * Update test case * Use safeMalloc * Umpdate pxGetNetworkBufferWithDescriptor * Add unit test case for zero prefix option length * Remove unsued parameters
Zangetsu112
pushed a commit
to Zangetsu112/FreeRTOS-evpp
that referenced
this pull request
Aug 18, 2025
* Framework initialization. * Move testRunner.c to test case subfolder. * Update README doc and formatting. * Add default configurations in test_config.h. * Fix License & formatting check. * Fix typo. * Move setup/teardown functions to main.c file. * Move setup/teardown functions back. * Update README doc. * Patch for comments. * Correct test runner file name. * Move test_config.h to the end of FreeRTOSConfig.h. * Add undef in test_config.h and description in README doc. * Correct the file format. * Fix chinglee-iot comments. * Code review suggestions Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> * Fix spell check Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> --------- Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create SMP on target test framework.
Description
Create SMP on target test framework. Including test folders, CMakeLists.txt, template, and first test case.
Test Steps
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.