Update target test framework - #72
Open
chinglee-iot wants to merge 7 commits into
Open
Conversation
…figs (FreeRTOS#1421) This is in accordance to fix the failure at FreeRTOS/FreeRTOS-Kernel#1412
Python warns about invalid escape sequences in the CBMC Makefile generation helpers. Use raw regex strings and escape the Windows path example so the parsed AST stays unchanged while removing the warnings. Signed-off-by: Old-Ding <ai.neo.ae86@gmail.com> Co-authored-by: Old-Ding <ai.neo.ae86@gmail.com>
Store the parsed IPv4 echo server address in the IPv4 union member instead of writing it into the IPv6 byte array. Signed-off-by: Old-Ding <ai.neo.ae86@gmail.com>
Unit tests need to update now that the queue asserts if in use during a deletion call. Updated existing mutex test which left a queue with a user during cleanup.
This was last updated to point to a PR reference. This submodule needs to be updated to point to the comitted commit.
chinglee-iot
force-pushed
the
update-target-test-framework
branch
from
July 27, 2026 04:06
566862c to
6b78272
Compare
Introduce test_default_setting_config.h with testSETUP_FUNCTION_PROTOTYPE, testTEARDOWN_FUNCTION_PROTOTYPE, testENTRY_FUNCTION_PROTOTYPE, testBEGIN_FUNCTION, testRUN_TEST_CASE_FUNCTION, and testEND_FUNCTION macros so test files no longer call Unity APIs directly. Targets that need a different test framework can override these macros via their own test_setting_config.h by setting configTARGET_TEST_USE_CUSTOM_SETTING. Update the existing SMP tests and the test template to use the new macros, and move README.md from tests/smp/template to the Target root, documenting the test framework and updating paths accordingly.
chinglee-iot
force-pushed
the
update-target-test-framework
branch
from
July 27, 2026 04:20
6b78272 to
b38b829
Compare
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.
Update target test framework
Description
Test Steps
Checklist:
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.