diff options
| author | Rbb666 <[email protected]> | 2025-09-09 12:39:54 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-09-10 15:22:39 +0800 |
| commit | 4832f0482aaac3f3bc191c2f8bcc825b2f7eb314 (patch) | |
| tree | 8a6767228de3544e4775c46ce6f22bc109efb39f /components/net/utest/SConscript | |
| parent | 1034e5b4fd09ac65985bd48b03071835dc9c9c7d (diff) | |
[utest][lwip]add lwip api testcase.
Diffstat (limited to 'components/net/utest/SConscript')
| -rw-r--r-- | components/net/utest/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/net/utest/SConscript b/components/net/utest/SConscript new file mode 100644 index 0000000000..e941348afc --- /dev/null +++ b/components/net/utest/SConscript @@ -0,0 +1,15 @@ +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = [] +CPPPATH = [cwd] + +if GetDepend('RT_UTEST_TC_USING_LWIP'): + # Add lwIP test source if enabled + src += ['tc_lwip.c'] + +# Define the test group with proper dependencies +group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_LWIP'], CPPPATH = CPPPATH) + +Return('group') |
