michael
|
4bf1535c42
|
utest:fixed compile err
|
2020-08-29 22:45:22 +08:00 |
liruncong
|
7953cdfae3
|
[components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__CLANG_ARM编译开关判断
|
2019-09-14 22:44:44 +08:00 |
tyustli
|
a559179e6f
|
fix cpp thread class error
|
2019-06-24 15:59:26 +08:00 |
armink
|
fa4d4ab7cf
|
Update all of debug log definition to DBG_TAG and DBG_LVL.
|
2019-04-12 10:18:57 +08:00 |
MurphyZhao
|
e5c5215917
|
[components/utilities/utest] 增加测试运行测试打印
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-03-19 14:27:39 +08:00 |
armink
|
0d7ba79219
|
Remove the DBG_COLOR and DBG_ENABLE definition.
|
2019-03-06 17:54:30 +08:00 |
MurphyZhao
|
e3546a5043
|
[components][utest] 增加 utest_help,用于输出帮助信息
[components][utest] 对于不支持的测试用例,增加输出日志
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-02-15 12:04:36 +08:00 |
MurphyZhao
|
a305c6cca9
|
[components][utest] utest_run 增加 loop 功能,方便持续运行单一一个测试用例;
[components][utest] utest_run 指定测试用例名字的时候,增加通配符 `*` 的支持,及支持仅指定测试用例名字的前部分字节来运行测试用例。该功能会执行匹配成功的所有测试用例。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-02-14 15:28:56 +08:00 |
MurphyZhao
|
0dc7b9a5a2
|
[components][utest] utest 延时启动
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-02-14 12:03:29 +08:00 |
MurphyZhao
|
82f022f6f0
|
[components][utest] 增加 utest 线程模式
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-02-13 14:37:08 +08:00 |
MurphyZhao
|
655c4ad36b
|
[component][utest] 增加 utest 日志输出级别配置,提供 ASSERT 和 ALL 两个级别,便于测试用例控制 log 输出
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-01-25 17:25:29 +08:00 |
MurphyZhao
|
f9e5d87c98
|
[components][utest] 将 utest_assert.h 加入 utest.h,以后测试用例仅需要包含 utest.h
[components][utest] 增加 buf 类型的字节比较 assert 宏
[components][utest] 修复错误日志打印的输出类型为 ERR 级别
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2019-01-22 15:46:12 +08:00 |
MurphyZhao
|
bce7f85907
|
[components/utilities/utest] 移除不那么必要的日志接口 redefine
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-08 15:01:08 +08:00 |
MurphyZhao
|
98b10877e7
|
[components/utilities/utest] 修复 gcc 编译警告
[components/utilities/utest] 移除组件的版本号
[components/utilities/utest] 优化 basename 函数的处理
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-08 14:48:54 +08:00 |
MurphyZhao
|
51b17a15e4
|
[components/utilities/utest] 完善代码,增加注释
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-06 18:59:13 +08:00 |
MurphyZhao
|
8824b2ca77
|
[components/utilities] [Kconfig] 增加 kconfig RT_USING_UTEST 配置
[components/utilities] [utest] 增加 testcase 运行超时时间参数
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-06 17:13:14 +08:00 |
MurphyZhao
|
0759b66eb9
|
【更新】components/utilities/utest 增加 SConscript depend
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-05 18:07:03 +08:00 |
MurphyZhao
|
1ecf6cbc7c
|
【更新】utest gcc 链接符
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-12-05 14:53:37 +08:00 |
MurphyZhao
|
85d275b399
|
[components/utilities][add] 增加测试框架 utest 代码
Signed-off-by: MurphyZhao <d2014zjt@163.com>
|
2018-11-30 16:13:17 +08:00 |