| Age | Commit message (Collapse) | Author |
|
* utest/msh: supports autocomplete of utest cases for utest_run
* docs/utest: explanation of adding the automatic completion function for utest_run
* fix[utest]: Improvement of annotation description
* remove outdated code
|
|
There is a problem with the matching of case names
in the original code. Due to original code use memcmp
with len, if the input case name and the existing
case name have an inclusion relationship, for example,
if the actual case name is "gpip_irq", and run
`utest_run gpio` will also match successfully, but it's
not expected.
Modify the logic of exact matching and use strcmp instead.
Keep the original wildcard logic, that is,
`utest_run gpio*` can match both "gpio_irq" and "gpio".
Signed-off-by: Chen Wang <[email protected]>
|
|
* feat: ci script associated with auto_utest.
|
|
RT_USING_CI_ACTION will select RT_UTEST_USING_AUTO_RUN and RT_UTEST_USING_ALL_CASES
|
|
|
|
|
|
|
|
|
|
* [utest] remove delay for on thread testing
The delay is introduced from 0dc7b9a5a26030a945723569c64f5be46bd70ae1.
Though this is unnecessary for on sync utest.
So this is removed by a new entry and delay for asynchronous utest only.
Signed-off-by: Shell <[email protected]>
* fixup: msh cmd prototype
---------
Signed-off-by: Shell <[email protected]>
|
|
Co-authored-by: Man, Jianting (Meco) <[email protected]>
|
|
* [tools] Add `--add-rtconfig` args for scons when you want to add macro definitions build time.
* [utilities][utest] Add VS simulator support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
�问题. utest_init增加__CLANG_ARM编译开关判断
|
|
|
|
Signed-off-by: MurphyZhao <[email protected]>
|
|
|
|
[components][utest] 对于不支持的测试用例,增加输出日志
Signed-off-by: MurphyZhao <[email protected]>
|
|
功能,方便持续运行单一一个测试用例;
[components][utest] utest_run 指定测试用例名字的时候,增加通配符 `*` 的支持,及支持仅指定测试用例名字的前部分字节来运行测试用例。该功能会执行匹配成功的所有测试用例。
Signed-off-by: MurphyZhao <[email protected]>
|
|
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。
Signed-off-by: MurphyZhao <[email protected]>
|
|
Signed-off-by: MurphyZhao <[email protected]>
|
|
ALL 两个级别,便于测试用例控制 log 输出
Signed-off-by: MurphyZhao <[email protected]>
|
|
utest.h,以后测试用例仅需要包含 utest.h
[components][utest] 增加 buf 类型的字节比较 assert 宏
[components][utest] 修复错误日志打印的输出类型为 ERR 级别
Signed-off-by: MurphyZhao <[email protected]>
|
|
[components/utilities/utest] 移除组件的版本号
[components/utilities/utest] 优化 basename 函数的处理
Signed-off-by: MurphyZhao <[email protected]>
|
|
Signed-off-by: MurphyZhao <[email protected]>
|
|
[components/utilities] [utest] 增加 testcase 运行超时时间参数
Signed-off-by: MurphyZhao <[email protected]>
|
|
Signed-off-by: MurphyZhao <[email protected]>
|
|
Signed-off-by: MurphyZhao <[email protected]>
|