Subversion Repositories HelenOS

Rev

Rev 2027 | Rev 2071 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2027 Rev 2028
1
/*
1
/*
2
 * Copyright (C) 2006 Martin Decky
2
 * Copyright (C) 2006 Martin Decky
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
8
 *
8
 *
9
 * - Redistributions of source code must retain the above copyright
9
 * - Redistributions of source code must retain the above copyright
10
 *   notice, this list of conditions and the following disclaimer.
10
 *   notice, this list of conditions and the following disclaimer.
11
 * - Redistributions in binary form must reproduce the above copyright
11
 * - Redistributions in binary form must reproduce the above copyright
12
 *   notice, this list of conditions and the following disclaimer in the
12
 *   notice, this list of conditions and the following disclaimer in the
13
 *   documentation and/or other materials provided with the distribution.
13
 *   documentation and/or other materials provided with the distribution.
14
 * - The name of the author may not be used to endorse or promote products
14
 * - The name of the author may not be used to endorse or promote products
15
 *   derived from this software without specific prior written permission.
15
 *   derived from this software without specific prior written permission.
16
 *
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup test
29
/** @addtogroup test
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#include <test.h>
35
#include <test.h>
36
 
36
 
37
test_t tests[] = {
37
test_t tests[] = {
38
#include <atomic/atomic1.def>
38
#include <atomic/atomic1.def>
39
#include <btree/btree1.def>
39
#include <btree/btree1.def>
40
#include <debug/mips1.def>
40
#include <debug/mips1.def>
41
#include <fault/fault1.def>
41
#include <fault/fault1.def>
42
#include <fpu/fpu1.def>
42
#include <fpu/fpu1.def>
43
#include <fpu/sse1.def>
43
#include <fpu/sse1.def>
44
#include <fpu/mips2.def>
44
#include <fpu/mips2.def>
45
    /*
-
 
46
    {
-
 
47
        "falloc1",
-
 
48
        "Frame allocator test 1",
-
 
49
        &test_falloc1,
45
#include <mm/falloc1.def>
50
        true
-
 
51
    },
-
 
52
    {
-
 
53
        "falloc2",
-
 
54
        "Frame allocator test 2",
-
 
55
        &test_falloc2,
46
#include <mm/falloc2.def>
56
        true
-
 
57
    },
-
 
58
    {
-
 
59
        "mapping1",
-
 
60
        "Mapping test",
-
 
61
        &test_mapping1,
47
#include <mm/mapping1.def>
62
        true
-
 
63
    },
-
 
64
    {
-
 
65
        "slab1",
-
 
66
        "SLAB test 1",
-
 
67
        &test_slab1,
48
#include <mm/slab1.def>
68
        true
-
 
69
    },
-
 
70
    {
-
 
71
        "slab2",
-
 
72
        "SLAB test 2",
-
 
73
        &test_slab2,
49
#include <mm/slab2.def>
74
        true
-
 
75
    },
-
 
76
    {
-
 
77
        "purge1",
-
 
78
        "Itanium TLB purge test",
-
 
79
        &test_purge1,
-
 
80
        true
-
 
81
    },
-
 
82
    {
-
 
83
        "rwlock1",
-
 
84
        "RW-lock test 1",
-
 
85
        &test_rwlock1,
50
#include <synch/rwlock1.def>
86
        true
-
 
87
    },
-
 
88
    {
-
 
89
        "rwlock2",
-
 
90
        "RW-lock test 2",
-
 
91
        &test_rwlock2,
51
#include <synch/rwlock2.def>
92
        true
-
 
93
    },
-
 
94
    {
-
 
95
        "rwlock3",
-
 
96
        "RW-lock test 3",
-
 
97
        &test_rwlock3,
52
#include <synch/rwlock3.def>
98
        true
-
 
99
    },
-
 
100
    {
-
 
101
        "rwlock4",
-
 
102
        "RW-lock test 4",
-
 
103
        &test_rwlock4,
53
#include <synch/rwlock4.def>
104
        true
-
 
105
    },
-
 
106
    {
-
 
107
        "rwlock5",
-
 
108
        "RW-lock test 5",
-
 
109
        &test_rwlock5,
54
#include <synch/rwlock5.def>
110
        true
-
 
111
    },
-
 
112
    {
-
 
113
        "semaphore1",
-
 
114
        "Semaphore test 1",
-
 
115
        &test_semaphore1,
55
#include <synch/semaphore1.def>
116
        true
-
 
117
    },
-
 
118
    {
-
 
119
        "semaphore2",
-
 
120
        "Semaphore test 2",
-
 
121
        &test_semaphore2,
56
#include <synch/semaphore2.def>
122
        true
-
 
123
    },
-
 
124
    {
-
 
125
        "print1",
-
 
126
        "Printf test",
-
 
127
        &test_print1,
57
#include <print/print1.def>
128
        true
-
 
129
    },
-
 
130
    {
-
 
131
        "thread1",
-
 
132
        "Thread test",
-
 
133
        &test_thread1,
58
#include <thread/thread1.def>
134
        true
-
 
135
    },
-
 
136
    {
-
 
137
        "sysinfo1",
-
 
138
        "Sysinfo test",
-
 
139
        &test_sysinfo1,
59
#include <sysinfo/sysinfo1.def>
140
        true
-
 
141
    },*/
-
 
142
    {NULL, NULL, NULL}
60
    {NULL, NULL, NULL}
143
};
61
};
144
 
62
 
145
/** @}
63
/** @}
146
 */
64
 */
147
 
65