Mercurial > nand-ecoscentric
diff packages/kernel/current/cdl/kernel.cdl @ 3293:f35f92c0b860
Add single precision floating point tests.
| author | vae |
|---|---|
| date | Sat, 09 Mar 2013 18:06:46 +0000 |
| parents | f89e0743ba67 |
| children |
line wrap: on
line diff
--- a/packages/kernel/current/cdl/kernel.cdl +++ b/packages/kernel/current/cdl/kernel.cdl @@ -151,14 +151,14 @@ cdl_package CYGPKG_KERNEL { # --------------------------------------------------------------------- # SMP support - + cdl_component CYGPKG_KERNEL_SMP_SUPPORT { display "SMP support" flavor bool requires CYGPKG_HAL_SMP_SUPPORT default_value 0 } - + # --------------------------------------------------------------------- cdl_component CYGPKG_KERNEL_COUNTERS { display "Counters and clocks" @@ -317,19 +317,32 @@ cdl_package CYGPKG_KERNEL { the set of global flags if present." } - cdl_option CYGPKG_KERNEL_TESTS { + cdl_component CYGPKG_KERNEL_TESTS { display "Kernel tests" flavor data no_define - calculated { - "tests/bin_sem0 tests/bin_sem1 tests/bin_sem2 tests/bin_sem3 tests/clock0 tests/clock1 tests/clockcnv tests/clocktruth tests/cnt_sem0 tests/cnt_sem1 tests/except1 tests/flag0 tests/flag1 tests/intr0 tests/kill tests/mbox1 tests/mqueue1 tests/mutex0 tests/mutex1 tests/mutex2 tests/mutex3 tests/release tests/sched1 tests/sync2 tests/sync3 tests/thread0 tests/thread1 tests/thread2" - . ((CYGFUN_KERNEL_API_C) ? " tests/kclock0 tests/kclock1 tests/kexcept1 tests/kflag0 tests/kflag1 tests/kintr0 tests/klock tests/kmbox1 tests/kmutex0 tests/kmutex1 tests/kmutex3 tests/kmutex4 tests/ksched1 tests/ksem0 tests/ksem1 tests/kthread0 tests/kthread1 tests/stress_threads tests/thread_gdb tests/timeslice tests/timeslice2 tests/tm_basic tests/fptest tests/kalarm0" : "") + calculated { + "tests/bin_sem0 tests/bin_sem1 tests/bin_sem2 tests/bin_sem3 tests/clock0 tests/clock1 tests/clockcnv tests/clocktruth tests/cnt_sem0 tests/cnt_sem1 tests/except1 tests/flag0 tests/flag1 tests/intr0 tests/kill tests/mbox1 tests/mqueue1 tests/mutex0 tests/mutex1 tests/mutex2 tests/mutex3 tests/release tests/sched1 tests/sync2 tests/sync3 tests/thread0 tests/thread1 tests/thread2" + . ((CYGFUN_KERNEL_API_C) ? " tests/kclock0 tests/kclock1 tests/kexcept1 tests/kflag0 tests/kflag1 tests/kintr0 tests/klock tests/kmbox1 tests/kmutex0 tests/kmutex1 tests/kmutex3 tests/kmutex4 tests/ksched1 tests/ksem0 tests/ksem1 tests/kthread0 tests/kthread1 tests/stress_threads tests/thread_gdb tests/timeslice tests/timeslice2 tests/tm_basic tests/kalarm0" : "") . ((!CYGPKG_INFRA_DEBUG && !CYGPKG_KERNEL_INSTRUMENT && CYGFUN_KERNEL_API_C) ? " tests/dhrystone" : "") . ((CYGPKG_KERNEL_SMP_SUPPORT && CYGFUN_KERNEL_API_C) ? " tests/smp" : "") . ((!CYGINT_HAL_TESTS_NO_CACHES && CYGFUN_KERNEL_API_C) ? " tests/kcache1 tests/kcache2" : "") + . ((CYGFUN_KERNEL_API_C) ? (" tests/fpint_thread_switch" . (CYGTST_KERNEL_SKIP_MULTI_THREAD_FP_TEST ? " tests/fpinttestf1" : + " tests/fptest tests/fpinttestf tests/fpinttestf2")) : "") } description " This option specifies the set of tests for the eCos kernel." + + cdl_option CYGTST_KERNEL_SKIP_MULTI_THREAD_FP_TEST { + display "Suppress multi thread floating point test" + flavor bool + default_value 0 + description "Hardware floating point configurations that do not + preserve FPU context are supposed to fail multi thread FPU + integrity tests. Setting this option to 1 shall suppress + building of such tests and shall build single thread fpu + integrity test instead." + } } } }
