Repository navigation
Conversation
…and FreeRTOS wrapper Add unit and regression tests to close remaining execution and coverage gaps across the ThreadX core scheduler, SMP time-slicing, module manager host suite, low-power and execution profile utilities, and the FreeRTOS compatibility layer: - test/tx/regression/threadx_thread_basic_execution_test.c: Exercise deferred _tx_thread_system_resume preemption handoff when _tx_thread_preempt_disable > 0 and higher- then lower-priority threads are resumed. - test/smp/regression/threadx_smp_time_slice_test.c: Exercise the SMP time-slice ready-list scan wraparound path when all ready equal-priority threads are currently executing on cores. - test/freertos/regression/: Add runtime tests covering queues, queue sets, semaphores, mutexes, task lifecycle, notifications, event groups, and software timers. - test/tx/low_power/ and test/tx/execution_profile/: Add standalone host tests for low-power enter/exit/next-timer helpers and execution profile tick/ISR/thread/idle counters. - test/tx/module_manager/: Add host tests covering module callback notification trampolines and queue deduplication, full module manager lifecycle and cleanup paths, and dispatcher parameter, range, and ownership validation. Signed-off-by: Dev10-sys <[email protected]>
1 of 3 tasks
This branch has not been deployed
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.
PR checklist
Description
Split out from #847 (commit
dfac3661) as requested, cherry-picked onto a fresh branch fromdevwith the conflict intest/tx/cmake/module_manager/CMakeLists.txtresolved.Adds unit and regression tests across the ThreadX core scheduler, SMP time-slicing, Module Manager host suite, low-power and execution profile utilities, and the FreeRTOS compatibility layer:
test/tx/regression/threadx_thread_basic_execution_test.c: Exercises deferred_tx_thread_system_resumepreemption handoff when_tx_thread_preempt_disable > 0and higher- then lower-priority threads are resumed.test/smp/regression/threadx_smp_time_slice_test.c: Exercises the SMP time-slice ready-list scan wraparound path when all ready equal-priority threads are currently executing on cores.test/freertos/regression/: Adds runtime tests covering queues, queue sets, semaphores, mutexes, task lifecycle, notifications, event groups, and software timers.test/tx/low_power/andtest/tx/execution_profile/: Adds standalone host tests for low-power enter/exit/next-timer helpers and execution profile tick/ISR/thread/idle counters.test/tx/module_manager/: Adds host tests covering module callback notification trampolines and queue deduplication, full module manager lifecycle and cleanup paths, and dispatcher parameter, range, and ownership validation.Conflict Resolution
test/tx/cmake/module_manager/CMakeLists.txt: Kept the upstream targets added ondev(threadx_module_manager_thread_reset_stack_test,threadx_module_manager_thread_reset_stack_no_mmu_test,threadx_module_manager_*_properties_test, andthreadx_module_manager_secure_stack_guard_test) alongside the three new Module Manager host tests.Local Verification (Windows host, GCC 16.2.0)
threadx_low_power_testandthreadx_execution_profile_testcompiled with-std=c99 -Wall -Wextra -Werrorand passed across all five non-MISRA configuration macro sets (20 and 19 expectations respectively).test/tx/cmake/module_managerconfigured with CMake 4.4.3 / Ninja and compiled cleanly for the three new targets and the Cortex-A7 thread reset stack targets (32-bit execution deferred to Linux CI).txfr_queue_runtime_test.c,txfr_sync_runtime_test.c, andtxfr_task_and_timer_test.cpassed-Wall -Wextra -Werrorsyntax checks.