summaryrefslogtreecommitdiff
path: root/src/klibc/utest
diff options
context:
space:
mode:
authorChen Wang <[email protected]>2025-09-15 15:04:33 +0800
committerR b b666 <[email protected]>2025-09-15 19:40:31 +0800
commitb03bb709b994864907321ac7450643aaa345b9a8 (patch)
tree2f6ae6694897f4f85f7c1416a0b1cf2b1299faf8 /src/klibc/utest
parente2224f525b5e9ad49cf31c26bbaa86091b833456 (diff)
utest: update naems using new rule
The names of the utest cases defined in their respective modules have been updated. Some utest case names are not yet in their respective modules because their paths need to be finalized before their unique names can be determined. Currently, these names do not appear to conflict with the unified names. These include: - utest cases still in examples - bsp/qemu-virt64-riscv/applications/test/test_vector/test_vector.c. The entire test case should probably be placed in libcpu/risc-v rather than bsp. Signed-off-by: Chen Wang <[email protected]>
Diffstat (limited to 'src/klibc/utest')
-rw-r--r--src/klibc/utest/TC_rt_memcmp.c2
-rw-r--r--src/klibc/utest/TC_rt_memcpy.c2
-rw-r--r--src/klibc/utest/TC_rt_memmove.c2
-rw-r--r--src/klibc/utest/TC_rt_memset.c2
-rw-r--r--src/klibc/utest/TC_rt_sprintf.c2
-rw-r--r--src/klibc/utest/TC_rt_sscanf.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/klibc/utest/TC_rt_memcmp.c b/src/klibc/utest/TC_rt_memcmp.c
index 45d4d756cc..c89fe3123f 100644
--- a/src/klibc/utest/TC_rt_memcmp.c
+++ b/src/klibc/utest/TC_rt_memcmp.c
@@ -158,4 +158,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(TC_rt_memcmp_large_array);
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_memcmp", RT_NULL, RT_NULL, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_memcmp", RT_NULL, RT_NULL, 1000);
diff --git a/src/klibc/utest/TC_rt_memcpy.c b/src/klibc/utest/TC_rt_memcpy.c
index c02ccd5c96..7c53bea6e1 100644
--- a/src/klibc/utest/TC_rt_memcpy.c
+++ b/src/klibc/utest/TC_rt_memcpy.c
@@ -105,4 +105,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(TC_rt_memcpy_align);
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_memcpy", utest_tc_init, utest_tc_cleanup, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_memcpy", utest_tc_init, utest_tc_cleanup, 1000);
diff --git a/src/klibc/utest/TC_rt_memmove.c b/src/klibc/utest/TC_rt_memmove.c
index 22f80214b2..ecb916cb27 100644
--- a/src/klibc/utest/TC_rt_memmove.c
+++ b/src/klibc/utest/TC_rt_memmove.c
@@ -105,4 +105,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(TC_rt_memmove_empty_string);
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_memmove", RT_NULL, RT_NULL, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_memmove", RT_NULL, RT_NULL, 1000);
diff --git a/src/klibc/utest/TC_rt_memset.c b/src/klibc/utest/TC_rt_memset.c
index afe705df4b..94c2269e09 100644
--- a/src/klibc/utest/TC_rt_memset.c
+++ b/src/klibc/utest/TC_rt_memset.c
@@ -99,4 +99,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(TC_rt_memcpy_input);
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_memset", utest_tc_init, utest_tc_cleanup, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_memset", utest_tc_init, utest_tc_cleanup, 1000);
diff --git a/src/klibc/utest/TC_rt_sprintf.c b/src/klibc/utest/TC_rt_sprintf.c
index a6a248a7e3..d8bba42c08 100644
--- a/src/klibc/utest/TC_rt_sprintf.c
+++ b/src/klibc/utest/TC_rt_sprintf.c
@@ -1062,4 +1062,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(SPRINTF_TEST_CASE_NAME(misc));
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_sprintf", RT_NULL, RT_NULL, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_sprintf", RT_NULL, RT_NULL, 1000);
diff --git a/src/klibc/utest/TC_rt_sscanf.c b/src/klibc/utest/TC_rt_sscanf.c
index b82be04972..8468acd965 100644
--- a/src/klibc/utest/TC_rt_sscanf.c
+++ b/src/klibc/utest/TC_rt_sscanf.c
@@ -247,4 +247,4 @@ static void utest_do_tc(void)
UTEST_UNIT_RUN(TC_rt_sscanf_issue_9853);
}
-UTEST_TC_EXPORT(utest_do_tc, "klibc.rt_sscanf", RT_NULL, RT_NULL, 1000);
+UTEST_TC_EXPORT(utest_do_tc, "core.klibc.rt_sscanf", RT_NULL, RT_NULL, 1000);