Commit Graph

10 Commits

Author SHA1 Message Date
Chen Wang
495c8cfc25 utest: remove RT_UTEST_USING_ALL_CASES
Many modules' utests currently don't support enabling all
tests at once. Furthermore, some modules' tests are complex,
for example due to their numerous dependencies on other
modules. This makes it nearly impossible to enable all
tests with a single global switch. Consequently, the
previously defined `RT_UTEST_USING_ALL_CASES` has lost
its original meaning.

We recommend deprecating this configuration switch. If a
module needs to enable a group of functional tests through
its own configuration, this local enable all switch should
be implemented by the module itself, and a global RTT enable
switch will no longer be provided.

If such a requirement arises in the future, we recommend
careful design, especially considering how to ensure that
turning on a single switch enables all dependencies for
all involved modules for ease of use.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-26 09:57:54 +08:00
Rbb666
db1779e239 [utest][cpp]add cpp-smartptr testcase. 2025-09-23 10:55:47 +08:00
Rbb666
618516ef94 [utest][cpp]add cpp-lambda testcase. 2025-09-23 10:55:47 +08:00
Rbb666
c300b00470 [utest][cpp]add cpp-auto testcase. 2025-09-23 10:55:47 +08:00
Rbb666
d848e7321b [utest][cpp]add cpp-mutex testcase. 2025-09-23 10:55:47 +08:00
Rbb666
a4e5ae7bed [utest][cpp]add cpp-atomic testcase. 2025-09-23 10:55:47 +08:00
Rbb666
e4586d48cb [utest][cpp]rename thread_tc.cpp to tc_thread.cpp. 2025-09-23 10:55:47 +08:00
liuxianliang
75a55f2028 [fix] enhance strength about cpp testcase. 2022-05-18 08:44:30 +08:00
guozhanxin
7a717b094e [fix] building error. 2022-04-21 14:35:11 +08:00
guozhanxin
1404186602 [utestcases] add cpp11 base testcase. 2022-04-21 14:35:11 +08:00