summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-11-19feature: utest: add standardized utest documentation to messagequeue_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-19feature: utest: add standardized utest documentation to timer_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-18[utest]Fixed assertion failure in the smp_affinity_pri2_tc use case caused ↵R b b666
by improper priority configuration. (#10956)
2025-11-18[utest]Fixed assertion failure in the smp_affinity_pri1_tc use case caused ↵Rbb666
by improper priority configuration.
2025-11-18[docs]utest]:Add standardized utest documentation to atomic_tc and ↵David Frisbee
mtsafe_kprint_tc #10945
2025-11-18[utest]Fixed compilation warning issues in smp/smp_affinity_prix_tc.Rbb666
2025-11-18feature: utest: add standardized utest documentation to event_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-17[fix][utest] correct spelling of 'pref_test' to 'perf_test' (#10937)David Frisbee
* [fix][utest] correct spelling of ''pref_test' to 'perf_test'
2025-11-16Reorganize Group names in build system for clarity and IDE integration #10923Copilot
2025-11-14[docs][utest]:Add standardized utest documentation block for slab_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for object_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for mem_tcCYFS
2025-11-14[docs][utest]:Add standardized utest documentation block for memheap_tcCYFS
2025-11-13feature: utest: add standardized utest documentation to thread_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-13feature: utest: add standardized utest documentation to hooklist_tcZe-Hou
Signed-off-by: Ze-Hou <[email protected]>
2025-11-11[utest]: [signal]: Add Standardized function comment blocks. (#10914)Teng mengchen
* [utest]: [signal]:Standardized function comment blocks have been added. Added comments to the utest for the signal module, including: test purpose, usage scenarios, dependency configurations, expected outcomes, and expected behaviors. Signed-off-by: Mengchen Teng <[email protected]> * [utest]: [signal]:Correct issues including grammatical errors, spelling mistakes, and ambiguities in function names. Fixed the issue of grammatical errors in words; changed the variable 'recive_sig' to 'receive_sig'. Originally, rt_signal_unmask_test was testing the masking function of rt_signal_mask, while rt_signal_mask_test was verifying whether signals could be sent correctly during unmasking——the function names were exactly opposite to their functions. Now the two function names have been swapped, and the corresponding comments have also been updated accordingly.After modification, it has been verified that the signal-related utests can be executed correctly. Signed-off-by: Mengchen Teng <[email protected]> --------- Signed-off-by: Mengchen Teng <[email protected]>
2025-11-10docs(utest): Add standardized documentation for core.irq (irq_tc.c) (#10913)lhxj
* docs(utest): Add standardized documentation for core.irq (irq_tc.c) Most test cases in `src/utest` lack standardized functional documentation, as tracked in issue #10895. This leads to high maintenance costs, difficulty for new contributors, and inefficient code reviews. Solution: This patch adds the full, standardized documentation block to `src/utest/irq_tc.c`, following the approved template. The documentation details: - Test Objectives and tested APIs - Test Scenarios (for `irq_test` and `interrupt_test`) - Verification Metrics (the `uassert` criteria) - Dependencies (Kconfig options and hardware) - Test Execution command and Expected Results This makes the test case's purpose and behavior immediately clear to future maintainers and reviewers. Relates to #10895 Signed-off-by: lhxj <[email protected]> * Update src/utest/irq_tc.c Co-authored-by: Copilot <[email protected]> --------- Signed-off-by: lhxj <[email protected]> Co-authored-by: Copilot <[email protected]>
2025-11-10action:Fixed assertion failure when running utest/messagequeue_tc multiple ↵Rbb666
times.
2025-11-08utest:Fix signal info node leak in signal_tc when running multiple times.Rbb666
2025-11-07[klibc] 将函数签名与标准 libc 对齐以修复类型冲突 #10890Copilot
2025-10-23[kernel][object]: update the default value of RT_NAME_MAX to 12kurisaw
2025-10-16utest: UTEST_MEMPOOL_TC -> RT_UTEST_MEMPOOLChen Wang
Which is missed in PR #10808 "utest: unify configname", add it. Signed-off-by: Chen Wang <[email protected]>
2025-10-16utest: Improve the strings displayed in the menuChen Wang
Use "Test" instead of "Unit Testcases" to make string shorter. Use uppercase to make it look more eye-catching. Signed-off-by: Chen Wang <[email protected]>
2025-10-16utest: reorg menu itemsChen Wang
The original project display was completely flat, now it is organized into a tree-like hierarchical structure based on the layout of the code. mm & tmpfs test are still keep as pervious bcos we have not move the source for these two components. Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMP_THREAD_PREEMPTION_TC -> RT_UTEST_SMP_THREAD_PREEMPTIONChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMP_SPINLOCK_TC -> RT_UTEST_SMP_SPINLOCKChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMP_INTERRUPT_PRI_TC -> RT_UTEST_SMP_INTERRUPT_PRIChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMP_ASSIGNED_IDLE_CORE_TC -> RT_UTEST_SMP_ASSIGNED_IDLE_COREChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMP_AFFFINITY_TC -> RT_UTEST_SMP_AFFFINITYChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SCHEDULER_TC -> RT_UTEST_SCHEDULERChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MTSAFE_KPRINT_TC -> RT_UTEST_MTSAFE_KPRINTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_HOOKLIST_TC -> RT_UTEST_HOOKLISTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_ATOMIC_TC -> RT_UTEST_ATOMICChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_THREAD_TC -> RT_UTEST_THREADChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MAILBOX_TC -> RT_UTEST_MAILBOXChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MUTEX_TC -> RT_UTEST_MUTEXChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SIGNAL_TC -> RT_UTEST_SIGNALChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MESSAGEQUEUE_TC -> RT_UTEST_MESSAGEQUEUEChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_TIMER_TC -> RT_UTEST_TIMERChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_EVENT_TC -> RT_UTEST_EVENTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SEMAPHORE_TC -> RT_UTEST_SEMAPHOREChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_IRQ_TC -> RT_UTEST_IRQChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SLAB_TC -> RT_UTEST_SLABChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_OBJECT_TC -> RT_UTEST_OBJECTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMALL_MEM_TC -> RT_UTEST_SMALL_MEMChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MEMHEAP_TC -> RT_UTEST_MEMHEAPChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: core: move perf testcase from example to srcChen Wang
Also: - Add "RT_" prefix for the UTEST config options. - Follow the naming rules to update the case name. Signed-off-by: Chen Wang <[email protected]>
2025-09-30doxygen: cleanup code for group_thread_managementChen Wang
The cleanup involved three parts: - Merging the standalone "/**@{*/" into "@addtogroup group_thread_management" - Changing "/**@}*/" to "/** @} group_thread_management */", adding the group name makes it easier to find the matching "@{" part. - Deleting the "@addtogroup" directive in "include/rtthread.h" because this header file doesn't have doxygen comments. All doxygen comments for function bodies are defined in other .c files. Note, we remian two doxygen comments for rt_thread_inited_hookproto_t and rt_thread_idle_sethook in the "include/rtthread.h". rt_thread_inited_hookproto_t is really defined here. For rt_thread_idle_sethook, please see FIXME comment for reason. Signed-off-by: Chen Wang <[email protected]>
2025-09-29doxygen: cleanup code for group_object_managementChen Wang
The cleanup involved three parts: - Merging the standalone "/**@{*/" into "@addtogroup group_object_management" - Changing "/**@}*/" to "/** @} group_object_management */", adding the group name makes it easier to find the matching "@{" part. - Deleting the "@addtogroup" directive in "include/rtthread.h" because this header file doesn't have doxygen comments. All doxygen comments for function bodies are defined in "src/object.c". Plus minor cleanup for group_hook in src/object.c. Signed-off-by: Chen Wang <[email protected]>
2025-09-28improve[ci]: integrate utest run ci (#10748)Yuqiang Wang