rt-thread/components/utilities/utest
Chen Wang 01ca3911ec componnets: utest: fix case-name matching problem
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 <unicorn_wang@outlook.com>
2025-06-10 19:22:25 +08:00
..
SConscript [SConscript]update group name 2020-12-19 16:49:11 +08:00
TC_uassert.c [utest] fix twice operation of uassert 2025-01-15 10:26:40 +08:00
utest.c componnets: utest: fix case-name matching problem 2025-06-10 19:22:25 +08:00
utest.h [utest] 修复UTEST_UNIT_RUN嵌套宏时将宏直接输出的问题 2025-01-07 20:44:29 -05:00
utest_assert.h [utest] fix twice operation of uassert 2025-01-15 10:26:40 +08:00
utest_log.h [utest] implement uassert_ptr_equal and uassert_ptr_not_equal 2024-12-24 13:42:04 +08:00