diff options
| author | Yaochenger <[email protected]> | 2024-08-27 17:13:17 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-09-03 14:03:21 +0800 |
| commit | f33312abe0b058ae886abcf95ab6192b25dfca5e (patch) | |
| tree | a414937623fa64ccd5f7191e5a76824eb1f8a772 /examples/utest/testcases/kernel/smp/SConscript | |
| parent | 0d87b028ed9c84f9ac9b83097d38b808cfe79f17 (diff) | |
[utest] add smp testcases
Diffstat (limited to 'examples/utest/testcases/kernel/smp/SConscript')
| -rw-r--r-- | examples/utest/testcases/kernel/smp/SConscript | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/utest/testcases/kernel/smp/SConscript b/examples/utest/testcases/kernel/smp/SConscript new file mode 100644 index 0000000000..a15753f7be --- /dev/null +++ b/examples/utest/testcases/kernel/smp/SConscript @@ -0,0 +1,27 @@ +Import('rtconfig') +from building import * + +cwd = GetCurrentDir() +src = [] +CPPPATH = [cwd] + +if GetDepend(['UTEST_SMP_SPINLOCK_TC']): + src += ['smp_spinlock_tc.c'] + +if GetDepend(['UTEST_SMP_ASSIGNED_IDLE_CORE_TC']): + src += ['smp_assigned_idle_cores_tc.c'] + +if GetDepend(['UTEST_SMP_INTERRUPT_PRI_TC']): + src += ['smp_interrupt_pri_tc.c'] + +if GetDepend(['UTEST_SMP_THREAD_PREEMPTION_TC']): + src += ['smp_thread_preemption_tc.c'] + +if GetDepend(['UTEST_SMP_AFFFINITY_TC']): + src += ['smp_bind_affinity_tc.c'] + src += ['smp_affinity_pri1_tc.c'] + src += ['smp_affinity_pri2_tc.c'] + +group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH) + +Return('group') |
