summaryrefslogtreecommitdiff
path: root/examples/utest/testcases/kernel
AgeCommit message (Collapse)Author
2024-09-11[utest]fix race in mutex tc & add recurse lock tczms123456
2024-09-06[utest]add mutex_pi_tczms123456
* add mutex_pi * fix assertion error when thread wakeup while waiting mutex
2024-09-03[add] 修改线程栈大小为UTEST_THR_STACK_SIZEYaochenger
2024-09-03[utest] add smp testcasesYaochenger
2024-07-22[utest] feat: print progress on testingShell
This is required so the user will not be confused on waiting for test to complete. Changes: - notify user that the test is not corrupted - expand waiting tick on timed mtx test, for compatibility on different hw. Signed-off-by: Shell <[email protected]>
2024-06-20[timer]add all soft timer config (#9048)zms123456
* add all soft timer * update wq * add timer test * shield LOG_D
2024-05-21[utest] add device find (#8959)Shell
* [utest] add device find Signed-off-by: Shell <[email protected]> * fixup: add test * fixup: ptr aliasing * quality: meaning parameter --------- Signed-off-by: Shell <[email protected]>
2024-05-16[libcpu/arm64] add C11 atomic ticket spinlock (#8882)Shell
* [libcpu/arm64] add C11 atomic ticket spinlock Replace the former implementation of flag-based spinlock which is unfair Besides, C11 atomic implementation is more readable (it's C anyway), and maintainable. Cause toolchain can use their builtin optimization and tune for different micro-architectures. For example armv8.5 introduces a better instruction. The compiler can help with that when it knows your target platform in support of it. Signed-off-by: Shell <[email protected]> * fixup: RT_CPUS_NR --------- Signed-off-by: Shell <[email protected]>
2024-04-18[mem] Remove useless code And Update mem documentationwdfk-prog
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-16[kservice] MT-safe output support (kprintf/kputs)Shell
Signed-off-by: Shell <[email protected]>
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-09-26[utest] 更改线程栈的大小,避免栈异常zhkag
2023-09-25[utest] 添加 signal 依赖项wangyuqiang
2023-09-20[utest] 更改 thread_tc 线程栈的大小,避免 64 ↵zhkag
位机器导致的栈异常 (#8057)
2023-09-08[posix]修复消息队列返回长度异常 (#8014)zhkag
2023-07-25[libcpu/arm] fix race condition with ldrex,strex (#7842)Shell
Signed-off-by: Shell <[email protected]>
2023-06-26[src][components][include]消息队列支持优先级 (#7382)zhkag
2023-06-25[testcases]增加volatile解决优化等级高的情况下,测试不通过� ↵goldengrandpa
�问题 (#7717)
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-05-12[testcase][thread_tc]修复高优化等级时thread测试用例死循环的� ↵goldengrandpa
��题 (#7483)
2023-05-01[HUST CSE] 判断条件冗余 (#7430)LostCivilization
2023-03-30[utest][atomic]添加返回值测试 (#7124)Yaochenger
* [utest][atomic]添加返回值测试
2023-03-23[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)Yaochenger
* Update Kconfig * Update trap_gcc.S * Update bsp/hifive1/drivers/SConscript Co-authored-by: Man, Jianting (Meco) <[email protected]> * Update SConscript * [atomic]提交一份arm与risc-v架构下的常用原子操作函数 * 修改变量类型 * 更新rtatomic.h与atomic_port.c * 更新rt-thread\libcpu\arm\common\atomic_port.c * 更新include/rtatomic.h与libcpu/arm/common/SConscript * 更新include/rtatomic.h * 修正格式与Kconfig * 修正格式与文件结构 * 规范文件格式与文件重命名 * 添加测试用例与CI * 添加函数声明 * 修改virt64/SConscript 添加atomic_riscv.c * 1.规范代码风格 * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误 * 添加C11标准库原子操作测试 --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-02-13[ci] fix build error.guozhanxin
2023-01-08format Kconfig and sconscriptMeco Man
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-29修复 riscv64 messagequeue_tc 报错zhkag
2022-10-27expand mq test stack size to fix overstack problem during utest.fan.ji
Signed-off-by: fan.ji <[email protected]>
2022-10-27fix test_thread_yield fail bug in multiple utest loop case.fan.ji
Signed-off-by: fan.ji <[email protected]>
2022-08-16[ci] Test with time slice off by defaultguozhanxin
2022-08-16[utestcases] add timeslice_testguozhanxin
2022-07-01[utest] fix a bugMeco Man
2022-04-09[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)Yang sheng
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo. * [RTC] Fix compile errors
2022-02-14[utestcases] add dependence RT_USING_UTESTCASESMeco Man
2022-01-28fix 32bit & 64bit value to pointer interconvert.geniusgogo
2021-12-30[libc]rename group nameMeco Man
2021-12-16分离内存分配接口与内存分配算法 (#5175)Tangyuxin
* [kernel][mem] Multiple instances of small memory allocation algorithm * [kernel][mem] Change small memory management algorithm memory header flag * [kernel][mem] Fix assertion problem * [kernel][slab] Multiple instances of slab memory management algorithm * [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces * [kernel][mem] Clean up memory space of small memory management objects * [kernel][kservice] Add memory application interface and thread protection interface * [kernel][kservice] Fix function return value problem * [kernel][memheap] Optimize memheaptrace print * [kernel][memheap] Support best mode * [kernel][memory] Remove semaphore lock * [kernel][memheap] Add locked flag * [kernel][memory] Support malloc memory in interrupt * [kernel][memheap] Add 'memheapcheck' cmd * [kernel][mem] Fix failure to request full memory * [kernel][memheap] Fix compilation warning * [kernel][mem] Fix mem realloc ASSERT * [examples][testcases] Add small mem testcase * [examples][mem_tc] Modify test memory size * [examples][testcases] Add slab memory management algorithm test case * [examples][testcases] fix small memory management algorithm test case * [kernel][memory] Adjusting memory allocation algorithm object definition and interface * [kernel][memory] Fix compilation warning * [examples][utest] Fix mem test case * [examples][utest] fix slab test case * [utest][testcases] Shorten test time * [kernel][memory] Formatting code * [examples][utest] Adjust test run time * [examples][utest] Formatting code * [bsp] update all rtconfig.h
2021-11-17[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFOMeco Man
2021-10-11format thread_tc.cmazhiyuan
2021-10-11add thread testcasemazhiyuan
2021-09-09[add] mailbox testcase.liukangcc
2021-09-08[fix] change chinese comment to english and fix some wrong charactertyustli
2021-09-06[add] utest kernel mutex_tc.c filetyustli
2021-09-04[add] signal testcasesguozhanxin
2021-09-02[utestcase] 添加 message queue 测试用例Sherman
2021-08-24【utestcase】修复 timer_tc.c 延时函数使用错误的问题guozhanxin