summaryrefslogtreecommitdiff
path: root/components/lwp/utest/SConscript
diff options
context:
space:
mode:
authorOrbisAI Security <[email protected]>2026-06-09 07:03:26 +0530
committerRbb666 <[email protected]>2026-06-16 15:43:44 +0800
commit72a09a6aca696d2c2c847d09cd6ded196177dd01 (patch)
tree1bc472aefc77cddbbdbaa67d043549fac8a829be /components/lwp/utest/SConscript
parentb6007e1f9c05ed8ff678993f2b0c4cda7eb6397f (diff)
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 <[email protected]>
Diffstat (limited to 'components/lwp/utest/SConscript')
-rw-r--r--components/lwp/utest/SConscript3
1 files changed, 3 insertions, 0 deletions
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')