From 72a09a6aca696d2c2c847d09cd6ded196177dd01 Mon Sep 17 00:00:00 2001 From: OrbisAI Security Date: Tue, 9 Jun 2026 07:03:26 +0530 Subject: fix: move tty_ptmx regression test to utest framework The previous commit placed the test in a new top-level tests/ directory that does not exist in the RT-Thread repo structure and used the external check library. Move the test to examples/utest/testcases/lwp/ and rewrite it using RT-Thread's native utest framework, add a Kconfig symbol (RT_UTEST_LWP_TTY_PTMX), and wire it into Kconfig.utestcases. Co-Authored-By: Claude Sonnet 4.6 --- components/lwp/utest/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/lwp/utest/SConscript') diff --git a/components/lwp/utest/SConscript b/components/lwp/utest/SConscript index c7890d6be7..ac5760a5d5 100644 --- a/components/lwp/utest/SConscript +++ b/components/lwp/utest/SConscript @@ -8,6 +8,9 @@ CPPPATH = [cwd] if GetDepend(['RT_UTEST_LWP', 'RT_USING_SMART']): src += ['condvar_timedwait_tc.c', 'condvar_broadcast_tc.c', 'condvar_signal_tc.c'] +if GetDepend(['RT_UTEST_LWP_TTY_PTMX', 'RT_USING_SMART']): + src += ['tty_ptmx_tc.c'] + group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH) Return('group') -- cgit v1.3.1