FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/riviera/tests/rv/rv_test_filter.h @ 143:afceeeb2cba1
Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 12 Nov 2013 05:35:48 +0000 |
parents | nuc-fw/riviera/tests/rv/rv_test_filter.h@21de8d8e6ea7 |
children |
comparison
equal
deleted
inserted
replaced
142:15d5977390c2 | 143:afceeeb2cba1 |
---|---|
1 /** | |
2 * DEPRECATED: USE env_test.mak instead | |
3 * | |
4 * SWEs should not use XXX_REGR, XXX_MISC... anymore. | |
5 * The tests are now included/excluded at makefile level, specified | |
6 * by env.mak. | |
7 */ | |
8 | |
9 #ifndef _RV_TEST_FILTER_H_ | |
10 #define _RV_TEST_FILTER_H_ | |
11 | |
12 #include "rv_test_inc.h" | |
13 | |
14 #define SW_COMPILED 1 | |
15 #define SW_NOT_COMPILED 0 | |
16 | |
17 | |
18 | |
19 #ifdef TEST_HCI_SWE | |
20 #define HCI_MISC (SW_COMPILED) | |
21 #else | |
22 #define HCI_MISC (SW_NOT_COMPILED) | |
23 #endif | |
24 #ifdef TEST_L2CAP_SWE | |
25 #define L2CAP_REGR (SW_COMPILED) | |
26 #else | |
27 #define L2CAP_REGR (SW_NOT_COMPILED) | |
28 #endif | |
29 #ifdef TEST_L2CAP_SWE | |
30 #define L2CAP_CERTIF (SW_COMPILED) | |
31 #else | |
32 #define L2CAP_CERTIF (SW_NOT_COMPILED) | |
33 #endif | |
34 #ifdef TEST_L2CAP_SWE | |
35 #define L2CAP_UPF4 (SW_COMPILED) | |
36 #else | |
37 #define L2CAP_UPF4 (SW_NOT_COMPILED) | |
38 #endif | |
39 #ifdef TEST_RFCOMM_SWE | |
40 #define RFCOMM_REGR (SW_COMPILED) | |
41 #else | |
42 #define RFCOMM_REGR (SW_NOT_COMPILED) | |
43 #endif | |
44 #ifdef TEST_RFCOMM_SWE | |
45 #define RFCOMM_UPF4 (SW_COMPILED) | |
46 #else | |
47 #define RFCOMM_UPF4 (SW_NOT_COMPILED) | |
48 #endif | |
49 #ifdef TEST_SPP_SWE | |
50 #define SPP_REGR (SW_COMPILED) | |
51 #else | |
52 #define SPP_REGR (SW_NOT_COMPILED) | |
53 #endif | |
54 #ifdef TEST_SPP_SWE | |
55 #define SPP_CERTIF (SW_COMPILED) | |
56 #else | |
57 #define SPP_CERTIF (SW_NOT_COMPILED) | |
58 #endif | |
59 #ifdef TEST_SPP_SWE | |
60 #define SPP_MISC (SW_COMPILED) | |
61 #else | |
62 #define SPP_MISC (SW_NOT_COMPILED) | |
63 #endif | |
64 #ifdef TEST_SDP_SWE | |
65 #define SDP_REGR (SW_COMPILED) | |
66 #else | |
67 #define SDP_REGR (SW_NOT_COMPILED) | |
68 #endif | |
69 #ifdef TEST_SDP_SWE | |
70 #define SDP_CERTIF (SW_COMPILED) | |
71 #else | |
72 #define SDP_CERTIF (SW_NOT_COMPILED) | |
73 #endif | |
74 #ifdef TEST_SDP_SWE | |
75 #define SDP_MISC (SW_COMPILED) | |
76 #else | |
77 #define SDP_MISC (SW_NOT_COMPILED) | |
78 #endif | |
79 #ifdef TEST_SDP_SWE | |
80 #define SDP_UPF4 (SW_COMPILED) | |
81 #else | |
82 #define SDP_UPF4 (SW_NOT_COMPILED) | |
83 #endif | |
84 #ifdef TEST_SDAP_SWE | |
85 #define SDAP_REGR (SW_COMPILED) | |
86 #else | |
87 #define SDAP_REGR (SW_NOT_COMPILED) | |
88 #endif | |
89 #ifdef TEST_ATP_SWE | |
90 #define ATP_REGR (SW_COMPILED) | |
91 #else | |
92 #define ATP_REGR (SW_NOT_COMPILED) | |
93 #endif | |
94 #ifdef TEST_ATP_SWE | |
95 #define ATP_MISC (SW_COMPILED) | |
96 #else | |
97 #define ATP_MISC (SW_NOT_COMPILED) | |
98 #endif | |
99 #ifdef TEST_ATP_SWE | |
100 #define ATP_DEMO (SW_COMPILED) | |
101 #else | |
102 #define ATP_DEMO (SW_NOT_COMPILED) | |
103 #endif | |
104 #ifdef TEST_HS_SWE | |
105 #define HS_REGR (SW_COMPILED) | |
106 #else | |
107 #define HS_REGR (SW_NOT_COMPILED) | |
108 #endif | |
109 #ifdef TEST_HS_SWE | |
110 #define HS_DEMO (SW_COMPILED) | |
111 #else | |
112 #define HS_DEMO (SW_NOT_COMPILED) | |
113 #endif | |
114 #ifdef TEST_BTCTRL_SWE | |
115 #define BTCTRL_MISC (SW_COMPILED) | |
116 #else | |
117 #define BTCTRL_MISC (SW_NOT_COMPILED) | |
118 #endif | |
119 #ifdef TEST_BTCTRL_SWE | |
120 #define BTCTRL_UPF4 (SW_COMPILED) | |
121 #else | |
122 #define BTCTRL_UPF4 (SW_NOT_COMPILED) | |
123 #endif | |
124 #ifdef TEST_DUN_SWE | |
125 #define DUN_MISC (SW_COMPILED) | |
126 #else | |
127 #define DUN_MISC (SW_NOT_COMPILED) | |
128 #endif | |
129 #ifdef TEST_DUN_SWE | |
130 #define DUN_UPF4 (SW_COMPILED) | |
131 #else | |
132 #define DUN_UPF4 (SW_NOT_COMPILED) | |
133 #endif | |
134 #ifdef TEST_FAX_SWE | |
135 #define FAX_UPF4 (SW_COMPILED) | |
136 #else | |
137 #define FAX_UPF4 (SW_NOT_COMPILED) | |
138 #endif | |
139 #ifdef TEST_EXPL_SWE | |
140 #define EXPL_REGR (SW_COMPILED) | |
141 #else | |
142 #define EXPL_REGR (SW_NOT_COMPILED) | |
143 #endif | |
144 #ifdef TEST_EXPL_SWE | |
145 #define EXPL_DEMO (SW_COMPILED) | |
146 #else | |
147 #define EXPL_DEMO (SW_NOT_COMPILED) | |
148 #endif | |
149 #ifdef TEST_TCS_SWE | |
150 #define TCS_REGR (SW_COMPILED) | |
151 #else | |
152 #define TCS_REGR (SW_NOT_COMPILED) | |
153 #endif | |
154 #ifdef TEST_OBX_SWE | |
155 #define OBX_REGR (SW_COMPILED) | |
156 #else | |
157 #define OBX_REGR (SW_NOT_COMPILED) | |
158 #endif | |
159 #ifdef TEST_BMI_SWE | |
160 #define BMI_MISC (SW_COMPILED) | |
161 #else | |
162 #define BMI_MISC (SW_NOT_COMPILED) | |
163 #endif | |
164 #ifdef TEST_SCM_SWE | |
165 #define SCM_MISC (SW_COMPILED) | |
166 #else | |
167 #define SCM_MISC (SW_NOT_COMPILED) | |
168 #endif | |
169 #ifdef TEST_OPP_SWE | |
170 #define OPP_REGR (SW_COMPILED) | |
171 #else | |
172 #define OPP_REGR (SW_NOT_COMPILED) | |
173 #endif | |
174 #ifdef TEST_OPP_SWE | |
175 #define OPP_UPF4 (SW_COMPILED) | |
176 #else | |
177 #define OPP_UPF4 (SW_NOT_COMPILED) | |
178 #endif | |
179 #ifdef TEST_SYN_SWE | |
180 #define SYN_REGR (SW_COMPILED) | |
181 #else | |
182 #define SYN_REGR (SW_NOT_COMPILED) | |
183 #endif | |
184 #ifdef TEST_FTP_SWE | |
185 #define FTP_REGR (SW_COMPILED) | |
186 #else | |
187 #define FTP_REGR (SW_NOT_COMPILED) | |
188 #endif | |
189 #ifdef TEST_FTP_SWE | |
190 #define FTP_UPF4 (SW_COMPILED) | |
191 #else | |
192 #define FTP_UPF4 (SW_NOT_COMPILED) | |
193 #endif | |
194 #ifdef TEST_FFS_SWE | |
195 #define FFS_MISC (SW_COMPILED) | |
196 #else | |
197 #define FFS_MISC (SW_NOT_COMPILED) | |
198 #endif | |
199 #ifdef TEST_RTC_SWE | |
200 #define RTC_MISC (SW_COMPILED) | |
201 #else | |
202 #define RTC_MISC (SW_NOT_COMPILED) | |
203 #endif | |
204 #ifdef TEST_RTC_SWE | |
205 #define RTC_REGR (SW_COMPILED) | |
206 #else | |
207 #define RTC_REGR (SW_NOT_COMPILED) | |
208 #endif | |
209 #ifdef TEST_AUDIO_SWE | |
210 #define AUDIO_MISC (SW_COMPILED) | |
211 #else | |
212 #define AUDIO_MISC (SW_NOT_COMPILED) | |
213 #endif | |
214 #ifdef TEST_AUDIO_SWE | |
215 #define AUDIO_REGR (SW_COMPILED) | |
216 #else | |
217 #define AUDIO_REGR (SW_NOT_COMPILED) | |
218 #endif | |
219 #ifdef TEST_R2D_SWE | |
220 #define R2D_MISC (SW_COMPILED) | |
221 #else | |
222 #define R2D_MISC (SW_NOT_COMPILED) | |
223 #endif | |
224 #ifdef TEST_R2D_DEMO | |
225 #define R2D_DEMO (SW_COMPILED) | |
226 #else | |
227 #define R2D_DEMO (SW_NOT_COMPILED) | |
228 #endif | |
229 #ifdef TEST_DAR_SWE | |
230 #define DAR_MISC (SW_COMPILED) | |
231 #else | |
232 #define DAR_MISC (SW_NOT_COMPILED) | |
233 #endif | |
234 #ifdef TEST_DAR_SWE | |
235 #define DAR_REGR (SW_COMPILED) | |
236 #else | |
237 #define DAR_REGR (SW_NOT_COMPILED) | |
238 #endif | |
239 #ifdef TEST_PWR_SWE | |
240 #define PWR_MISC (SW_COMPILED) | |
241 #else | |
242 #define PWR_MISC (SW_NOT_COMPILED) | |
243 #endif | |
244 #ifdef TEST_PWR_SWE | |
245 #define PWR_REGR (SW_COMPILED) | |
246 #else | |
247 #define PWR_REGR (SW_NOT_COMPILED) | |
248 #endif | |
249 #ifdef TEST_KPD_SWE | |
250 #define KPD_MISC (SW_COMPILED) | |
251 #else | |
252 #define KPD_MISC (SW_NOT_COMPILED) | |
253 #endif | |
254 #ifdef TEST_MKS_SWE | |
255 #define MKS_MISC (SW_COMPILED) | |
256 #else | |
257 #define MKS_MISC (SW_NOT_COMPILED) | |
258 #endif | |
259 #ifdef TEST_MPM_SWE | |
260 #define MPM_MISC (SW_COMPILED) | |
261 #else | |
262 #define MPM_MISC (SW_NOT_COMPILED) | |
263 #endif | |
264 #ifdef TEST_MPM_SWE | |
265 #define MPM_DEMO (SW_COMPILED) | |
266 #else | |
267 #define MPM_DEMO (SW_NOT_COMPILED) | |
268 #endif | |
269 #ifdef TEST_RGUI_SWE | |
270 #define RGUI_MISC (SW_COMPILED) | |
271 #else | |
272 #define RGUI_MISC (SW_NOT_COMPILED) | |
273 #endif | |
274 #ifdef TEST_JAVA_K_SWE | |
275 #define UVM_MISC (SW_COMPILED) | |
276 #else | |
277 #define UVM_MISC (SW_NOT_COMPILED) | |
278 #endif | |
279 #ifdef TEST_DEV1_SWE | |
280 #define DEV1_MISC (SW_COMPILED) | |
281 #else | |
282 #define DEV1_MISC (SW_NOT_COMPILED) | |
283 #endif | |
284 #ifdef TEST_DEV2_SWE | |
285 #define DEV2_MISC (SW_COMPILED) | |
286 #else | |
287 #define DEV2_MISC (SW_NOT_COMPILED) | |
288 #endif | |
289 #ifdef TEST_DEV3_SWE | |
290 #define DEV3_MISC (SW_COMPILED) | |
291 #else | |
292 #define DEV3_MISC (SW_NOT_COMPILED) | |
293 #endif | |
294 #ifdef TEST_LLS_SWE | |
295 #define LLS_MISC (SW_COMPILED) | |
296 #else | |
297 #define LLS_MISC (SW_NOT_COMPILED) | |
298 #endif | |
299 #ifdef TEST_LZO_SWE | |
300 #define LZO_MISC (SW_COMPILED) | |
301 #else | |
302 #define LZO_MISC (SW_NOT_COMPILED) | |
303 #endif | |
304 #ifdef TEST_MDC_SWE | |
305 #define MDC_MISC (SW_COMPILED) | |
306 #else | |
307 #define MDC_MISC (SW_NOT_COMPILED) | |
308 #endif | |
309 #ifdef TEST_MDC_SWE | |
310 #define MDC_REGR (SW_COMPILED) | |
311 #else | |
312 #define MDC_REGR (SW_NOT_COMPILED) | |
313 #endif | |
314 #ifdef TEST_MDL_SWE | |
315 #define MDL_MISC (SW_COMPILED) | |
316 #else | |
317 #define MDL_MISC (SW_NOT_COMPILED) | |
318 #endif | |
319 #ifdef TEST_MDL_SWE | |
320 #define MDL_REGR (SW_COMPILED) | |
321 #else | |
322 #define MDL_REGR (SW_NOT_COMPILED) | |
323 #endif | |
324 | |
325 | |
326 | |
327 /* | |
328 * | |
329 * Define DEVICE SELECTION parameter. | |
330 * | |
331 * This parameter allows to select the device used for testing. | |
332 * | |
333 * ONLY used with BOARD | |
334 * | |
335 */ | |
336 | |
337 #ifndef _WINDOWS | |
338 #define DEVICE_A (1) | |
339 #endif | |
340 | |
341 | |
342 #endif /* _RV_TEST_FILTER_H_ */ |