comparison packages/kernel/current/tests/fptest.c @ 3043:6724f8254bcb

* tests/bin_sem2.cxx (PHILOSOPHERS): * tests/fptest.cx (TEST_NA): * tests/kmutex3.c (NTHREADS): * tests/kmutex4.c (NTHREADS): * tests/mutex3.cxx (NTHREADS): * tests/thread_gdb.c (NTHREADS): * tests/timeslice.c (NTHREADS_MAX): * tests/timeslice2.c (NTHREADS_MAX): * tests/tm_basic.cxx (NTEST_THREADS): Given a chance to compile and run more tests for low memory footprint targets. [ Bugzilla 1001253 ]
author sergeig
date Sun, 10 Jul 2011 16:01:36 +0000
parents 74dbf4c3f2e1
children
comparison
equal deleted inserted replaced
3042:c9b1a6470fbb 3043:6724f8254bcb
66 66
67 //========================================================================== 67 //==========================================================================
68 68
69 #if defined(CYGFUN_KERNEL_API_C) && \ 69 #if defined(CYGFUN_KERNEL_API_C) && \
70 defined(CYGSEM_KERNEL_SCHED_MLQUEUE) && \ 70 defined(CYGSEM_KERNEL_SCHED_MLQUEUE) && \
71 (CYGNUM_KERNEL_SCHED_PRIORITIES > 12) 71 (CYGNUM_KERNEL_SCHED_PRIORITIES > 12) && \
72 (CYGMEM_REGION_ram_SIZE >= (49152-4096))
72 73
73 //========================================================================== 74 //==========================================================================
74 // Base priority for all threads. 75 // Base priority for all threads.
75 76
76 #define BASE_PRI 5 77 #define BASE_PRI 5
356 { 357 {
357 CYG_TEST_INIT(); 358 CYG_TEST_INIT();
358 CYG_TEST_INFO("FP test requires:\n" 359 CYG_TEST_INFO("FP test requires:\n"
359 "CYGFUN_KERNEL_API_C && \n" 360 "CYGFUN_KERNEL_API_C && \n"
360 "CYGSEM_KERNEL_SCHED_MLQUEUE && \n" 361 "CYGSEM_KERNEL_SCHED_MLQUEUE && \n"
361 "(CYGNUM_KERNEL_SCHED_PRIORITIES > 12)\n"); 362 "(CYGNUM_KERNEL_SCHED_PRIORITIES > 12) &&\n"
363 "(CYGMEM_REGION_ram_SIZE >= (49152-4096))\n");
362 CYG_TEST_NA("FP test requirements"); 364 CYG_TEST_NA("FP test requirements");
363 } 365 }
364 366
365 #endif // CYGFUN_KERNEL_API_C, etc. 367 #endif // CYGFUN_KERNEL_API_C, etc.
366 368