Changeset 8a72a9a in mainline
- Timestamp:
- 2009-02-12T20:02:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f81ceb7
- Parents:
- fe33ac2e
- Location:
- kernel/test
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/avltree/avltree1.def
rfe33ac2e r8a72a9a 1 1 { 2 2 "avltree1", 3 "Test A vltree operations",3 "Test AVL tree operations", 4 4 &test_avltree1, 5 5 true -
kernel/test/fpu/fpu1.c
rfe33ac2e r8a72a9a 28 28 */ 29 29 30 #if (defined(ia32) || defined(amd64) || defined(ia64) || defined(ia32xen))31 32 30 #include <print.h> 33 31 #include <debug.h> … … 227 225 return "Test failed"; 228 226 } 229 230 #endif -
kernel/test/fpu/fpu1.def
rfe33ac2e r8a72a9a 1 #if (defined(ia32) || defined(amd64) || defined(ia64) || defined(ia32xen))2 1 { 3 2 "fpu1", … … 6 5 true 7 6 }, 8 #endif -
kernel/test/fpu/mips2.c
rfe33ac2e r8a72a9a 27 27 */ 28 28 29 #ifdef mips3230 31 29 #include <print.h> 32 30 #include <debug.h> … … 39 37 #include <arch.h> 40 38 41 #define THREADS 42 #define DELAY 43 #define ATTEMPTS 39 #define THREADS 50 40 #define DELAY 10000L 41 #define ATTEMPTS 5 44 42 45 43 static atomic_t threads_ok; … … 57 55 58 56 waitq_sleep(&can_start); 59 57 60 58 for (i = 0; i < ATTEMPTS; i++) { 61 59 asm volatile ( … … 90 88 91 89 waitq_sleep(&can_start); 92 90 93 91 for (i = 0; i < ATTEMPTS; i++) { 94 92 asm volatile ( … … 96 94 : "=r" (arg) 97 95 ); 98 96 99 97 scheduler(); 100 98 asm volatile ( … … 125 123 if (!quiet) 126 124 printf("Creating %u threads... ", 2 * THREADS); 127 125 128 126 for (i = 0; i < THREADS; i++) { 129 127 thread_t *t; … … 163 161 return "Test failed"; 164 162 } 165 166 #endif -
kernel/test/fpu/mips2.def
rfe33ac2e r8a72a9a 1 #ifdef mips322 1 { 3 2 "mips2", 4 3 "MIPS FPU test", 5 4 &test_mips2, 6 false5 true 7 6 }, 8 #endif -
kernel/test/fpu/sse1.c
rfe33ac2e r8a72a9a 27 27 */ 28 28 29 #if (defined(ia32) || defined(amd64) || defined(ia32xen))30 31 29 #include <print.h> 32 30 #include <debug.h> … … 39 37 #include <arch.h> 40 38 41 #define THREADS 42 #define DELAY 43 #define ATTEMPTS 39 #define THREADS 25 40 #define DELAY 10000L 41 #define ATTEMPTS 5 44 42 45 43 static atomic_t threads_ok; … … 163 161 return "Test failed"; 164 162 } 165 166 #endif -
kernel/test/fpu/sse1.def
rfe33ac2e r8a72a9a 1 #if (defined(ia32) || defined(amd64) || defined(ia32xen))2 1 { 3 2 "sse1", … … 6 5 true 7 6 }, 8 #endif
Note:
See TracChangeset
for help on using the changeset viewer.