source: rtems/testsuites/sptests/Makefile.am @ 21275b58

Last change on this file since 21275b58 was 21275b58, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 22, 2018 at 6:14:51 PM

score: Static Objects_Information initialization

Statically allocate the objects information together with the initial
set of objects either via <rtems/confdefs.h>. Provide default object
informations with zero objects via librtemscpu.a. This greatly
simplifies the workspace size estimate. RTEMS applications which do not
use the unlimited objects option are easier to debug since all objects
reside now in statically allocated objects of the right types.

Close #3621.

  • Property mode set to 100644
File size: 59.3 KB
Line 
1#
2# Single Processor Testuite
3#
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../automake/compile.am
9
10sp_tests =
11sp_screens =
12sp_docs =
13sp_libs =
14
15support_includes = -I$(top_srcdir)/../support/include
16
17if TEST_sp01
18sp_tests += sp01
19sp_screens += sp01/sp01.scn
20sp_docs += sp01/sp01.doc
21sp01_SOURCES = sp01/init.c sp01/task1.c sp01/system.h
22sp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp01) $(support_includes)
23endif
24
25if TEST_sp02
26sp_tests += sp02
27sp_screens += sp02/sp02.scn
28sp_docs += sp02/sp02.doc
29sp02_SOURCES = sp02/init.c sp02/task1.c sp02/task2.c sp02/task3.c \
30        sp02/preempt.c sp02/system.h
31sp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp02) $(support_includes)
32endif
33
34if TEST_sp03
35sp_tests += sp03
36sp_screens += sp03/sp03.scn
37sp_docs += sp03/sp03.doc
38sp03_SOURCES = sp03/init.c sp03/task1.c sp03/task2.c sp03/system.h
39sp03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp03) $(support_includes)
40endif
41
42if TEST_sp04
43sp_tests += sp04
44sp_screens += sp04/sp04.scn
45sp_docs += sp04/sp04.doc
46sp04_SOURCES = sp04/init.c sp04/task1.c sp04/task2.c sp04/task3.c \
47        sp04/tswitch.c sp04/system.h
48sp04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp04) $(support_includes)
49endif
50
51if TEST_sp05
52sp_tests += sp05
53sp_screens += sp05/sp05.scn
54sp_docs += sp05/sp05.doc
55sp05_SOURCES = sp05/init.c sp05/task1.c sp05/task2.c sp05/task3.c \
56        sp05/system.h
57sp05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp05) $(support_includes)
58endif
59
60if TEST_sp06
61sp_tests += sp06
62sp_screens += sp06/sp06.scn
63sp_docs += sp06/sp06.doc
64sp06_SOURCES = sp06/init.c sp06/task1.c sp06/task2.c sp06/task3.c \
65        sp06/system.h
66sp06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp06) $(support_includes)
67endif
68
69if TEST_sp07
70sp_tests += sp07
71sp_screens += sp07/sp07.scn
72sp_docs += sp07/sp07.doc
73sp07_SOURCES = sp07/init.c sp07/task1.c sp07/task2.c sp07/task3.c \
74        sp07/task4.c sp07/taskexit.c sp07/tcreate.c sp07/tdelete.c \
75        sp07/trestart.c sp07/tstart.c sp07/system.h
76sp07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp07) $(support_includes)
77endif
78
79if TEST_sp08
80sp_tests += sp08
81sp_screens += sp08/sp08.scn
82sp_docs += sp08/sp08.doc
83sp08_SOURCES = sp08/init.c
84sp08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp08) $(support_includes)
85endif
86
87if TEST_sp11
88sp_tests += sp11
89sp_screens += sp11/sp11.scn
90sp_docs += sp11/sp11.doc
91sp11_SOURCES = sp11/init.c sp11/task1.c sp11/task2.c sp11/timer.c \
92        sp11/system.h
93sp11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp11) $(support_includes)
94endif
95
96if TEST_sp12
97sp_tests += sp12
98sp_screens += sp12/sp12.scn
99sp_docs += sp12/sp12.doc
100sp12_SOURCES = sp12/init.c sp12/task1.c sp12/task2.c sp12/task3.c \
101        sp12/task4.c sp12/task5.c sp12/pridrv.c sp12/pritask.c sp12/system.h
102sp12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp12) $(support_includes)
103endif
104
105if TEST_sp13
106sp_tests += sp13
107sp_screens += sp13/sp13.scn
108sp_docs += sp13/sp13.doc
109sp13_SOURCES = sp13/init.c sp13/fillbuff.c sp13/putbuff.c sp13/task1.c \
110        sp13/task2.c sp13/task3.c sp13/system.h
111sp13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp13) $(support_includes)
112endif
113
114if TEST_sp14
115sp_tests += sp14
116sp_screens += sp14/sp14.scn
117sp_docs += sp14/sp14.doc
118sp14_SOURCES = sp14/init.c sp14/asr.c sp14/task1.c sp14/task2.c \
119        sp14/system.h
120sp14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp14) $(support_includes)
121endif
122
123if TEST_sp15
124sp_tests += sp15
125sp_screens += sp15/sp15.scn
126sp_docs += sp15/sp15.doc
127sp15_SOURCES = sp15/init.c sp15/task1.c sp15/system.h
128sp15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp15) $(support_includes)
129endif
130
131if TEST_sp16
132sp_tests += sp16
133sp_screens += sp16/sp16.scn
134sp_docs += sp16/sp16.doc
135sp16_SOURCES = sp16/init.c sp16/task1.c sp16/task2.c sp16/task3.c \
136        sp16/task4.c sp16/task5.c sp16/system.h
137sp16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp16) $(support_includes)
138endif
139
140if TEST_sp17
141sp_tests += sp17
142sp_screens += sp17/sp17.scn
143sp_docs += sp17/sp17.doc
144sp17_SOURCES = sp17/init.c sp17/asr.c sp17/task1.c sp17/task2.c \
145        sp17/system.h
146sp17_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp17) $(support_includes)
147endif
148
149if TEST_sp18
150sp_tests += sp18
151sp_screens += sp18/sp18.scn
152sp_docs += sp18/sp18.doc
153sp18_SOURCES = sp18/init.c
154sp18_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp18) $(support_includes)
155endif
156
157if TEST_sp19
158sp_tests += sp19
159sp_screens += sp19/sp19.scn
160sp_docs += sp19/sp19.doc
161sp19_SOURCES = sp19/init.c sp19/first.c sp19/fptask.c sp19/task1.c \
162        sp19/system.h sp19/fptest.h sp19/inttest.h
163sp19_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp19) $(support_includes)
164endif
165
166if TEST_sp20
167sp_tests += sp20
168sp_screens += sp20/sp20.scn
169sp_docs += sp20/sp20.doc
170sp20_SOURCES = sp20/init.c sp20/getall.c sp20/task1.c sp20/system.h
171sp20_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp20) $(support_includes)
172endif
173
174if TEST_sp2038
175sp_tests += sp2038
176sp_screens += sp2038/sp2038.scn
177sp_docs += sp2038/sp2038.doc
178sp2038_SOURCES = sp2038/init.c
179sp2038_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp2038) \
180        $(support_includes)
181endif
182
183if TEST_sp21
184sp_tests += sp21
185sp_screens += sp21/sp21.scn
186sp_docs += sp21/sp21.doc
187sp21_SOURCES = sp21/init.c
188sp21_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp21) $(support_includes) \
189        -Wno-deprecated-declarations
190endif
191
192if TEST_sp22
193sp_tests += sp22
194sp_screens += sp22/sp22.scn
195sp_docs += sp22/sp22.doc
196sp22_SOURCES = sp22/init.c sp22/prtime.c sp22/delay.c sp22/task1.c \
197        sp22/system.h
198sp22_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp22) $(support_includes)
199endif
200
201if TEST_sp23
202sp_tests += sp23
203sp_screens += sp23/sp23.scn
204sp_docs += sp23/sp23.doc
205sp23_SOURCES = sp23/init.c sp23/task1.c sp23/system.h
206sp23_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp23) $(support_includes)
207endif
208
209if TEST_sp24
210sp_tests += sp24
211sp_screens += sp24/sp24.scn
212sp_docs += sp24/sp24.doc
213sp24_SOURCES = sp24/init.c sp24/resume.c sp24/task1.c sp24/system.h
214sp24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp24) $(support_includes)
215endif
216
217if TEST_sp25
218sp_tests += sp25
219sp_screens += sp25/sp25.scn
220sp_docs += sp25/sp25.doc
221sp25_SOURCES = sp25/init.c sp25/task1.c sp25/system.h
222sp25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp25) $(support_includes)
223endif
224
225if TEST_sp26
226sp_tests += sp26
227sp_screens += sp26/sp26.scn
228sp_docs += sp26/sp26.doc
229sp26_SOURCES = sp26/init.c sp26/task1.c sp26/system.h
230sp26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp26) $(support_includes)
231endif
232
233if TEST_sp27
234sp_tests += sp27
235sp_screens += sp27/sp27.scn
236sp_docs += sp27/sp27.doc
237sp27_SOURCES = sp27/init.c
238sp27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp27) $(support_includes)
239endif
240
241if TEST_sp27a
242sp_tests += sp27a
243sp_screens += sp27a/sp27a.scn
244sp_docs += sp27a/sp27a.doc
245sp27a_SOURCES = sp27/init.c
246sp27a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp27a) \
247        $(support_includes) -DUSE_COUNTING_SEMAPHORE
248endif
249
250if NO_SMP
251if TEST_sp29
252sp_tests += sp29
253sp_screens += sp29/sp29.scn
254sp_docs += sp29/sp29.doc
255sp29_SOURCES = sp29/init.c
256sp29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp29) $(support_includes)
257endif
258endif
259
260if TEST_sp30
261sp_tests += sp30
262sp_screens += sp30/sp30.scn
263sp_docs += sp30/sp30.doc
264sp30_SOURCES = sp30/init.c sp30/resume.c sp30/task1.c sp30/system.h
265sp30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp30) $(support_includes)
266endif
267
268if TEST_sp31
269sp_tests += sp31
270sp_screens += sp31/sp31.scn
271sp_docs += sp31/sp31.doc
272sp31_SOURCES = sp31/delay.c sp31/init.c sp31/prtime.c sp31/task1.c \
273        sp31/system.h
274sp31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp31) $(support_includes)
275endif
276
277if TEST_sp32
278sp_tests += sp32
279sp_screens += sp32/sp32.scn
280sp_docs += sp32/sp32.doc
281sp32_SOURCES = sp32/init.c
282sp32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp32) $(support_includes)
283endif
284
285if TEST_sp33
286sp_tests += sp33
287sp_screens += sp33/sp33.scn
288sp_docs += sp33/sp33.doc
289sp33_SOURCES = sp33/init.c
290sp33_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp33) $(support_includes)
291endif
292
293if TEST_sp34
294sp_tests += sp34
295sp_screens += sp34/sp34.scn
296sp_docs += sp34/sp34.doc
297sp34_SOURCES = sp34/changepri.c
298sp34_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp34) $(support_includes)
299endif
300
301if TEST_sp35
302sp_tests += sp35
303sp_screens += sp35/sp35.scn
304sp_docs += sp35/sp35.doc
305sp35_SOURCES = sp35/priinv.c
306sp35_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp35) $(support_includes)
307endif
308
309if TEST_sp37
310sp_tests += sp37
311sp_screens += sp37/sp37.scn
312sp_docs += sp37/sp37.doc
313sp37_SOURCES = sp37/init.c sp37/system.h
314sp37_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp37) $(support_includes)
315endif
316
317if TEST_sp38
318sp_tests += sp38
319sp_screens += sp38/sp38.scn
320sp_docs += sp38/sp38.doc
321sp38_SOURCES = sp38/init.c sp38/system.h
322sp38_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp38) $(support_includes)
323endif
324
325if TEST_sp40
326sp_tests += sp40
327sp_screens += sp40/sp40.scn
328sp_docs += sp40/sp40.doc
329sp40_SOURCES = sp40/init.c
330sp40_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp40) $(support_includes)
331endif
332
333if TEST_sp41
334sp_tests += sp41
335sp_screens += sp41/sp41.scn
336sp_docs += sp41/sp41.doc
337sp41_SOURCES = sp41/init.c
338sp41_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp41) $(support_includes)
339endif
340
341if TEST_sp42
342sp_tests += sp42
343sp_screens += sp42/sp42.scn
344sp_docs += sp42/sp42.doc
345sp42_SOURCES = sp42/init.c
346sp42_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp42) $(support_includes)
347endif
348
349if TEST_sp43
350sp_tests += sp43
351sp_screens += sp43/sp43.scn
352sp_docs += sp43/sp43.doc
353sp43_SOURCES = sp43/init.c sp43/system.h
354sp43_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp43) $(support_includes)
355endif
356
357if TEST_sp44
358sp_tests += sp44
359sp_screens += sp44/sp44.scn
360sp_docs += sp44/sp44.doc
361sp44_SOURCES = sp44/init.c
362sp44_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp44) $(support_includes)
363endif
364
365if TEST_sp45
366sp_tests += sp45
367sp_screens += sp45/sp45.scn
368sp_docs += sp45/sp45.doc
369sp45_SOURCES = sp45/init.c
370sp45_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp45) $(support_includes)
371endif
372
373if TEST_sp46
374sp_tests += sp46
375sp_screens += sp46/sp46.scn
376sp_docs += sp46/sp46.doc
377sp46_SOURCES = sp46/init.c
378sp46_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp46) $(support_includes)
379endif
380
381if TEST_sp47
382sp_tests += sp47
383sp_screens += sp47/sp47.scn
384sp_docs += sp47/sp47.doc
385sp47_SOURCES = sp47/init.c
386sp47_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp47) $(support_includes)
387endif
388
389if TEST_sp48
390sp_tests += sp48
391sp_screens += sp48/sp48.scn
392sp_docs += sp48/sp48.doc
393sp48_SOURCES = sp48/init.c
394sp48_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp48) $(support_includes)
395endif
396
397if TEST_sp49
398sp_tests += sp49
399sp_screens += sp49/sp49.scn
400sp_docs += sp49/sp49.doc
401sp49_SOURCES = sp49/init.c
402sp49_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp49) $(support_includes)
403endif
404
405if TEST_sp50
406sp_tests += sp50
407sp_screens += sp50/sp50.scn
408sp_docs += sp50/sp50.doc
409sp50_SOURCES = sp50/init.c
410sp50_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp50) $(support_includes)
411endif
412
413if TEST_sp51
414sp_tests += sp51
415sp_screens += sp51/sp51.scn
416sp_docs += sp51/sp51.doc
417sp51_SOURCES = sp51/init.c
418sp51_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp51) $(support_includes)
419endif
420
421if TEST_sp52
422sp_tests += sp52
423sp_screens += sp52/sp52.scn
424sp_docs += sp52/sp52.doc
425sp52_SOURCES = sp52/init.c
426sp52_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp52) $(support_includes)
427endif
428
429if TEST_sp53
430sp_tests += sp53
431sp_screens += sp53/sp53.scn
432sp_docs += sp53/sp53.doc
433sp53_SOURCES = sp52/init.c
434sp53_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp53) $(support_includes) \
435        -DUSE_TIMER_SERVER
436endif
437
438if TEST_sp54
439sp_tests += sp54
440sp_screens += sp54/sp54.scn
441sp_docs += sp54/sp54.doc
442sp54_SOURCES = sp54/init.c
443sp54_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp54) $(support_includes)
444endif
445
446if TEST_sp55
447sp_tests += sp55
448sp_screens += sp55/sp55.scn
449sp_docs += sp55/sp55.doc
450sp55_SOURCES = sp55/init.c
451sp55_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp55) $(support_includes)
452endif
453
454if TEST_sp56
455sp_tests += sp56
456sp_screens += sp56/sp56.scn
457sp_docs += sp56/sp56.doc
458sp56_SOURCES = sp56/init.c
459sp56_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp56) $(support_includes)
460endif
461
462if TEST_sp57
463sp_tests += sp57
464sp_screens += sp57/sp57.scn
465sp_docs += sp57/sp57.doc
466sp57_SOURCES = sp57/init.c
467sp57_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp57) $(support_includes)
468endif
469
470if TEST_sp58
471sp_tests += sp58
472sp_screens += sp58/sp58.scn
473sp_docs += sp58/sp58.doc
474sp58_SOURCES = sp58/init.c
475sp58_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp58) $(support_includes)
476endif
477
478if TEST_sp59
479sp_tests += sp59
480sp_screens += sp59/sp59.scn
481sp_docs += sp59/sp59.doc
482sp59_SOURCES = sp59/init.c
483sp59_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp59) $(support_includes)
484endif
485
486if TEST_sp60
487sp_tests += sp60
488sp_screens += sp60/sp60.scn
489sp_docs += sp60/sp60.doc
490sp60_SOURCES = sp60/init.c
491sp60_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp60) $(support_includes)
492endif
493
494if TEST_sp62
495sp_tests += sp62
496sp_screens += sp62/sp62.scn
497sp_docs += sp62/sp62.doc
498sp62_SOURCES = sp62/init.c
499sp62_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp62) $(support_includes)
500endif
501
502if TEST_sp63
503sp_tests += sp63
504sp_screens += sp63/sp63.scn
505sp_docs += sp63/sp63.doc
506sp63_SOURCES = sp63/init.c
507sp63_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp63) $(support_includes)
508endif
509
510if TEST_sp64
511sp_tests += sp64
512sp_screens += sp64/sp64.scn
513sp_docs += sp64/sp64.doc
514sp64_SOURCES = sp64/init.c
515sp64_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp64) $(support_includes) \
516        -I$(top_srcdir)/include
517endif
518
519if TEST_sp65
520sp_tests += sp65
521sp_screens += sp65/sp65.scn
522sp_docs += sp65/sp65.doc
523sp65_SOURCES = sp65/init.c
524sp65_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp65) $(support_includes) \
525        -I$(top_srcdir)/include
526endif
527
528if TEST_sp66
529sp_tests += sp66
530sp_screens += sp66/sp66.scn
531sp_docs += sp66/sp66.doc
532sp66_SOURCES = sp65/init.c
533sp66_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp66) $(support_includes) \
534        -I$(top_srcdir)/include -DINHERIT_CEILING
535endif
536
537if TEST_sp67
538sp_tests += sp67
539sp_screens += sp67/sp67.scn
540sp_docs += sp67/sp67.doc
541sp67_SOURCES = sp67/init.c
542sp67_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp67) $(support_includes)
543endif
544
545if TEST_sp68
546sp_tests += sp68
547sp_screens += sp68/sp68.scn
548sp_docs += sp68/sp68.doc
549sp68_SOURCES = sp68/init.c
550sp68_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp68) $(support_includes)
551endif
552
553if TEST_sp69
554sp_tests += sp69
555sp_screens += sp69/sp69.scn
556sp_docs += sp69/sp69.doc
557sp69_SOURCES = sp69/init.c ../support/src/spin.c
558sp69_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp69) $(support_includes)
559endif
560
561if TEST_sp70
562sp_tests += sp70
563sp_screens += sp70/sp70.scn
564sp_docs += sp70/sp70.doc
565sp70_SOURCES = sp70/init.c
566sp70_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp70) $(support_includes)
567endif
568
569if TEST_sp71
570sp_tests += sp71
571sp_screens += sp71/sp71.scn
572sp_docs += sp71/sp71.doc
573sp71_SOURCES = sp71/init.c
574sp71_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp71) $(support_includes)
575endif
576
577if TEST_sp72
578sp_tests += sp72
579sp_screens += sp72/sp72.scn
580sp_docs += sp72/sp72.doc
581sp72_SOURCES = sp72/init.c
582sp72_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp72) $(support_includes)
583endif
584
585if TEST_sp73
586sp_tests += sp73
587sp_screens += sp73/sp73.scn
588sp_docs += sp73/sp73.doc
589sp73_SOURCES = sp73/init.c
590sp73_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp73) $(support_includes)
591endif
592
593if TEST_sp74
594sp_tests += sp74
595sp_screens += sp74/sp74.scn
596sp_docs += sp74/sp74.doc
597sp74_SOURCES = sp74/init.c
598sp74_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp74) $(support_includes)
599endif
600
601if TEST_sp75
602sp_tests += sp75
603sp_screens += sp75/sp75.scn
604sp_docs += sp75/sp75.doc
605sp75_SOURCES = sp75/init.c
606sp75_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp75) $(support_includes)
607endif
608
609if TEST_sp76
610sp_tests += sp76
611sp_screens += sp76/sp76.scn
612sp_docs += sp76/sp76.doc
613sp76_SOURCES = sp76/init.c
614sp76_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp76) $(support_includes)
615endif
616
617if TEST_sp77
618sp_tests += sp77
619sp_screens += sp77/sp77.scn
620sp_docs += sp77/sp77.doc
621sp77_SOURCES = sp77/init.c
622sp77_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sp77) $(support_includes)
623endif
624
625if TEST_spassoc01
626sp_tests += spassoc01
627sp_screens += spassoc01/spassoc01.scn
628sp_docs += spassoc01/spassoc01.doc
629spassoc01_SOURCES = spassoc01/init.c
630spassoc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spassoc01) \
631        $(support_includes)
632endif
633
634if TEST_spatomic01
635sp_tests += spatomic01
636sp_screens += spatomic01/spatomic01.scn
637sp_docs += spatomic01/spatomic01.doc
638spatomic01_SOURCES = spatomic01/init.c
639spatomic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spatomic01) \
640        $(support_includes)
641endif
642
643if TEST_spcache01
644sp_tests += spcache01
645sp_screens += spcache01/spcache01.scn
646sp_docs += spcache01/spcache01.doc
647spcache01_SOURCES = spcache01/init.c
648spcache01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcache01) \
649        $(support_includes)
650endif
651
652if TEST_spcbssched01
653sp_tests += spcbssched01
654sp_screens += spcbssched01/spcbssched01.scn
655sp_docs += spcbssched01/spcbssched01.doc
656spcbssched01_SOURCES = spcbssched01/init.c spcbssched01/task1.c \
657        spcbssched01/system.h
658spcbssched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched01) \
659        $(support_includes)
660endif
661
662if TEST_spcbssched02
663sp_tests += spcbssched02
664sp_screens += spcbssched02/spcbssched02.scn
665sp_docs += spcbssched02/spcbssched02.doc
666spcbssched02_SOURCES = spcbssched02/init.c \
667        spcbssched02/task_periodic.c spcbssched02/system.h
668spcbssched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched02) \
669        $(support_includes)
670endif
671
672if TEST_spcbssched03
673sp_tests += spcbssched03
674sp_screens += spcbssched03/spcbssched03.scn
675sp_docs += spcbssched03/spcbssched03.doc
676spcbssched03_SOURCES = spcbssched03/init.c \
677        spcbssched03/tasks_periodic.c spcbssched03/tasks_aperiodic.c \
678        spcbssched03/system.h spcbssched03/cbsparams.h
679spcbssched03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcbssched03) \
680        $(support_includes)
681endif
682
683if TEST_spchain
684sp_tests += spchain
685sp_screens += spchain/spchain.scn
686sp_docs += spchain/spchain.doc
687spchain_SOURCES = spchain/init.c
688spchain_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spchain) \
689        $(support_includes)
690endif
691
692if TEST_spclock_err01
693sp_tests += spclock_err01
694sp_screens += spclock_err01/spclock_err01.scn
695sp_docs += spclock_err01/spclock_err01.doc
696spclock_err01_SOURCES = spclock_err01/init.c spclock_err01/delay.c \
697        spclock_err01/system.h
698spclock_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_err01) \
699        $(support_includes)
700endif
701
702if TEST_spclock_err02
703sp_tests += spclock_err02
704sp_screens += spclock_err02/spclock_err02.scn
705sp_docs += spclock_err02/spclock_err02.doc
706spclock_err02_SOURCES = spclock_err02/init.c
707spclock_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spclock_err02) \
708        $(support_includes)
709endif
710
711if TEST_spconfig01
712sp_tests += spconfig01
713sp_screens += spconfig01/spconfig01.scn
714sp_docs += spconfig01/spconfig01.doc
715spconfig01_SOURCES = spconfig01/init.c
716spconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconfig01) \
717        $(support_includes)
718endif
719
720if TEST_spconfig02
721sp_tests += spconfig02
722sp_screens += spconfig02/spconfig02.scn
723sp_docs += spconfig02/spconfig02.doc
724spconfig02_SOURCES = spconfig02/init.c
725spconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconfig02) \
726        $(support_includes)
727endif
728
729if TEST_spconsole01
730sp_tests += spconsole01
731sp_screens += spconsole01/spconsole01.scn
732sp_docs += spconsole01/spconsole01.doc
733spconsole01_SOURCES = spconsole01/init.c
734spconsole01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconsole01) \
735        $(support_includes)
736spconsole01_LDADD = -lm
737endif
738
739if TEST_spcontext01
740sp_tests += spcontext01
741sp_screens += spcontext01/spcontext01.scn
742sp_docs += spcontext01/spcontext01.doc
743spcontext01_SOURCES = spcontext01/init.c
744spcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcontext01) \
745        $(support_includes)
746endif
747
748if TEST_spcoverage
749sp_tests += spcoverage
750sp_screens += spcoverage/spcoverage.scn
751sp_docs += spcoverage/spcoverage.doc
752spcoverage_SOURCES = spcoverage/init.c
753spcoverage_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcoverage) \
754        $(support_includes) -I$(top_srcdir)/include
755endif
756
757if TEST_spcpucounter01
758sp_tests += spcpucounter01
759sp_screens += spcpucounter01/spcpucounter01.scn
760sp_docs += spcpucounter01/spcpucounter01.doc
761spcpucounter01_SOURCES = spcpucounter01/init.c
762spcpucounter01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpucounter01) \
763        $(support_includes)
764endif
765
766if TEST_spcpuset01
767sp_tests += spcpuset01
768sp_screens += spcpuset01/spcpuset01.scn
769sp_docs += spcpuset01/spcpuset01.doc
770spcpuset01_SOURCES = spcpuset01/test.c spcpuset01/init.c
771spcpuset01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpuset01) \
772        $(support_includes) -DSMPTEST
773endif
774
775if TEST_spedfsched01
776sp_tests += spedfsched01
777sp_screens += spedfsched01/spedfsched01.scn
778sp_docs += spedfsched01/spedfsched01.doc
779spedfsched01_SOURCES = spedfsched01/init.c spedfsched01/task1.c \
780        spedfsched01/system.h
781spedfsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched01) \
782        $(support_includes)
783endif
784
785if TEST_spedfsched02
786sp_tests += spedfsched02
787sp_screens += spedfsched02/spedfsched02.scn
788sp_docs += spedfsched02/spedfsched02.doc
789spedfsched02_SOURCES = spedfsched02/init.c spedfsched02/getall.c \
790        spedfsched02/task1.c spedfsched02/system.h
791spedfsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched02) \
792        $(support_includes)
793endif
794
795if TEST_spedfsched03
796sp_tests += spedfsched03
797sp_screens += spedfsched03/spedfsched03.scn
798sp_docs += spedfsched03/spedfsched03.doc
799spedfsched03_SOURCES = spedfsched03/init.c \
800        spedfsched03/tasks_periodic.c spedfsched03/tasks_aperiodic.c \
801        spedfsched03/system.h spedfsched03/edfparams.h
802spedfsched03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched03) \
803        $(support_includes)
804endif
805
806if TEST_spedfsched04
807sp_tests += spedfsched04
808sp_screens += spedfsched04/spedfsched04.scn
809sp_docs += spedfsched04/spedfsched04.doc
810spedfsched04_SOURCES = spedfsched04/init.c ../support/src/spin.c
811spedfsched04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched04) \
812        $(support_includes)
813endif
814
815if TEST_sperror01
816sp_tests += sperror01
817sp_screens += sperror01/sperror01.scn
818sp_docs += sperror01/sperror01.doc
819sperror01_SOURCES = sperror01/init.c
820sperror01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror01) \
821        $(support_includes)
822endif
823
824if TEST_sperror02
825sp_tests += sperror02
826sp_screens += sperror02/sperror02.scn
827sp_docs += sperror02/sperror02.doc
828sperror02_SOURCES = sperror02/init.c
829sperror02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror02) \
830        $(support_includes)
831endif
832
833if TEST_sperror03
834sp_tests += sperror03
835sp_screens += sperror03/sperror03.scn
836sp_docs += sperror03/sperror03.doc
837sperror03_SOURCES = sperror03/init.c
838sperror03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror03) \
839        $(support_includes)
840endif
841
842if TEST_spevent_err03
843sp_tests += spevent_err03
844sp_screens += spevent_err03/spevent_err03.scn
845sp_docs += spevent_err03/spevent_err03.doc
846spevent_err03_SOURCES = spevent_err03/init.c spevent_err03/system.h
847spevent_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spevent_err03) \
848        $(support_includes)
849endif
850
851if TEST_speventsystem01
852sp_tests += speventsystem01
853sp_screens += speventsystem01/speventsystem01.scn
854sp_docs += speventsystem01/speventsystem01.doc
855speventsystem01_SOURCES = speventsystem01/init.c
856speventsystem01_CPPFLAGS = $(AM_CPPFLAGS) \
857        $(TEST_FLAGS_speventsystem01) $(support_includes)
858endif
859
860if TEST_speventtransient01
861sp_tests += speventtransient01
862sp_screens += speventtransient01/speventtransient01.scn
863sp_docs += speventtransient01/speventtransient01.doc
864speventtransient01_SOURCES = speventtransient01/init.c
865speventtransient01_CPPFLAGS = $(AM_CPPFLAGS) \
866        $(TEST_FLAGS_speventtransient01) $(support_includes)
867endif
868
869if TEST_spextensions01
870sp_tests += spextensions01
871sp_screens += spextensions01/spextensions01.scn
872sp_docs += spextensions01/spextensions01.doc
873spextensions01_SOURCES = spextensions01/init.c
874spextensions01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spextensions01) \
875        $(support_includes)
876endif
877
878if TEST_spfatal01
879sp_tests += spfatal01
880sp_screens += spfatal01/spfatal01.scn
881sp_docs += spfatal01/spfatal01.doc
882spfatal01_SOURCES = spfatal_support/init.c spfatal_support/system.h \
883        spfatal01/testcase.h
884spfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal01) \
885        $(support_includes) -I$(top_srcdir)/spfatal01
886endif
887
888if TEST_spfatal02
889sp_tests += spfatal02
890sp_screens += spfatal02/spfatal02.scn
891sp_docs += spfatal02/spfatal02.doc
892spfatal02_SOURCES = spfatal_support/init.c spfatal_support/system.h \
893        spfatal02/testcase.h
894spfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal02) \
895        $(support_includes) -I$(top_srcdir)/spfatal02
896endif
897
898if TEST_spfatal03
899sp_tests += spfatal03
900sp_screens += spfatal03/spfatal03.scn
901sp_docs += spfatal03/spfatal03.doc
902spfatal03_SOURCES = spfatal_support/init.c spfatal_support/system.h \
903        spfatal03/testcase.h
904spfatal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal03) \
905        $(support_includes) -I$(top_srcdir)/spfatal03
906endif
907
908if TEST_spfatal04
909sp_tests += spfatal04
910sp_screens += spfatal04/spfatal04.scn
911sp_docs += spfatal04/spfatal04.doc
912spfatal04_SOURCES = spfatal_support/init.c spfatal_support/system.h \
913        spfatal04/testcase.h
914spfatal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal04) \
915        $(support_includes) -I$(top_srcdir)/spfatal04
916endif
917
918if TEST_spfatal05
919sp_tests += spfatal05
920sp_screens += spfatal05/spfatal05.scn
921sp_docs += spfatal05/spfatal05.doc
922spfatal05_SOURCES = spfatal_support/init.c spfatal_support/system.h \
923        spfatal05/testcase.h
924spfatal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal05) \
925        $(support_includes) -I$(top_srcdir)/spfatal05
926endif
927
928if TEST_spfatal06
929sp_tests += spfatal06
930sp_screens += spfatal06/spfatal06.scn
931sp_docs += spfatal06/spfatal06.doc
932spfatal06_SOURCES = spfatal_support/init.c spfatal_support/system.h \
933        spfatal06/testcase.h
934spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \
935        $(support_includes) -I$(top_srcdir)/spfatal06
936endif
937
938if TEST_spfatal08
939sp_tests += spfatal08
940sp_screens += spfatal08/spfatal08.scn
941sp_docs += spfatal08/spfatal08.doc
942spfatal08_SOURCES = spfatal_support/init.c spfatal_support/system.h \
943        spfatal08/testcase.h
944spfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal08) \
945        $(support_includes) -I$(top_srcdir)/spfatal08
946endif
947
948if TEST_spfatal09
949sp_tests += spfatal09
950sp_screens += spfatal09/spfatal09.scn
951sp_docs += spfatal09/spfatal09.doc
952spfatal09_SOURCES = spfatal_support/init.c spfatal_support/system.h \
953        spfatal09/testcase.h
954spfatal09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal09) \
955        $(support_includes) -I$(top_srcdir)/spfatal09
956endif
957
958if TEST_spfatal10
959sp_tests += spfatal10
960sp_screens += spfatal10/spfatal10.scn
961sp_docs += spfatal10/spfatal10.doc
962spfatal10_SOURCES = spfatal_support/init.c spfatal_support/system.h \
963        spfatal10/testcase.h
964spfatal10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal10) \
965        $(support_includes) -I$(top_srcdir)/spfatal10
966endif
967
968if TEST_spfatal11
969sp_tests += spfatal11
970sp_screens += spfatal11/spfatal11.scn
971sp_docs += spfatal11/spfatal11.doc
972spfatal11_SOURCES = spfatal_support/init.c spfatal_support/system.h \
973        spfatal11/testcase.h
974spfatal11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal11) \
975        $(support_includes) -I$(top_srcdir)/spfatal11
976endif
977
978if TEST_spfatal12
979sp_tests += spfatal12
980sp_screens += spfatal12/spfatal12.scn
981sp_docs += spfatal12/spfatal12.doc
982spfatal12_SOURCES = spfatal_support/init.c spfatal_support/system.h \
983        spfatal12/testcase.h
984spfatal12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal12) \
985        $(support_includes) -I$(top_srcdir)/spfatal12
986endif
987
988if TEST_spfatal14
989sp_tests += spfatal14
990sp_screens += spfatal14/spfatal14.scn
991sp_docs += spfatal14/spfatal14.doc
992spfatal14_SOURCES = spfatal_support/init.c \
993        spfatal_support/consume_sems.c spfatal_support/system.h \
994        spfatal14/testcase.h
995spfatal14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal14) \
996        $(support_includes) -I$(top_srcdir)/spfatal14
997endif
998
999if TEST_spfatal15
1000sp_tests += spfatal15
1001sp_screens += spfatal15/spfatal15.scn
1002sp_docs += spfatal15/spfatal15.doc
1003spfatal15_SOURCES = spfatal_support/init.c \
1004        spfatal_support/consume_sems.c spfatal_support/system.h \
1005        spfatal15/testcase.h
1006spfatal15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal15) \
1007        $(support_includes) -I$(top_srcdir)/spfatal15
1008endif
1009
1010if TEST_spfatal16
1011sp_tests += spfatal16
1012sp_screens += spfatal16/spfatal16.scn
1013sp_docs += spfatal16/spfatal16.doc
1014spfatal16_SOURCES = spfatal_support/init.c \
1015        spfatal_support/consume_sems.c spfatal_support/system.h \
1016        spfatal16/testcase.h
1017spfatal16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal16) \
1018        $(support_includes) -I$(top_srcdir)/spfatal16 \
1019        -DSEMAPHORES_REMAINING=4
1020endif
1021
1022if TEST_spfatal24
1023sp_tests += spfatal24
1024sp_screens += spfatal24/spfatal24.scn
1025sp_docs += spfatal24/spfatal24.doc
1026spfatal24_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1027        spfatal24/testcase.h
1028spfatal24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal24) \
1029        $(support_includes) -I$(top_srcdir)/spfatal24
1030endif
1031
1032if TEST_spfatal25
1033sp_tests += spfatal25
1034sp_screens += spfatal25/spfatal25.scn
1035sp_docs += spfatal25/spfatal25.doc
1036spfatal25_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1037        spfatal25/testcase.h
1038spfatal25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal25) \
1039        $(support_includes) -I$(top_srcdir)/spfatal25
1040endif
1041
1042if TEST_spfatal26
1043sp_tests += spfatal26
1044sp_screens += spfatal26/spfatal26.scn
1045sp_docs += spfatal26/spfatal26.doc
1046spfatal26_SOURCES = spfatal26/init.c
1047spfatal26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal26) \
1048        $(support_includes)
1049endif
1050
1051if TEST_spfatal27
1052sp_tests += spfatal27
1053sp_screens += spfatal27/spfatal27.scn
1054sp_docs += spfatal27/spfatal27.doc
1055spfatal27_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1056        spfatal27/testcase.h
1057spfatal27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal27) \
1058        $(support_includes) -I$(top_srcdir)/spfatal27
1059endif
1060
1061if TEST_spfatal28
1062sp_tests += spfatal28
1063sp_screens += spfatal28/spfatal28.scn
1064sp_docs += spfatal28/spfatal28.doc
1065spfatal28_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1066        spfatal28/testcase.h
1067spfatal28_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal28) \
1068        $(support_includes) -I$(top_srcdir)/spfatal28
1069endif
1070
1071if TEST_spfatal29
1072sp_tests += spfatal29
1073sp_screens += spfatal29/spfatal29.scn
1074sp_docs += spfatal29/spfatal29.doc
1075spfatal29_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1076        spfatal29/testcase.h
1077spfatal29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal29) \
1078        $(support_includes) -I$(top_srcdir)/spfatal29
1079endif
1080
1081if TEST_spfatal30
1082sp_tests += spfatal30
1083sp_screens += spfatal30/spfatal30.scn
1084sp_docs += spfatal30/spfatal30.doc
1085spfatal30_SOURCES = spfatal30/init.c
1086spfatal30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal30) \
1087        $(support_includes)
1088endif
1089
1090if TEST_spfatal31
1091sp_tests += spfatal31
1092sp_screens += spfatal31/spfatal31.scn
1093sp_docs += spfatal31/spfatal31.doc
1094spfatal31_SOURCES = spfatal31/init.c
1095spfatal31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal31) \
1096        $(support_includes)
1097endif
1098
1099if TEST_spfatal32
1100sp_tests += spfatal32
1101sp_screens += spfatal32/spfatal32.scn
1102sp_docs += spfatal32/spfatal32.doc
1103spfatal32_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1104        spfatal32/testcase.h
1105spfatal32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal32) \
1106        $(support_includes) -I$(top_srcdir)/spfatal32
1107endif
1108
1109if TEST_spfifo01
1110sp_tests += spfifo01
1111sp_screens += spfifo01/spfifo01.scn
1112sp_docs += spfifo01/spfifo01.doc
1113spfifo01_SOURCES = spfifo01/init.c
1114spfifo01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo01) \
1115        $(support_includes)
1116endif
1117
1118if TEST_spfifo02
1119sp_tests += spfifo02
1120sp_screens += spfifo02/spfifo02.scn
1121sp_docs += spfifo02/spfifo02.doc
1122spfifo02_SOURCES = spfifo02/init.c
1123spfifo02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo02) \
1124        $(support_includes)
1125endif
1126
1127if TEST_spfifo03
1128sp_tests += spfifo03
1129sp_screens += spfifo03/spfifo03.scn
1130sp_docs += spfifo03/spfifo03.doc
1131spfifo03_SOURCES = spfifo03/init.c
1132spfifo03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo03) \
1133        $(support_includes)
1134endif
1135
1136if TEST_spfifo04
1137sp_tests += spfifo04
1138sp_screens += spfifo04/spfifo04.scn
1139sp_docs += spfifo04/spfifo04.doc
1140spfifo04_SOURCES = spfifo04/init.c
1141spfifo04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo04) \
1142        $(support_includes)
1143endif
1144
1145if TEST_spfifo05
1146sp_tests += spfifo05
1147sp_screens += spfifo05/spfifo05.scn
1148sp_docs += spfifo05/spfifo05.doc
1149spfifo05_SOURCES = spfifo05/init.c
1150spfifo05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo05) \
1151        $(support_includes)
1152endif
1153
1154if TEST_spfreechain01
1155sp_tests += spfreechain01
1156sp_screens += spfreechain01/spfreechain01.scn
1157sp_docs += spfreechain01/spfreechain01.doc
1158spfreechain01_SOURCES = spfreechain01/init.c
1159spfreechain01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfreechain01) \
1160        $(support_includes)
1161endif
1162
1163if HAS_CPLUSPLUS
1164if TEST_spglobalcon01
1165sp_tests += spglobalcon01
1166sp_screens += spglobalcon01/spglobalcon01.scn
1167sp_docs += spglobalcon01/spglobalcon01.doc
1168spglobalcon01_SOURCES = spglobalcon01/init.cc
1169spglobalcon01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon01) \
1170        $(support_includes)
1171endif
1172endif
1173
1174if TEST_spglobalcon02
1175sp_tests += spglobalcon02
1176sp_screens += spglobalcon02/spglobalcon02.scn
1177sp_docs += spglobalcon02/spglobalcon02.doc
1178spglobalcon02_SOURCES = spglobalcon02/init.c
1179spglobalcon02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon02) \
1180        $(support_includes)
1181endif
1182
1183if TEST_spheapprot
1184sp_tests += spheapprot
1185sp_screens += spheapprot/spheapprot.scn
1186sp_docs += spheapprot/spheapprot.doc
1187spheapprot_SOURCES = spheapprot/init.c
1188spheapprot_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spheapprot) \
1189        $(support_includes)
1190endif
1191
1192if TEST_spinternalerror01
1193sp_tests += spinternalerror01
1194sp_screens += spinternalerror01/spinternalerror01.scn
1195sp_docs += spinternalerror01/spinternalerror01.doc
1196spinternalerror01_SOURCES = spinternalerror01/init.c
1197spinternalerror01_CPPFLAGS = $(AM_CPPFLAGS) \
1198        $(TEST_FLAGS_spinternalerror01) $(support_includes)
1199endif
1200
1201if TEST_spinternalerror02
1202sp_tests += spinternalerror02
1203sp_screens += spinternalerror02/spinternalerror02.scn
1204sp_docs += spinternalerror02/spinternalerror02.doc
1205spinternalerror02_SOURCES = spinternalerror02/init.c
1206spinternalerror02_CPPFLAGS = $(AM_CPPFLAGS) \
1207        $(TEST_FLAGS_spinternalerror02) $(support_includes)
1208endif
1209
1210if TEST_spintr_err01
1211sp_tests += spintr_err01
1212sp_screens += spintr_err01/spintr_err01.scn
1213sp_docs += spintr_err01/spintr_err01.doc
1214spintr_err01_SOURCES = spintr_err01/init.c spintr_err01/isr.c \
1215        spintr_err01/system.h
1216spintr_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spintr_err01) \
1217        $(support_includes)
1218endif
1219
1220if TEST_spintrcritical01
1221sp_tests += spintrcritical01
1222sp_screens += spintrcritical01/spintrcritical01.scn
1223sp_docs += spintrcritical01/spintrcritical01.doc
1224spintrcritical01_SOURCES = spintrcritical01/init.c \
1225        spintrcritical_support/intrcritical.c \
1226        spintrcritical_support/intrcritical.h
1227spintrcritical01_CPPFLAGS = $(AM_CPPFLAGS) \
1228        $(TEST_FLAGS_spintrcritical01) $(support_includes) \
1229        -I$(top_srcdir)/spintrcritical_support -DFIFO_NO_TIMEOUT
1230endif
1231
1232if TEST_spintrcritical02
1233sp_tests += spintrcritical02
1234sp_screens += spintrcritical02/spintrcritical02.scn
1235sp_docs += spintrcritical02/spintrcritical02.doc
1236spintrcritical02_SOURCES = spintrcritical01/init.c \
1237        spintrcritical_support/intrcritical.c
1238spintrcritical02_CPPFLAGS = $(AM_CPPFLAGS) \
1239        $(TEST_FLAGS_spintrcritical02) $(support_includes) \
1240        -I$(top_srcdir)/spintrcritical_support -DFIFO_WITH_TIMEOUT
1241endif
1242
1243if TEST_spintrcritical03
1244sp_tests += spintrcritical03
1245sp_screens += spintrcritical03/spintrcritical03.scn
1246sp_docs += spintrcritical03/spintrcritical03.doc
1247spintrcritical03_SOURCES = spintrcritical01/init.c \
1248        spintrcritical_support/intrcritical.c
1249spintrcritical03_CPPFLAGS = $(AM_CPPFLAGS) \
1250        $(TEST_FLAGS_spintrcritical03) $(support_includes) \
1251        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT
1252endif
1253
1254if TEST_spintrcritical04
1255sp_tests += spintrcritical04
1256sp_screens += spintrcritical04/spintrcritical04.scn
1257sp_docs += spintrcritical04/spintrcritical04.doc
1258spintrcritical04_SOURCES = spintrcritical01/init.c \
1259        spintrcritical_support/intrcritical.c
1260spintrcritical04_CPPFLAGS = $(AM_CPPFLAGS) \
1261        $(TEST_FLAGS_spintrcritical04) $(support_includes) \
1262        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_WITH_TIMEOUT
1263endif
1264
1265if TEST_spintrcritical05
1266sp_tests += spintrcritical05
1267sp_screens += spintrcritical05/spintrcritical05.scn
1268sp_docs += spintrcritical05/spintrcritical05.doc
1269spintrcritical05_SOURCES = spintrcritical01/init.c \
1270        spintrcritical_support/intrcritical.c
1271spintrcritical05_CPPFLAGS = $(AM_CPPFLAGS) \
1272        $(TEST_FLAGS_spintrcritical05) $(support_includes) \
1273        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
1274endif
1275
1276if TEST_spintrcritical06
1277sp_tests += spintrcritical06
1278sp_screens += spintrcritical06/spintrcritical06.scn
1279sp_docs += spintrcritical06/spintrcritical06.doc
1280spintrcritical06_SOURCES = spintrcritical06/init.c \
1281        spintrcritical_support/intrcritical.c \
1282        spintrcritical_support/intrcritical.h
1283spintrcritical06_CPPFLAGS = $(AM_CPPFLAGS) \
1284        $(TEST_FLAGS_spintrcritical06) $(support_includes) \
1285        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_FORWARD
1286endif
1287
1288if TEST_spintrcritical07
1289sp_tests += spintrcritical07
1290sp_screens += spintrcritical07/spintrcritical07.scn
1291sp_docs += spintrcritical07/spintrcritical07.doc
1292spintrcritical07_SOURCES = spintrcritical06/init.c \
1293        spintrcritical_support/intrcritical.c
1294spintrcritical07_CPPFLAGS = $(AM_CPPFLAGS) \
1295        $(TEST_FLAGS_spintrcritical07) $(support_includes) \
1296        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
1297endif
1298
1299if TEST_spintrcritical08
1300sp_tests += spintrcritical08
1301sp_screens += spintrcritical08/spintrcritical08.scn
1302sp_docs += spintrcritical08/spintrcritical08.doc
1303spintrcritical08_SOURCES = spintrcritical08/init.c \
1304        spintrcritical_support/intrcritical.c \
1305        spintrcritical_support/intrcritical.h
1306spintrcritical08_CPPFLAGS = $(AM_CPPFLAGS) \
1307        $(TEST_FLAGS_spintrcritical08) $(support_includes) \
1308        -I$(top_srcdir)/spintrcritical_support
1309endif
1310
1311if TEST_spintrcritical09
1312sp_tests += spintrcritical09
1313sp_screens += spintrcritical09/spintrcritical09.scn
1314sp_docs += spintrcritical09/spintrcritical09.doc
1315spintrcritical09_SOURCES = spintrcritical09/init.c \
1316        spintrcritical_support/intrcritical.c \
1317        spintrcritical_support/intrcritical.h
1318spintrcritical09_CPPFLAGS = $(AM_CPPFLAGS) \
1319        $(TEST_FLAGS_spintrcritical09) $(support_includes) \
1320        -I$(top_srcdir)/spintrcritical_support
1321endif
1322
1323if TEST_spintrcritical10
1324sp_tests += spintrcritical10
1325sp_screens += spintrcritical10/spintrcritical10.scn
1326sp_docs += spintrcritical10/spintrcritical10.doc
1327spintrcritical10_SOURCES = spintrcritical10/init.c \
1328        spintrcritical_support/intrcritical.c \
1329        spintrcritical_support/intrcritical.h
1330spintrcritical10_CPPFLAGS = $(AM_CPPFLAGS) \
1331        $(TEST_FLAGS_spintrcritical10) $(support_includes) \
1332        -I$(top_srcdir)/spintrcritical_support
1333endif
1334
1335if TEST_spintrcritical11
1336sp_tests += spintrcritical11
1337sp_screens += spintrcritical11/spintrcritical11.scn
1338sp_docs += spintrcritical11/spintrcritical11.doc
1339spintrcritical11_SOURCES = spintrcritical11/init.c \
1340        spintrcritical_support/intrcritical.c \
1341        spintrcritical_support/intrcritical.h
1342spintrcritical11_CPPFLAGS = $(AM_CPPFLAGS) \
1343        $(TEST_FLAGS_spintrcritical11) $(support_includes) \
1344        -I$(top_srcdir)/spintrcritical_support -DEVENT_ANY
1345endif
1346
1347if TEST_spintrcritical12
1348sp_tests += spintrcritical12
1349sp_screens += spintrcritical12/spintrcritical12.scn
1350sp_docs += spintrcritical12/spintrcritical12.doc
1351spintrcritical12_SOURCES = spintrcritical11/init.c \
1352        spintrcritical_support/intrcritical.c
1353spintrcritical12_CPPFLAGS = $(AM_CPPFLAGS) \
1354        $(TEST_FLAGS_spintrcritical12) $(support_includes) \
1355        -I$(top_srcdir)/spintrcritical_support -DEVENT_ALL
1356endif
1357
1358if TEST_spintrcritical13
1359sp_tests += spintrcritical13
1360sp_screens += spintrcritical13/spintrcritical13.scn
1361sp_docs += spintrcritical13/spintrcritical13.doc
1362spintrcritical13_SOURCES = spintrcritical13/init.c \
1363        spintrcritical_support/intrcritical.c \
1364        spintrcritical_support/intrcritical.h
1365spintrcritical13_CPPFLAGS = $(AM_CPPFLAGS) \
1366        $(TEST_FLAGS_spintrcritical13) $(support_includes) \
1367        -I$(top_srcdir)/spintrcritical_support -DFIRE_AFTER
1368endif
1369
1370if TEST_spintrcritical14
1371sp_tests += spintrcritical14
1372sp_screens += spintrcritical14/spintrcritical14.scn
1373sp_docs += spintrcritical14/spintrcritical14.doc
1374spintrcritical14_SOURCES = spintrcritical13/init.c \
1375        spintrcritical_support/intrcritical.c
1376spintrcritical14_CPPFLAGS = $(AM_CPPFLAGS) \
1377        $(TEST_FLAGS_spintrcritical14) $(support_includes) \
1378        -I$(top_srcdir)/spintrcritical_support -DSERVER_FIRE_AFTER
1379endif
1380
1381if TEST_spintrcritical15
1382sp_tests += spintrcritical15
1383sp_screens += spintrcritical15/spintrcritical15.scn
1384sp_docs += spintrcritical15/spintrcritical15.doc
1385spintrcritical15_SOURCES = spintrcritical15/init.c \
1386        spintrcritical_support/intrcritical.c \
1387        spintrcritical_support/intrcritical.h
1388spintrcritical15_CPPFLAGS = $(AM_CPPFLAGS) \
1389        $(TEST_FLAGS_spintrcritical15) $(support_includes) \
1390        -I$(top_srcdir)/spintrcritical_support
1391endif
1392
1393if TEST_spintrcritical16
1394sp_tests += spintrcritical16
1395sp_screens += spintrcritical16/spintrcritical16.scn
1396sp_docs += spintrcritical16/spintrcritical16.doc
1397spintrcritical16_SOURCES = spintrcritical16/init.c \
1398        spintrcritical_support/intrcritical.c \
1399        spintrcritical_support/intrcritical.h
1400spintrcritical16_CPPFLAGS = $(AM_CPPFLAGS) \
1401        $(TEST_FLAGS_spintrcritical16) $(support_includes) \
1402        -I$(top_srcdir)/spintrcritical_support
1403endif
1404
1405if TEST_spintrcritical18
1406sp_tests += spintrcritical18
1407sp_screens += spintrcritical18/spintrcritical18.scn
1408sp_docs += spintrcritical18/spintrcritical18.doc
1409spintrcritical18_SOURCES = spintrcritical18/init.c \
1410        spintrcritical_support/intrcritical.h \
1411        spintrcritical_support/intrcritical.c
1412spintrcritical18_CPPFLAGS = $(AM_CPPFLAGS) \
1413        $(TEST_FLAGS_spintrcritical18) $(support_includes) \
1414        -I$(top_srcdir)/spintrcritical_support
1415endif
1416
1417if TEST_spintrcritical20
1418sp_tests += spintrcritical20
1419sp_screens += spintrcritical20/spintrcritical20.scn
1420sp_docs += spintrcritical20/spintrcritical20.doc
1421spintrcritical20_SOURCES = spintrcritical20/init.c \
1422        spintrcritical_support/intrcritical.c
1423spintrcritical20_CPPFLAGS = $(AM_CPPFLAGS) \
1424        $(TEST_FLAGS_spintrcritical20) $(support_includes) \
1425        -I$(top_srcdir)/spintrcritical_support
1426endif
1427
1428if TEST_spintrcritical21
1429sp_tests += spintrcritical21
1430sp_screens += spintrcritical21/spintrcritical21.scn
1431sp_docs += spintrcritical21/spintrcritical21.doc
1432spintrcritical21_SOURCES = spintrcritical21/init.c \
1433        spintrcritical_support/intrcritical.c
1434spintrcritical21_CPPFLAGS = $(AM_CPPFLAGS) \
1435        $(TEST_FLAGS_spintrcritical21) $(support_includes) \
1436        -I$(top_srcdir)/spintrcritical_support
1437endif
1438
1439if TEST_spintrcritical22
1440sp_tests += spintrcritical22
1441sp_screens += spintrcritical22/spintrcritical22.scn
1442sp_docs += spintrcritical22/spintrcritical22.doc
1443spintrcritical22_SOURCES = spintrcritical22/init.c \
1444        spintrcritical_support/intrcritical.h \
1445        spintrcritical_support/intrcritical.c
1446spintrcritical22_CPPFLAGS = $(AM_CPPFLAGS) \
1447        $(TEST_FLAGS_spintrcritical22) $(support_includes) \
1448        -I$(top_srcdir)/spintrcritical_support
1449endif
1450
1451if TEST_spintrcritical23
1452sp_tests += spintrcritical23
1453sp_screens += spintrcritical23/spintrcritical23.scn
1454sp_docs += spintrcritical23/spintrcritical23.doc
1455spintrcritical23_SOURCES = spintrcritical23/init.c \
1456        spintrcritical_support/intrcritical.h \
1457        spintrcritical_support/intrcritical.c
1458spintrcritical23_CPPFLAGS = $(AM_CPPFLAGS) \
1459        $(TEST_FLAGS_spintrcritical23) $(support_includes) \
1460        -I$(top_srcdir)/spintrcritical_support
1461endif
1462
1463if TEST_spintrcritical24
1464sp_tests += spintrcritical24
1465sp_screens += spintrcritical24/spintrcritical24.scn
1466sp_docs += spintrcritical24/spintrcritical24.doc
1467spintrcritical24_SOURCES = spintrcritical24/init.c \
1468        spintrcritical_support/intrcritical.h \
1469        spintrcritical_support/intrcritical.c
1470spintrcritical24_CPPFLAGS = $(AM_CPPFLAGS) \
1471        $(TEST_FLAGS_spintrcritical24) $(support_includes) \
1472        -I$(top_srcdir)/spintrcritical_support
1473endif
1474
1475if TEST_splinkersets01
1476sp_tests += splinkersets01
1477sp_screens += splinkersets01/splinkersets01.scn
1478sp_docs += splinkersets01/splinkersets01.doc
1479splinkersets01_SOURCES = splinkersets01/init.c
1480splinkersets01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_splinkersets01) \
1481        $(support_includes)
1482splinkersets01_LDADD = libsplinkersets01.a
1483endif
1484
1485if TEST_spmkdir
1486sp_tests += spmkdir
1487sp_screens += spmkdir/spmkdir.scn
1488sp_docs += spmkdir/spmkdir.doc
1489spmkdir_SOURCES = spmkdir/init.c
1490spmkdir_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmkdir) \
1491        $(support_includes)
1492endif
1493
1494if TEST_spmisc01
1495sp_tests += spmisc01
1496sp_screens += spmisc01/spmisc01.scn
1497sp_docs += spmisc01/spmisc01.doc
1498spmisc01_SOURCES = spmisc01/init.c
1499spmisc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmisc01) \
1500        $(support_includes)
1501endif
1502
1503if TEST_spmountmgr01
1504sp_tests += spmountmgr01
1505sp_screens += spmountmgr01/spmountmgr01.scn
1506sp_docs += spmountmgr01/spmountmgr01.doc
1507spmountmgr01_SOURCES = spmountmgr01/init.c
1508spmountmgr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmountmgr01) \
1509        $(support_includes)
1510endif
1511
1512if TEST_spmrsp01
1513sp_tests += spmrsp01
1514sp_screens += spmrsp01/spmrsp01.scn
1515sp_docs += spmrsp01/spmrsp01.doc
1516spmrsp01_SOURCES = spmrsp01/init.c
1517spmrsp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmrsp01) \
1518        $(support_includes)
1519endif
1520
1521if TEST_spmsgq_err01
1522sp_tests += spmsgq_err01
1523sp_screens += spmsgq_err01/spmsgq_err01.scn
1524sp_docs += spmsgq_err01/spmsgq_err01.doc
1525spmsgq_err01_SOURCES = spmsgq_err01/init.c spmsgq_err01/system.h
1526spmsgq_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err01) \
1527        $(support_includes)
1528endif
1529
1530if TEST_spmsgq_err02
1531sp_tests += spmsgq_err02
1532sp_screens += spmsgq_err02/spmsgq_err02.scn
1533sp_docs += spmsgq_err02/spmsgq_err02.doc
1534spmsgq_err02_SOURCES = spmsgq_err02/init.c spmsgq_err02/task3.c \
1535        spmsgq_err02/system.h
1536spmsgq_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err02) \
1537        $(support_includes)
1538endif
1539
1540if TEST_spmutex01
1541sp_tests += spmutex01
1542sp_screens += spmutex01/spmutex01.scn
1543sp_docs += spmutex01/spmutex01.doc
1544spmutex01_SOURCES = spmutex01/init.c
1545spmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmutex01) \
1546        $(support_includes)
1547endif
1548
1549if TEST_spnsext01
1550sp_tests += spnsext01
1551sp_screens += spnsext01/spnsext01.scn
1552sp_docs += spnsext01/spnsext01.doc
1553spnsext01_SOURCES = spnsext01/init.c
1554spnsext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spnsext01) \
1555        $(support_includes)
1556endif
1557
1558if TEST_spobjgetnext
1559sp_tests += spobjgetnext
1560sp_screens += spobjgetnext/spobjgetnext.scn
1561sp_docs += spobjgetnext/spobjgetnext.doc
1562spobjgetnext_SOURCES = spobjgetnext/init.c spobjgetnext/system.h
1563spobjgetnext_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spobjgetnext) \
1564        $(support_includes)
1565endif
1566
1567if TEST_sppagesize
1568sp_tests += sppagesize
1569sp_screens += sppagesize/sppagesize.scn
1570sp_docs += sppagesize/sppagesize.doc
1571sppagesize_SOURCES = sppagesize/init.c
1572sppagesize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sppagesize) \
1573        $(support_includes)
1574endif
1575
1576if TEST_sppartition_err01
1577sp_tests += sppartition_err01
1578sp_screens += sppartition_err01/sppartition_err01.scn
1579sp_docs += sppartition_err01/sppartition_err01.doc
1580sppartition_err01_SOURCES = sppartition_err01/init.c \
1581        sppartition_err01/system.h
1582sppartition_err01_CPPFLAGS = $(AM_CPPFLAGS) \
1583        $(TEST_FLAGS_sppartition_err01) $(support_includes)
1584endif
1585
1586if TEST_sppercpudata01
1587sp_tests += sppercpudata01
1588sp_screens += sppercpudata01/sppercpudata01.scn
1589sp_docs += sppercpudata01/sppercpudata01.doc
1590sppercpudata01_SOURCES = sppercpudata01/init.c sppercpudata01/item.c
1591sppercpudata01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sppercpudata01) \
1592        $(support_includes)
1593endif
1594
1595if TEST_spport_err01
1596sp_tests += spport_err01
1597sp_screens += spport_err01/spport_err01.scn
1598sp_docs += spport_err01/spport_err01.doc
1599spport_err01_SOURCES = spport_err01/init.c spport_err01/system.h
1600spport_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spport_err01) \
1601        $(support_includes)
1602endif
1603
1604if TEST_spprintk
1605sp_tests += spprintk
1606sp_screens += spprintk/spprintk.scn
1607sp_docs += spprintk/spprintk.doc
1608spprintk_SOURCES = spprintk/init.c
1609spprintk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprintk) \
1610        $(support_includes)
1611endif
1612
1613if TEST_spprivenv01
1614sp_tests += spprivenv01
1615sp_screens += spprivenv01/spprivenv01.scn
1616sp_docs += spprivenv01/spprivenv01.doc
1617spprivenv01_SOURCES = spprivenv01/init.c
1618spprivenv01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprivenv01) \
1619        $(support_includes)
1620endif
1621
1622if TEST_spprofiling01
1623sp_tests += spprofiling01
1624sp_screens += spprofiling01/spprofiling01.scn
1625sp_docs += spprofiling01/spprofiling01.doc
1626spprofiling01_SOURCES = spprofiling01/init.c
1627spprofiling01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprofiling01) \
1628        $(support_includes)
1629endif
1630
1631if TEST_spqreslib
1632sp_tests += spqreslib
1633sp_screens += spqreslib/spqreslib.scn
1634sp_docs += spqreslib/spqreslib.doc
1635spqreslib_SOURCES = spqreslib/init.c spqreslib/task_periodic.c \
1636        spqreslib/system.h
1637spqreslib_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spqreslib) \
1638        $(support_includes)
1639spqreslib_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
1640endif
1641
1642if TEST_spratemon_err01
1643sp_tests += spratemon_err01
1644sp_screens += spratemon_err01/spratemon_err01.scn
1645sp_docs += spratemon_err01/spratemon_err01.doc
1646spratemon_err01_SOURCES = spratemon_err01/init.c \
1647        spratemon_err01/screen10.c spratemon_err01/task4.c \
1648        spratemon_err01/system.h
1649spratemon_err01_CPPFLAGS = $(AM_CPPFLAGS) \
1650        $(TEST_FLAGS_spratemon_err01) $(support_includes)
1651endif
1652
1653if TEST_sprbtree01
1654sp_tests += sprbtree01
1655sp_screens += sprbtree01/sprbtree01.scn
1656sp_docs += sprbtree01/sprbtree01.doc
1657sprbtree01_SOURCES = sprbtree01/init.c
1658sprbtree01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprbtree01) \
1659        $(support_includes)
1660endif
1661
1662if TEST_spregion_err01
1663sp_tests += spregion_err01
1664sp_screens += spregion_err01/spregion_err01.scn
1665sp_docs += spregion_err01/spregion_err01.doc
1666spregion_err01_SOURCES = spregion_err01/init.c spregion_err01/system.h
1667spregion_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spregion_err01) \
1668        $(support_includes)
1669endif
1670
1671if TEST_sprmsched01
1672sp_tests += sprmsched01
1673sp_screens += sprmsched01/sprmsched01.scn
1674sp_docs += sprmsched01/sprmsched01.doc
1675sprmsched01_SOURCES = sprmsched01/init.c ../support/src/spin.c
1676sprmsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched01) \
1677        $(support_includes)
1678endif
1679
1680if TEST_sprmsched02
1681sp_tests += sprmsched02
1682sp_screens += sprmsched02/sprmsched02.scn
1683sp_docs += sprmsched02/sprmsched02.doc
1684sprmsched02_SOURCES = sprmsched02/init.c ../support/src/spin.c
1685sprmsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched02) \
1686        $(support_includes)
1687endif
1688
1689if TEST_spscheduler01
1690sp_tests += spscheduler01
1691sp_screens += spscheduler01/spscheduler01.scn
1692sp_docs += spscheduler01/spscheduler01.doc
1693spscheduler01_SOURCES = spscheduler01/init.c
1694spscheduler01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spscheduler01) \
1695        $(support_includes)
1696endif
1697
1698if TEST_spsem01
1699sp_tests += spsem01
1700sp_screens += spsem01/spsem01.scn
1701sp_docs += spsem01/spsem01.doc
1702spsem01_SOURCES = spsem01/init.c
1703spsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem01) \
1704        $(support_includes)
1705endif
1706
1707if TEST_spsem02
1708sp_tests += spsem02
1709sp_screens += spsem02/spsem02.scn
1710sp_docs += spsem02/spsem02.doc
1711spsem02_SOURCES = spsem02/init.c
1712spsem02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem02) \
1713        $(support_includes)
1714endif
1715
1716if TEST_spsem03
1717sp_tests += spsem03
1718sp_screens += spsem03/spsem03.scn
1719sp_docs += spsem03/spsem03.doc
1720spsem03_SOURCES = spsem03/init.c
1721spsem03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem03) \
1722        $(support_includes)
1723endif
1724
1725if TEST_spsem_err01
1726sp_tests += spsem_err01
1727sp_screens += spsem_err01/spsem_err01.scn
1728sp_docs += spsem_err01/spsem_err01.doc
1729spsem_err01_SOURCES = spsem_err01/init.c spsem_err01/system.h
1730spsem_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err01) \
1731        $(support_includes)
1732endif
1733
1734if TEST_spsem_err02
1735sp_tests += spsem_err02
1736sp_screens += spsem_err02/spsem_err02.scn
1737sp_docs += spsem_err02/spsem_err02.doc
1738spsem_err02_SOURCES = spsem_err02/init.c spsem_err02/task2.c \
1739        spsem_err02/system.h
1740spsem_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err02) \
1741        $(support_includes)
1742endif
1743
1744if TEST_spsignal_err01
1745sp_tests += spsignal_err01
1746sp_screens += spsignal_err01/spsignal_err01.scn
1747sp_docs += spsignal_err01/spsignal_err01.doc
1748spsignal_err01_SOURCES = spsignal_err01/init.c spsignal_err01/isr.c \
1749        spsignal_err01/system.h
1750spsignal_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsignal_err01) \
1751        $(support_includes)
1752endif
1753
1754if TEST_spsimplesched01
1755sp_tests += spsimplesched01
1756sp_screens += spsimplesched01/spsimplesched01.scn
1757sp_docs += spsimplesched01/spsimplesched01.doc
1758spsimplesched01_SOURCES = spsimplesched01/init.c
1759spsimplesched01_CPPFLAGS = $(AM_CPPFLAGS) \
1760        $(TEST_FLAGS_spsimplesched01) $(support_includes)
1761endif
1762
1763if TEST_spsimplesched02
1764sp_tests += spsimplesched02
1765sp_screens += spsimplesched02/spsimplesched02.scn
1766sp_docs += spsimplesched02/spsimplesched02.doc
1767spsimplesched02_SOURCES = spsimplesched02/init.c
1768spsimplesched02_CPPFLAGS = $(AM_CPPFLAGS) \
1769        $(TEST_FLAGS_spsimplesched02) $(support_includes)
1770endif
1771
1772if TEST_spsimplesched03
1773sp_tests += spsimplesched03
1774sp_screens += spsimplesched03/spsimplesched03.scn
1775sp_docs += spsimplesched03/spsimplesched03.doc
1776spsimplesched03_SOURCES = spsimplesched03/init.c
1777spsimplesched03_CPPFLAGS = $(AM_CPPFLAGS) \
1778        $(TEST_FLAGS_spsimplesched03) $(support_includes)
1779endif
1780
1781if TEST_spsize
1782sp_tests += spsize
1783sp_screens += spsize/spsize.scn
1784sp_docs += spsize/spsize.doc
1785spsize_SOURCES = spsize/init.c spsize/getint.c spsize/size.c \
1786        spsize/system.h
1787spsize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsize) \
1788        $(support_includes)
1789endif
1790
1791if TEST_spstdthreads01
1792sp_tests += spstdthreads01
1793sp_screens += spstdthreads01/spstdthreads01.scn
1794sp_docs += spstdthreads01/spstdthreads01.doc
1795spstdthreads01_SOURCES = spstdthreads01/init.c
1796spstdthreads01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstdthreads01) \
1797        $(support_includes)
1798endif
1799
1800if TEST_spstkalloc
1801sp_tests += spstkalloc
1802sp_screens += spstkalloc/spstkalloc.scn
1803sp_docs += spstkalloc/spstkalloc.doc
1804spstkalloc_SOURCES = spstkalloc/init.c
1805spstkalloc_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc) \
1806        $(support_includes)
1807endif
1808
1809if TEST_spstkalloc02
1810sp_tests += spstkalloc02
1811sp_screens += spstkalloc02/spstkalloc02.scn
1812sp_docs += spstkalloc02/spstkalloc02.doc
1813spstkalloc02_SOURCES = spstkalloc02/init.c
1814spstkalloc02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc02) \
1815        $(support_includes)
1816endif
1817
1818if TEST_spsysinit01
1819sp_tests += spsysinit01
1820sp_screens += spsysinit01/spsysinit01.scn
1821sp_docs += spsysinit01/spsysinit01.doc
1822spsysinit01_SOURCES = spsysinit01/init.c
1823spsysinit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsysinit01) \
1824        $(support_includes)
1825endif
1826
1827if TEST_spsyslock01
1828sp_tests += spsyslock01
1829sp_screens += spsyslock01/spsyslock01.scn
1830sp_docs += spsyslock01/spsyslock01.doc
1831spsyslock01_SOURCES = spsyslock01/init.c
1832spsyslock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsyslock01) \
1833        $(support_includes)
1834endif
1835
1836if TEST_sptask_err01
1837sp_tests += sptask_err01
1838sp_screens += sptask_err01/sptask_err01.scn
1839sp_docs += sptask_err01/sptask_err01.doc
1840sptask_err01_SOURCES = sptask_err01/init.c sptask_err01/task2.c \
1841        sptask_err01/system.h
1842sptask_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err01) \
1843        $(support_includes)
1844endif
1845
1846if TEST_sptask_err02
1847sp_tests += sptask_err02
1848sp_screens += sptask_err02/sptask_err02.scn
1849sp_docs += sptask_err02/sptask_err02.doc
1850sptask_err02_SOURCES = sptask_err02/init.c sptask_err02/system.h
1851sptask_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err02) \
1852        $(support_includes)
1853endif
1854
1855if TEST_sptask_err03
1856sp_tests += sptask_err03
1857sp_screens += sptask_err03/sptask_err03.scn
1858sp_docs += sptask_err03/sptask_err03.doc
1859sptask_err03_SOURCES = sptask_err03/init.c sptask_err03/system.h
1860sptask_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err03) \
1861        $(support_includes)
1862endif
1863
1864if TEST_sptask_err04
1865sp_tests += sptask_err04
1866sp_screens += sptask_err04/sptask_err04.scn
1867sp_docs += sptask_err04/sptask_err04.doc
1868sptask_err04_SOURCES = sptask_err04/init.c sptask_err04/task1.c \
1869        sptask_err04/system.h
1870sptask_err04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err04) \
1871        $(support_includes)
1872endif
1873
1874if TEST_sptasknopreempt01
1875sp_tests += sptasknopreempt01
1876sp_screens += sptasknopreempt01/sptasknopreempt01.scn
1877sp_docs += sptasknopreempt01/sptasknopreempt01.doc
1878sptasknopreempt01_SOURCES = sptasknopreempt01/init.c
1879sptasknopreempt01_CPPFLAGS = $(AM_CPPFLAGS) \
1880        $(TEST_FLAGS_sptasknopreempt01) $(support_includes)
1881endif
1882
1883if TEST_spthread01
1884sp_tests += spthread01
1885sp_screens += spthread01/spthread01.scn
1886sp_docs += spthread01/spthread01.doc
1887spthread01_SOURCES = spthread01/init.c
1888spthread01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthread01) \
1889        $(support_includes)
1890endif
1891
1892if TEST_spthreadlife01
1893sp_tests += spthreadlife01
1894sp_screens += spthreadlife01/spthreadlife01.scn
1895sp_docs += spthreadlife01/spthreadlife01.doc
1896spthreadlife01_SOURCES = spthreadlife01/init.c
1897spthreadlife01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadlife01) \
1898        $(support_includes)
1899endif
1900
1901if TEST_spthreadq01
1902sp_tests += spthreadq01
1903sp_screens += spthreadq01/spthreadq01.scn
1904sp_docs += spthreadq01/spthreadq01.doc
1905spthreadq01_SOURCES = spthreadq01/init.c
1906spthreadq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadq01) \
1907        $(support_includes)
1908endif
1909
1910if TEST_sptimecounter01
1911sp_tests += sptimecounter01
1912sp_screens += sptimecounter01/sptimecounter01.scn
1913sp_docs += sptimecounter01/sptimecounter01.doc
1914sptimecounter01_SOURCES = sptimecounter01/init.c
1915sptimecounter01_CPPFLAGS = $(AM_CPPFLAGS) \
1916        $(TEST_FLAGS_sptimecounter01) $(support_includes)
1917endif
1918
1919if TEST_sptimecounter02
1920sp_tests += sptimecounter02
1921sp_screens += sptimecounter02/sptimecounter02.scn
1922sp_docs += sptimecounter02/sptimecounter02.doc
1923sptimecounter02_SOURCES = sptimecounter02/init.c ../support/src/spin.c
1924sptimecounter02_CPPFLAGS = $(AM_CPPFLAGS) \
1925        $(TEST_FLAGS_sptimecounter02) $(support_includes)
1926endif
1927
1928if TEST_sptimecounter03
1929sp_tests += sptimecounter03
1930sp_screens += sptimecounter03/sptimecounter03.scn
1931sp_docs += sptimecounter03/sptimecounter03.doc
1932sptimecounter03_SOURCES = sptimecounter03/init.c
1933sptimecounter03_CPPFLAGS = $(AM_CPPFLAGS) \
1934        $(TEST_FLAGS_sptimecounter03) $(support_includes)
1935endif
1936
1937if TEST_sptimecounter04
1938sp_tests += sptimecounter04
1939sp_screens += sptimecounter04/sptimecounter04.scn
1940sp_docs += sptimecounter04/sptimecounter04.doc
1941sptimecounter04_SOURCES = sptimecounter04/init.c
1942sptimecounter04_CPPFLAGS = $(AM_CPPFLAGS) \
1943        $(TEST_FLAGS_sptimecounter04) $(support_includes)
1944endif
1945
1946if TEST_sptimer_err01
1947sp_tests += sptimer_err01
1948sp_screens += sptimer_err01/sptimer_err01.scn
1949sp_docs += sptimer_err01/sptimer_err01.doc
1950sptimer_err01_SOURCES = sptimer_err01/init.c
1951sptimer_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err01) \
1952        $(support_includes)
1953endif
1954
1955if TEST_sptimer_err02
1956sp_tests += sptimer_err02
1957sp_screens += sptimer_err02/sptimer_err02.scn
1958sp_docs += sptimer_err02/sptimer_err02.doc
1959sptimer_err02_SOURCES = sptimer_err02/init.c
1960sptimer_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err02) \
1961        $(support_includes)
1962endif
1963
1964if TEST_sptimerserver01
1965sp_tests += sptimerserver01
1966sp_screens += sptimerserver01/sptimerserver01.scn
1967sp_docs += sptimerserver01/sptimerserver01.doc
1968sptimerserver01_SOURCES = sptimerserver01/init.c
1969sptimerserver01_CPPFLAGS = $(AM_CPPFLAGS) \
1970        $(TEST_FLAGS_sptimerserver01) $(support_includes)
1971endif
1972
1973if TEST_sptimespec01
1974sp_tests += sptimespec01
1975sp_screens += sptimespec01/sptimespec01.scn
1976sp_docs += sptimespec01/sptimespec01.doc
1977sptimespec01_SOURCES = sptimespec01/init.c
1978sptimespec01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimespec01) \
1979        $(support_includes)
1980endif
1981
1982if TEST_sptls01
1983sp_tests += sptls01
1984sp_screens += sptls01/sptls01.scn
1985sp_docs += sptls01/sptls01.doc
1986sptls01_SOURCES = sptls01/init.c
1987sptls01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls01) \
1988        $(support_includes)
1989endif
1990
1991if HAS_CPLUSPLUS
1992if TEST_sptls02
1993sp_tests += sptls02
1994sp_screens += sptls02/sptls02.scn
1995sp_docs += sptls02/sptls02.doc
1996sptls02_SOURCES = sptls02/init.cc
1997sptls02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls02) \
1998        $(support_includes)
1999endif
2000endif
2001
2002if TEST_sptls03
2003sp_tests += sptls03
2004sp_screens += sptls03/sptls03.scn
2005sp_docs += sptls03/sptls03.doc
2006sptls03_SOURCES = sptls03/init.c
2007sptls03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls03) \
2008        $(support_includes)
2009endif
2010
2011if TEST_sptls04
2012sp_tests += sptls04
2013sp_screens += sptls04/sptls04.scn
2014sp_docs += sptls04/sptls04.doc
2015sptls04_SOURCES = sptls04/init.c
2016sptls04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls04) \
2017        $(support_includes)
2018endif
2019
2020if TEST_spversion01
2021sp_tests += spversion01
2022sp_screens += spversion01/spversion01.scn
2023sp_docs += spversion01/spversion01.doc
2024spversion01_SOURCES = spversion01/init.c
2025spversion01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spversion01) \
2026        $(support_includes)
2027endif
2028
2029if TEST_spwatchdog
2030sp_tests += spwatchdog
2031sp_screens += spwatchdog/spwatchdog.scn
2032sp_docs += spwatchdog/spwatchdog.doc
2033spwatchdog_SOURCES = spwatchdog/init.c spwatchdog/task1.c \
2034        spwatchdog/system.h spwatchdog/prtime.c spwatchdog/delay.c
2035spwatchdog_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwatchdog) \
2036        $(support_includes)
2037endif
2038
2039if TEST_spwkspace
2040sp_tests += spwkspace
2041sp_screens += spwkspace/spwkspace.scn
2042sp_docs += spwkspace/spwkspace.doc
2043spwkspace_SOURCES = spwkspace/init.c
2044spwkspace_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwkspace) \
2045        $(support_includes)
2046endif
2047
2048if TEST_splinkersets01
2049sp_libs += libsplinkersets01.a
2050libsplinkersets01_a_SOURCES = splinkersets01/sets.c \
2051        splinkersets01/items.c
2052endif
2053
2054rtems_tests_PROGRAMS = $(sp_tests)
2055noinst_LIBRARIES = $(sp_libs)
2056dist_rtems_tests_DATA = $(sp_screens) $(sp_docs)
2057
Note: See TracBrowser for help on using the repository browser.