source: rtems/testsuites/sptests/Makefile.am @ 0e907232

Last change on this file since 0e907232 was 0e907232, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 6, 2018 at 5:01:48 AM

sptests/spconfig01: New test

Close #3435.

  • Property mode set to 100644
File size: 59.4 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_spconsole01
721sp_tests += spconsole01
722sp_screens += spconsole01/spconsole01.scn
723sp_docs += spconsole01/spconsole01.doc
724spconsole01_SOURCES = spconsole01/init.c
725spconsole01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spconsole01) \
726        $(support_includes)
727spconsole01_LDADD = -lm
728endif
729
730if TEST_spcontext01
731sp_tests += spcontext01
732sp_screens += spcontext01/spcontext01.scn
733sp_docs += spcontext01/spcontext01.doc
734spcontext01_SOURCES = spcontext01/init.c
735spcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcontext01) \
736        $(support_includes)
737endif
738
739if TEST_spcoverage
740sp_tests += spcoverage
741sp_screens += spcoverage/spcoverage.scn
742sp_docs += spcoverage/spcoverage.doc
743spcoverage_SOURCES = spcoverage/init.c
744spcoverage_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcoverage) \
745        $(support_includes) -I$(top_srcdir)/include
746endif
747
748if TEST_spcpucounter01
749sp_tests += spcpucounter01
750sp_screens += spcpucounter01/spcpucounter01.scn
751sp_docs += spcpucounter01/spcpucounter01.doc
752spcpucounter01_SOURCES = spcpucounter01/init.c
753spcpucounter01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpucounter01) \
754        $(support_includes)
755endif
756
757if TEST_spcpuset01
758sp_tests += spcpuset01
759sp_screens += spcpuset01/spcpuset01.scn
760sp_docs += spcpuset01/spcpuset01.doc
761spcpuset01_SOURCES = spcpuset01/test.c spcpuset01/init.c
762spcpuset01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcpuset01) \
763        $(support_includes) -DSMPTEST
764endif
765
766if TEST_spedfsched01
767sp_tests += spedfsched01
768sp_screens += spedfsched01/spedfsched01.scn
769sp_docs += spedfsched01/spedfsched01.doc
770spedfsched01_SOURCES = spedfsched01/init.c spedfsched01/task1.c \
771        spedfsched01/system.h
772spedfsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched01) \
773        $(support_includes)
774endif
775
776if TEST_spedfsched02
777sp_tests += spedfsched02
778sp_screens += spedfsched02/spedfsched02.scn
779sp_docs += spedfsched02/spedfsched02.doc
780spedfsched02_SOURCES = spedfsched02/init.c spedfsched02/getall.c \
781        spedfsched02/task1.c spedfsched02/system.h
782spedfsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched02) \
783        $(support_includes)
784endif
785
786if TEST_spedfsched03
787sp_tests += spedfsched03
788sp_screens += spedfsched03/spedfsched03.scn
789sp_docs += spedfsched03/spedfsched03.doc
790spedfsched03_SOURCES = spedfsched03/init.c \
791        spedfsched03/tasks_periodic.c spedfsched03/tasks_aperiodic.c \
792        spedfsched03/system.h spedfsched03/edfparams.h
793spedfsched03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched03) \
794        $(support_includes)
795endif
796
797if TEST_spedfsched04
798sp_tests += spedfsched04
799sp_screens += spedfsched04/spedfsched04.scn
800sp_docs += spedfsched04/spedfsched04.doc
801spedfsched04_SOURCES = spedfsched04/init.c ../support/src/spin.c
802spedfsched04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spedfsched04) \
803        $(support_includes)
804endif
805
806if TEST_sperror01
807sp_tests += sperror01
808sp_screens += sperror01/sperror01.scn
809sp_docs += sperror01/sperror01.doc
810sperror01_SOURCES = sperror01/init.c
811sperror01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror01) \
812        $(support_includes)
813endif
814
815if TEST_sperror02
816sp_tests += sperror02
817sp_screens += sperror02/sperror02.scn
818sp_docs += sperror02/sperror02.doc
819sperror02_SOURCES = sperror02/init.c
820sperror02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror02) \
821        $(support_includes)
822endif
823
824if TEST_sperror03
825sp_tests += sperror03
826sp_screens += sperror03/sperror03.scn
827sp_docs += sperror03/sperror03.doc
828sperror03_SOURCES = sperror03/init.c
829sperror03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sperror03) \
830        $(support_includes)
831endif
832
833if TEST_spevent_err03
834sp_tests += spevent_err03
835sp_screens += spevent_err03/spevent_err03.scn
836sp_docs += spevent_err03/spevent_err03.doc
837spevent_err03_SOURCES = spevent_err03/init.c spevent_err03/system.h
838spevent_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spevent_err03) \
839        $(support_includes)
840endif
841
842if TEST_speventsystem01
843sp_tests += speventsystem01
844sp_screens += speventsystem01/speventsystem01.scn
845sp_docs += speventsystem01/speventsystem01.doc
846speventsystem01_SOURCES = speventsystem01/init.c
847speventsystem01_CPPFLAGS = $(AM_CPPFLAGS) \
848        $(TEST_FLAGS_speventsystem01) $(support_includes)
849endif
850
851if TEST_speventtransient01
852sp_tests += speventtransient01
853sp_screens += speventtransient01/speventtransient01.scn
854sp_docs += speventtransient01/speventtransient01.doc
855speventtransient01_SOURCES = speventtransient01/init.c
856speventtransient01_CPPFLAGS = $(AM_CPPFLAGS) \
857        $(TEST_FLAGS_speventtransient01) $(support_includes)
858endif
859
860if TEST_spextensions01
861sp_tests += spextensions01
862sp_screens += spextensions01/spextensions01.scn
863sp_docs += spextensions01/spextensions01.doc
864spextensions01_SOURCES = spextensions01/init.c
865spextensions01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spextensions01) \
866        $(support_includes)
867endif
868
869if TEST_spfatal01
870sp_tests += spfatal01
871sp_screens += spfatal01/spfatal01.scn
872sp_docs += spfatal01/spfatal01.doc
873spfatal01_SOURCES = spfatal_support/init.c spfatal_support/system.h \
874        spfatal01/testcase.h
875spfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal01) \
876        $(support_includes) -I$(top_srcdir)/spfatal01
877endif
878
879if TEST_spfatal02
880sp_tests += spfatal02
881sp_screens += spfatal02/spfatal02.scn
882sp_docs += spfatal02/spfatal02.doc
883spfatal02_SOURCES = spfatal_support/init.c spfatal_support/system.h \
884        spfatal02/testcase.h
885spfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal02) \
886        $(support_includes) -I$(top_srcdir)/spfatal02
887endif
888
889if TEST_spfatal03
890sp_tests += spfatal03
891sp_screens += spfatal03/spfatal03.scn
892sp_docs += spfatal03/spfatal03.doc
893spfatal03_SOURCES = spfatal_support/init.c spfatal_support/system.h \
894        spfatal03/testcase.h
895spfatal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal03) \
896        $(support_includes) -I$(top_srcdir)/spfatal03
897endif
898
899if TEST_spfatal04
900sp_tests += spfatal04
901sp_screens += spfatal04/spfatal04.scn
902sp_docs += spfatal04/spfatal04.doc
903spfatal04_SOURCES = spfatal_support/init.c spfatal_support/system.h \
904        spfatal04/testcase.h
905spfatal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal04) \
906        $(support_includes) -I$(top_srcdir)/spfatal04
907endif
908
909if TEST_spfatal05
910sp_tests += spfatal05
911sp_screens += spfatal05/spfatal05.scn
912sp_docs += spfatal05/spfatal05.doc
913spfatal05_SOURCES = spfatal_support/init.c spfatal_support/system.h \
914        spfatal05/testcase.h
915spfatal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal05) \
916        $(support_includes) -I$(top_srcdir)/spfatal05
917endif
918
919if TEST_spfatal06
920sp_tests += spfatal06
921sp_screens += spfatal06/spfatal06.scn
922sp_docs += spfatal06/spfatal06.doc
923spfatal06_SOURCES = spfatal_support/init.c spfatal_support/system.h \
924        spfatal06/testcase.h
925spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \
926        $(support_includes) -I$(top_srcdir)/spfatal06
927endif
928
929if TEST_spfatal07
930sp_tests += spfatal07
931sp_screens += spfatal07/spfatal07.scn
932sp_docs += spfatal07/spfatal07.doc
933spfatal07_SOURCES = spfatal_support/init.c spfatal_support/system.h \
934        spfatal07/testcase.h
935spfatal07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal07) \
936        $(support_includes) -I$(top_srcdir)/spfatal07
937endif
938
939if TEST_spfatal08
940sp_tests += spfatal08
941sp_screens += spfatal08/spfatal08.scn
942sp_docs += spfatal08/spfatal08.doc
943spfatal08_SOURCES = spfatal_support/init.c spfatal_support/system.h \
944        spfatal08/testcase.h
945spfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal08) \
946        $(support_includes) -I$(top_srcdir)/spfatal08
947endif
948
949if TEST_spfatal09
950sp_tests += spfatal09
951sp_screens += spfatal09/spfatal09.scn
952sp_docs += spfatal09/spfatal09.doc
953spfatal09_SOURCES = spfatal_support/init.c spfatal_support/system.h \
954        spfatal09/testcase.h
955spfatal09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal09) \
956        $(support_includes) -I$(top_srcdir)/spfatal09
957endif
958
959if TEST_spfatal10
960sp_tests += spfatal10
961sp_screens += spfatal10/spfatal10.scn
962sp_docs += spfatal10/spfatal10.doc
963spfatal10_SOURCES = spfatal_support/init.c spfatal_support/system.h \
964        spfatal10/testcase.h
965spfatal10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal10) \
966        $(support_includes) -I$(top_srcdir)/spfatal10
967endif
968
969if TEST_spfatal11
970sp_tests += spfatal11
971sp_screens += spfatal11/spfatal11.scn
972sp_docs += spfatal11/spfatal11.doc
973spfatal11_SOURCES = spfatal_support/init.c spfatal_support/system.h \
974        spfatal11/testcase.h
975spfatal11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal11) \
976        $(support_includes) -I$(top_srcdir)/spfatal11
977endif
978
979if TEST_spfatal12
980sp_tests += spfatal12
981sp_screens += spfatal12/spfatal12.scn
982sp_docs += spfatal12/spfatal12.doc
983spfatal12_SOURCES = spfatal_support/init.c spfatal_support/system.h \
984        spfatal12/testcase.h
985spfatal12_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal12) \
986        $(support_includes) -I$(top_srcdir)/spfatal12
987endif
988
989if TEST_spfatal13
990sp_tests += spfatal13
991sp_screens += spfatal13/spfatal13.scn
992sp_docs += spfatal13/spfatal13.doc
993spfatal13_SOURCES = spfatal_support/init.c spfatal_support/system.h \
994        spfatal13/testcase.h
995spfatal13_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal13) \
996        $(support_includes) -I$(top_srcdir)/spfatal13
997endif
998
999if TEST_spfatal14
1000sp_tests += spfatal14
1001sp_screens += spfatal14/spfatal14.scn
1002sp_docs += spfatal14/spfatal14.doc
1003spfatal14_SOURCES = spfatal_support/init.c \
1004        spfatal_support/consume_sems.c spfatal_support/system.h \
1005        spfatal14/testcase.h
1006spfatal14_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal14) \
1007        $(support_includes) -I$(top_srcdir)/spfatal14
1008endif
1009
1010if TEST_spfatal15
1011sp_tests += spfatal15
1012sp_screens += spfatal15/spfatal15.scn
1013sp_docs += spfatal15/spfatal15.doc
1014spfatal15_SOURCES = spfatal_support/init.c \
1015        spfatal_support/consume_sems.c spfatal_support/system.h \
1016        spfatal15/testcase.h
1017spfatal15_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal15) \
1018        $(support_includes) -I$(top_srcdir)/spfatal15
1019endif
1020
1021if TEST_spfatal16
1022sp_tests += spfatal16
1023sp_screens += spfatal16/spfatal16.scn
1024sp_docs += spfatal16/spfatal16.doc
1025spfatal16_SOURCES = spfatal_support/init.c \
1026        spfatal_support/consume_sems.c spfatal_support/system.h \
1027        spfatal16/testcase.h
1028spfatal16_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal16) \
1029        $(support_includes) -I$(top_srcdir)/spfatal16 \
1030        -DSEMAPHORES_REMAINING=4
1031endif
1032
1033if TEST_spfatal24
1034sp_tests += spfatal24
1035sp_screens += spfatal24/spfatal24.scn
1036sp_docs += spfatal24/spfatal24.doc
1037spfatal24_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1038        spfatal24/testcase.h
1039spfatal24_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal24) \
1040        $(support_includes) -I$(top_srcdir)/spfatal24
1041endif
1042
1043if TEST_spfatal25
1044sp_tests += spfatal25
1045sp_screens += spfatal25/spfatal25.scn
1046sp_docs += spfatal25/spfatal25.doc
1047spfatal25_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1048        spfatal25/testcase.h
1049spfatal25_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal25) \
1050        $(support_includes) -I$(top_srcdir)/spfatal25
1051endif
1052
1053if TEST_spfatal26
1054sp_tests += spfatal26
1055sp_screens += spfatal26/spfatal26.scn
1056sp_docs += spfatal26/spfatal26.doc
1057spfatal26_SOURCES = spfatal26/init.c
1058spfatal26_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal26) \
1059        $(support_includes)
1060endif
1061
1062if TEST_spfatal27
1063sp_tests += spfatal27
1064sp_screens += spfatal27/spfatal27.scn
1065sp_docs += spfatal27/spfatal27.doc
1066spfatal27_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1067        spfatal27/testcase.h
1068spfatal27_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal27) \
1069        $(support_includes) -I$(top_srcdir)/spfatal27
1070endif
1071
1072if TEST_spfatal28
1073sp_tests += spfatal28
1074sp_screens += spfatal28/spfatal28.scn
1075sp_docs += spfatal28/spfatal28.doc
1076spfatal28_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1077        spfatal28/testcase.h
1078spfatal28_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal28) \
1079        $(support_includes) -I$(top_srcdir)/spfatal28
1080endif
1081
1082if TEST_spfatal29
1083sp_tests += spfatal29
1084sp_screens += spfatal29/spfatal29.scn
1085sp_docs += spfatal29/spfatal29.doc
1086spfatal29_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1087        spfatal29/testcase.h
1088spfatal29_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal29) \
1089        $(support_includes) -I$(top_srcdir)/spfatal29
1090endif
1091
1092if TEST_spfatal30
1093sp_tests += spfatal30
1094sp_screens += spfatal30/spfatal30.scn
1095sp_docs += spfatal30/spfatal30.doc
1096spfatal30_SOURCES = spfatal30/init.c
1097spfatal30_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal30) \
1098        $(support_includes)
1099endif
1100
1101if TEST_spfatal31
1102sp_tests += spfatal31
1103sp_screens += spfatal31/spfatal31.scn
1104sp_docs += spfatal31/spfatal31.doc
1105spfatal31_SOURCES = spfatal31/init.c
1106spfatal31_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal31) \
1107        $(support_includes)
1108endif
1109
1110if TEST_spfatal32
1111sp_tests += spfatal32
1112sp_screens += spfatal32/spfatal32.scn
1113sp_docs += spfatal32/spfatal32.doc
1114spfatal32_SOURCES = spfatal_support/init.c spfatal_support/system.h \
1115        spfatal32/testcase.h
1116spfatal32_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal32) \
1117        $(support_includes) -I$(top_srcdir)/spfatal32
1118endif
1119
1120if TEST_spfifo01
1121sp_tests += spfifo01
1122sp_screens += spfifo01/spfifo01.scn
1123sp_docs += spfifo01/spfifo01.doc
1124spfifo01_SOURCES = spfifo01/init.c
1125spfifo01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo01) \
1126        $(support_includes)
1127endif
1128
1129if TEST_spfifo02
1130sp_tests += spfifo02
1131sp_screens += spfifo02/spfifo02.scn
1132sp_docs += spfifo02/spfifo02.doc
1133spfifo02_SOURCES = spfifo02/init.c
1134spfifo02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo02) \
1135        $(support_includes)
1136endif
1137
1138if TEST_spfifo03
1139sp_tests += spfifo03
1140sp_screens += spfifo03/spfifo03.scn
1141sp_docs += spfifo03/spfifo03.doc
1142spfifo03_SOURCES = spfifo03/init.c
1143spfifo03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo03) \
1144        $(support_includes)
1145endif
1146
1147if TEST_spfifo04
1148sp_tests += spfifo04
1149sp_screens += spfifo04/spfifo04.scn
1150sp_docs += spfifo04/spfifo04.doc
1151spfifo04_SOURCES = spfifo04/init.c
1152spfifo04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo04) \
1153        $(support_includes)
1154endif
1155
1156if TEST_spfifo05
1157sp_tests += spfifo05
1158sp_screens += spfifo05/spfifo05.scn
1159sp_docs += spfifo05/spfifo05.doc
1160spfifo05_SOURCES = spfifo05/init.c
1161spfifo05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfifo05) \
1162        $(support_includes)
1163endif
1164
1165if TEST_spfreechain01
1166sp_tests += spfreechain01
1167sp_screens += spfreechain01/spfreechain01.scn
1168sp_docs += spfreechain01/spfreechain01.doc
1169spfreechain01_SOURCES = spfreechain01/init.c
1170spfreechain01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfreechain01) \
1171        $(support_includes)
1172endif
1173
1174if HAS_CPLUSPLUS
1175if TEST_spglobalcon01
1176sp_tests += spglobalcon01
1177sp_screens += spglobalcon01/spglobalcon01.scn
1178sp_docs += spglobalcon01/spglobalcon01.doc
1179spglobalcon01_SOURCES = spglobalcon01/init.cc
1180spglobalcon01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon01) \
1181        $(support_includes)
1182endif
1183endif
1184
1185if TEST_spglobalcon02
1186sp_tests += spglobalcon02
1187sp_screens += spglobalcon02/spglobalcon02.scn
1188sp_docs += spglobalcon02/spglobalcon02.doc
1189spglobalcon02_SOURCES = spglobalcon02/init.c
1190spglobalcon02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spglobalcon02) \
1191        $(support_includes)
1192endif
1193
1194if TEST_spheapprot
1195sp_tests += spheapprot
1196sp_screens += spheapprot/spheapprot.scn
1197sp_docs += spheapprot/spheapprot.doc
1198spheapprot_SOURCES = spheapprot/init.c
1199spheapprot_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spheapprot) \
1200        $(support_includes)
1201endif
1202
1203if TEST_spinternalerror01
1204sp_tests += spinternalerror01
1205sp_screens += spinternalerror01/spinternalerror01.scn
1206sp_docs += spinternalerror01/spinternalerror01.doc
1207spinternalerror01_SOURCES = spinternalerror01/init.c
1208spinternalerror01_CPPFLAGS = $(AM_CPPFLAGS) \
1209        $(TEST_FLAGS_spinternalerror01) $(support_includes)
1210endif
1211
1212if TEST_spinternalerror02
1213sp_tests += spinternalerror02
1214sp_screens += spinternalerror02/spinternalerror02.scn
1215sp_docs += spinternalerror02/spinternalerror02.doc
1216spinternalerror02_SOURCES = spinternalerror02/init.c
1217spinternalerror02_CPPFLAGS = $(AM_CPPFLAGS) \
1218        $(TEST_FLAGS_spinternalerror02) $(support_includes)
1219endif
1220
1221if TEST_spintr_err01
1222sp_tests += spintr_err01
1223sp_screens += spintr_err01/spintr_err01.scn
1224sp_docs += spintr_err01/spintr_err01.doc
1225spintr_err01_SOURCES = spintr_err01/init.c spintr_err01/isr.c \
1226        spintr_err01/system.h
1227spintr_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spintr_err01) \
1228        $(support_includes)
1229endif
1230
1231if TEST_spintrcritical01
1232sp_tests += spintrcritical01
1233sp_screens += spintrcritical01/spintrcritical01.scn
1234sp_docs += spintrcritical01/spintrcritical01.doc
1235spintrcritical01_SOURCES = spintrcritical01/init.c \
1236        spintrcritical_support/intrcritical.c \
1237        spintrcritical_support/intrcritical.h
1238spintrcritical01_CPPFLAGS = $(AM_CPPFLAGS) \
1239        $(TEST_FLAGS_spintrcritical01) $(support_includes) \
1240        -I$(top_srcdir)/spintrcritical_support -DFIFO_NO_TIMEOUT
1241endif
1242
1243if TEST_spintrcritical02
1244sp_tests += spintrcritical02
1245sp_screens += spintrcritical02/spintrcritical02.scn
1246sp_docs += spintrcritical02/spintrcritical02.doc
1247spintrcritical02_SOURCES = spintrcritical01/init.c \
1248        spintrcritical_support/intrcritical.c
1249spintrcritical02_CPPFLAGS = $(AM_CPPFLAGS) \
1250        $(TEST_FLAGS_spintrcritical02) $(support_includes) \
1251        -I$(top_srcdir)/spintrcritical_support -DFIFO_WITH_TIMEOUT
1252endif
1253
1254if TEST_spintrcritical03
1255sp_tests += spintrcritical03
1256sp_screens += spintrcritical03/spintrcritical03.scn
1257sp_docs += spintrcritical03/spintrcritical03.doc
1258spintrcritical03_SOURCES = spintrcritical01/init.c \
1259        spintrcritical_support/intrcritical.c
1260spintrcritical03_CPPFLAGS = $(AM_CPPFLAGS) \
1261        $(TEST_FLAGS_spintrcritical03) $(support_includes) \
1262        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT
1263endif
1264
1265if TEST_spintrcritical04
1266sp_tests += spintrcritical04
1267sp_screens += spintrcritical04/spintrcritical04.scn
1268sp_docs += spintrcritical04/spintrcritical04.doc
1269spintrcritical04_SOURCES = spintrcritical01/init.c \
1270        spintrcritical_support/intrcritical.c
1271spintrcritical04_CPPFLAGS = $(AM_CPPFLAGS) \
1272        $(TEST_FLAGS_spintrcritical04) $(support_includes) \
1273        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_WITH_TIMEOUT
1274endif
1275
1276if TEST_spintrcritical05
1277sp_tests += spintrcritical05
1278sp_screens += spintrcritical05/spintrcritical05.scn
1279sp_docs += spintrcritical05/spintrcritical05.doc
1280spintrcritical05_SOURCES = spintrcritical01/init.c \
1281        spintrcritical_support/intrcritical.c
1282spintrcritical05_CPPFLAGS = $(AM_CPPFLAGS) \
1283        $(TEST_FLAGS_spintrcritical05) $(support_includes) \
1284        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
1285endif
1286
1287if TEST_spintrcritical06
1288sp_tests += spintrcritical06
1289sp_screens += spintrcritical06/spintrcritical06.scn
1290sp_docs += spintrcritical06/spintrcritical06.doc
1291spintrcritical06_SOURCES = spintrcritical06/init.c \
1292        spintrcritical_support/intrcritical.c \
1293        spintrcritical_support/intrcritical.h
1294spintrcritical06_CPPFLAGS = $(AM_CPPFLAGS) \
1295        $(TEST_FLAGS_spintrcritical06) $(support_includes) \
1296        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_FORWARD
1297endif
1298
1299if TEST_spintrcritical07
1300sp_tests += spintrcritical07
1301sp_screens += spintrcritical07/spintrcritical07.scn
1302sp_docs += spintrcritical07/spintrcritical07.doc
1303spintrcritical07_SOURCES = spintrcritical06/init.c \
1304        spintrcritical_support/intrcritical.c
1305spintrcritical07_CPPFLAGS = $(AM_CPPFLAGS) \
1306        $(TEST_FLAGS_spintrcritical07) $(support_includes) \
1307        -I$(top_srcdir)/spintrcritical_support -DPRIORITY_NO_TIMEOUT_REVERSE
1308endif
1309
1310if TEST_spintrcritical08
1311sp_tests += spintrcritical08
1312sp_screens += spintrcritical08/spintrcritical08.scn
1313sp_docs += spintrcritical08/spintrcritical08.doc
1314spintrcritical08_SOURCES = spintrcritical08/init.c \
1315        spintrcritical_support/intrcritical.c \
1316        spintrcritical_support/intrcritical.h
1317spintrcritical08_CPPFLAGS = $(AM_CPPFLAGS) \
1318        $(TEST_FLAGS_spintrcritical08) $(support_includes) \
1319        -I$(top_srcdir)/spintrcritical_support
1320endif
1321
1322if TEST_spintrcritical09
1323sp_tests += spintrcritical09
1324sp_screens += spintrcritical09/spintrcritical09.scn
1325sp_docs += spintrcritical09/spintrcritical09.doc
1326spintrcritical09_SOURCES = spintrcritical09/init.c \
1327        spintrcritical_support/intrcritical.c \
1328        spintrcritical_support/intrcritical.h
1329spintrcritical09_CPPFLAGS = $(AM_CPPFLAGS) \
1330        $(TEST_FLAGS_spintrcritical09) $(support_includes) \
1331        -I$(top_srcdir)/spintrcritical_support
1332endif
1333
1334if TEST_spintrcritical10
1335sp_tests += spintrcritical10
1336sp_screens += spintrcritical10/spintrcritical10.scn
1337sp_docs += spintrcritical10/spintrcritical10.doc
1338spintrcritical10_SOURCES = spintrcritical10/init.c \
1339        spintrcritical_support/intrcritical.c \
1340        spintrcritical_support/intrcritical.h
1341spintrcritical10_CPPFLAGS = $(AM_CPPFLAGS) \
1342        $(TEST_FLAGS_spintrcritical10) $(support_includes) \
1343        -I$(top_srcdir)/spintrcritical_support
1344endif
1345
1346if TEST_spintrcritical11
1347sp_tests += spintrcritical11
1348sp_screens += spintrcritical11/spintrcritical11.scn
1349sp_docs += spintrcritical11/spintrcritical11.doc
1350spintrcritical11_SOURCES = spintrcritical11/init.c \
1351        spintrcritical_support/intrcritical.c \
1352        spintrcritical_support/intrcritical.h
1353spintrcritical11_CPPFLAGS = $(AM_CPPFLAGS) \
1354        $(TEST_FLAGS_spintrcritical11) $(support_includes) \
1355        -I$(top_srcdir)/spintrcritical_support -DEVENT_ANY
1356endif
1357
1358if TEST_spintrcritical12
1359sp_tests += spintrcritical12
1360sp_screens += spintrcritical12/spintrcritical12.scn
1361sp_docs += spintrcritical12/spintrcritical12.doc
1362spintrcritical12_SOURCES = spintrcritical11/init.c \
1363        spintrcritical_support/intrcritical.c
1364spintrcritical12_CPPFLAGS = $(AM_CPPFLAGS) \
1365        $(TEST_FLAGS_spintrcritical12) $(support_includes) \
1366        -I$(top_srcdir)/spintrcritical_support -DEVENT_ALL
1367endif
1368
1369if TEST_spintrcritical13
1370sp_tests += spintrcritical13
1371sp_screens += spintrcritical13/spintrcritical13.scn
1372sp_docs += spintrcritical13/spintrcritical13.doc
1373spintrcritical13_SOURCES = spintrcritical13/init.c \
1374        spintrcritical_support/intrcritical.c \
1375        spintrcritical_support/intrcritical.h
1376spintrcritical13_CPPFLAGS = $(AM_CPPFLAGS) \
1377        $(TEST_FLAGS_spintrcritical13) $(support_includes) \
1378        -I$(top_srcdir)/spintrcritical_support -DFIRE_AFTER
1379endif
1380
1381if TEST_spintrcritical14
1382sp_tests += spintrcritical14
1383sp_screens += spintrcritical14/spintrcritical14.scn
1384sp_docs += spintrcritical14/spintrcritical14.doc
1385spintrcritical14_SOURCES = spintrcritical13/init.c \
1386        spintrcritical_support/intrcritical.c
1387spintrcritical14_CPPFLAGS = $(AM_CPPFLAGS) \
1388        $(TEST_FLAGS_spintrcritical14) $(support_includes) \
1389        -I$(top_srcdir)/spintrcritical_support -DSERVER_FIRE_AFTER
1390endif
1391
1392if TEST_spintrcritical15
1393sp_tests += spintrcritical15
1394sp_screens += spintrcritical15/spintrcritical15.scn
1395sp_docs += spintrcritical15/spintrcritical15.doc
1396spintrcritical15_SOURCES = spintrcritical15/init.c \
1397        spintrcritical_support/intrcritical.c \
1398        spintrcritical_support/intrcritical.h
1399spintrcritical15_CPPFLAGS = $(AM_CPPFLAGS) \
1400        $(TEST_FLAGS_spintrcritical15) $(support_includes) \
1401        -I$(top_srcdir)/spintrcritical_support
1402endif
1403
1404if TEST_spintrcritical16
1405sp_tests += spintrcritical16
1406sp_screens += spintrcritical16/spintrcritical16.scn
1407sp_docs += spintrcritical16/spintrcritical16.doc
1408spintrcritical16_SOURCES = spintrcritical16/init.c \
1409        spintrcritical_support/intrcritical.c \
1410        spintrcritical_support/intrcritical.h
1411spintrcritical16_CPPFLAGS = $(AM_CPPFLAGS) \
1412        $(TEST_FLAGS_spintrcritical16) $(support_includes) \
1413        -I$(top_srcdir)/spintrcritical_support
1414endif
1415
1416if TEST_spintrcritical18
1417sp_tests += spintrcritical18
1418sp_screens += spintrcritical18/spintrcritical18.scn
1419sp_docs += spintrcritical18/spintrcritical18.doc
1420spintrcritical18_SOURCES = spintrcritical18/init.c \
1421        spintrcritical_support/intrcritical.h \
1422        spintrcritical_support/intrcritical.c
1423spintrcritical18_CPPFLAGS = $(AM_CPPFLAGS) \
1424        $(TEST_FLAGS_spintrcritical18) $(support_includes) \
1425        -I$(top_srcdir)/spintrcritical_support
1426endif
1427
1428if TEST_spintrcritical20
1429sp_tests += spintrcritical20
1430sp_screens += spintrcritical20/spintrcritical20.scn
1431sp_docs += spintrcritical20/spintrcritical20.doc
1432spintrcritical20_SOURCES = spintrcritical20/init.c \
1433        spintrcritical_support/intrcritical.c
1434spintrcritical20_CPPFLAGS = $(AM_CPPFLAGS) \
1435        $(TEST_FLAGS_spintrcritical20) $(support_includes) \
1436        -I$(top_srcdir)/spintrcritical_support
1437endif
1438
1439if TEST_spintrcritical21
1440sp_tests += spintrcritical21
1441sp_screens += spintrcritical21/spintrcritical21.scn
1442sp_docs += spintrcritical21/spintrcritical21.doc
1443spintrcritical21_SOURCES = spintrcritical21/init.c \
1444        spintrcritical_support/intrcritical.c
1445spintrcritical21_CPPFLAGS = $(AM_CPPFLAGS) \
1446        $(TEST_FLAGS_spintrcritical21) $(support_includes) \
1447        -I$(top_srcdir)/spintrcritical_support
1448endif
1449
1450if TEST_spintrcritical22
1451sp_tests += spintrcritical22
1452sp_screens += spintrcritical22/spintrcritical22.scn
1453sp_docs += spintrcritical22/spintrcritical22.doc
1454spintrcritical22_SOURCES = spintrcritical22/init.c \
1455        spintrcritical_support/intrcritical.h \
1456        spintrcritical_support/intrcritical.c
1457spintrcritical22_CPPFLAGS = $(AM_CPPFLAGS) \
1458        $(TEST_FLAGS_spintrcritical22) $(support_includes) \
1459        -I$(top_srcdir)/spintrcritical_support
1460endif
1461
1462if TEST_spintrcritical23
1463sp_tests += spintrcritical23
1464sp_screens += spintrcritical23/spintrcritical23.scn
1465sp_docs += spintrcritical23/spintrcritical23.doc
1466spintrcritical23_SOURCES = spintrcritical23/init.c \
1467        spintrcritical_support/intrcritical.h \
1468        spintrcritical_support/intrcritical.c
1469spintrcritical23_CPPFLAGS = $(AM_CPPFLAGS) \
1470        $(TEST_FLAGS_spintrcritical23) $(support_includes) \
1471        -I$(top_srcdir)/spintrcritical_support
1472endif
1473
1474if TEST_spintrcritical24
1475sp_tests += spintrcritical24
1476sp_screens += spintrcritical24/spintrcritical24.scn
1477sp_docs += spintrcritical24/spintrcritical24.doc
1478spintrcritical24_SOURCES = spintrcritical24/init.c \
1479        spintrcritical_support/intrcritical.h \
1480        spintrcritical_support/intrcritical.c
1481spintrcritical24_CPPFLAGS = $(AM_CPPFLAGS) \
1482        $(TEST_FLAGS_spintrcritical24) $(support_includes) \
1483        -I$(top_srcdir)/spintrcritical_support
1484endif
1485
1486if TEST_splinkersets01
1487sp_tests += splinkersets01
1488sp_screens += splinkersets01/splinkersets01.scn
1489sp_docs += splinkersets01/splinkersets01.doc
1490splinkersets01_SOURCES = splinkersets01/init.c
1491splinkersets01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_splinkersets01) \
1492        $(support_includes)
1493splinkersets01_LDADD = libsplinkersets01.a
1494endif
1495
1496if TEST_spmkdir
1497sp_tests += spmkdir
1498sp_screens += spmkdir/spmkdir.scn
1499sp_docs += spmkdir/spmkdir.doc
1500spmkdir_SOURCES = spmkdir/init.c
1501spmkdir_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmkdir) \
1502        $(support_includes)
1503endif
1504
1505if TEST_spmisc01
1506sp_tests += spmisc01
1507sp_screens += spmisc01/spmisc01.scn
1508sp_docs += spmisc01/spmisc01.doc
1509spmisc01_SOURCES = spmisc01/init.c
1510spmisc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmisc01) \
1511        $(support_includes)
1512endif
1513
1514if TEST_spmountmgr01
1515sp_tests += spmountmgr01
1516sp_screens += spmountmgr01/spmountmgr01.scn
1517sp_docs += spmountmgr01/spmountmgr01.doc
1518spmountmgr01_SOURCES = spmountmgr01/init.c
1519spmountmgr01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmountmgr01) \
1520        $(support_includes)
1521endif
1522
1523if TEST_spmrsp01
1524sp_tests += spmrsp01
1525sp_screens += spmrsp01/spmrsp01.scn
1526sp_docs += spmrsp01/spmrsp01.doc
1527spmrsp01_SOURCES = spmrsp01/init.c
1528spmrsp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmrsp01) \
1529        $(support_includes)
1530endif
1531
1532if TEST_spmsgq_err01
1533sp_tests += spmsgq_err01
1534sp_screens += spmsgq_err01/spmsgq_err01.scn
1535sp_docs += spmsgq_err01/spmsgq_err01.doc
1536spmsgq_err01_SOURCES = spmsgq_err01/init.c spmsgq_err01/system.h
1537spmsgq_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err01) \
1538        $(support_includes)
1539endif
1540
1541if TEST_spmsgq_err02
1542sp_tests += spmsgq_err02
1543sp_screens += spmsgq_err02/spmsgq_err02.scn
1544sp_docs += spmsgq_err02/spmsgq_err02.doc
1545spmsgq_err02_SOURCES = spmsgq_err02/init.c spmsgq_err02/task3.c \
1546        spmsgq_err02/system.h
1547spmsgq_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmsgq_err02) \
1548        $(support_includes)
1549endif
1550
1551if TEST_spmutex01
1552sp_tests += spmutex01
1553sp_screens += spmutex01/spmutex01.scn
1554sp_docs += spmutex01/spmutex01.doc
1555spmutex01_SOURCES = spmutex01/init.c
1556spmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spmutex01) \
1557        $(support_includes)
1558endif
1559
1560if TEST_spnsext01
1561sp_tests += spnsext01
1562sp_screens += spnsext01/spnsext01.scn
1563sp_docs += spnsext01/spnsext01.doc
1564spnsext01_SOURCES = spnsext01/init.c
1565spnsext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spnsext01) \
1566        $(support_includes)
1567endif
1568
1569if TEST_spobjgetnext
1570sp_tests += spobjgetnext
1571sp_screens += spobjgetnext/spobjgetnext.scn
1572sp_docs += spobjgetnext/spobjgetnext.doc
1573spobjgetnext_SOURCES = spobjgetnext/init.c spobjgetnext/system.h
1574spobjgetnext_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spobjgetnext) \
1575        $(support_includes)
1576endif
1577
1578if TEST_sppagesize
1579sp_tests += sppagesize
1580sp_screens += sppagesize/sppagesize.scn
1581sp_docs += sppagesize/sppagesize.doc
1582sppagesize_SOURCES = sppagesize/init.c
1583sppagesize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sppagesize) \
1584        $(support_includes)
1585endif
1586
1587if TEST_sppartition_err01
1588sp_tests += sppartition_err01
1589sp_screens += sppartition_err01/sppartition_err01.scn
1590sp_docs += sppartition_err01/sppartition_err01.doc
1591sppartition_err01_SOURCES = sppartition_err01/init.c \
1592        sppartition_err01/system.h
1593sppartition_err01_CPPFLAGS = $(AM_CPPFLAGS) \
1594        $(TEST_FLAGS_sppartition_err01) $(support_includes)
1595endif
1596
1597if TEST_spport_err01
1598sp_tests += spport_err01
1599sp_screens += spport_err01/spport_err01.scn
1600sp_docs += spport_err01/spport_err01.doc
1601spport_err01_SOURCES = spport_err01/init.c spport_err01/system.h
1602spport_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spport_err01) \
1603        $(support_includes)
1604endif
1605
1606if TEST_spprintk
1607sp_tests += spprintk
1608sp_screens += spprintk/spprintk.scn
1609sp_docs += spprintk/spprintk.doc
1610spprintk_SOURCES = spprintk/init.c
1611spprintk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprintk) \
1612        $(support_includes)
1613endif
1614
1615if TEST_spprivenv01
1616sp_tests += spprivenv01
1617sp_screens += spprivenv01/spprivenv01.scn
1618sp_docs += spprivenv01/spprivenv01.doc
1619spprivenv01_SOURCES = spprivenv01/init.c
1620spprivenv01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprivenv01) \
1621        $(support_includes)
1622endif
1623
1624if TEST_spprofiling01
1625sp_tests += spprofiling01
1626sp_screens += spprofiling01/spprofiling01.scn
1627sp_docs += spprofiling01/spprofiling01.doc
1628spprofiling01_SOURCES = spprofiling01/init.c
1629spprofiling01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spprofiling01) \
1630        $(support_includes)
1631endif
1632
1633if TEST_spqreslib
1634sp_tests += spqreslib
1635sp_screens += spqreslib/spqreslib.scn
1636sp_docs += spqreslib/spqreslib.doc
1637spqreslib_SOURCES = spqreslib/init.c spqreslib/task_periodic.c \
1638        spqreslib/system.h
1639spqreslib_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spqreslib) \
1640        $(support_includes)
1641spqreslib_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
1642endif
1643
1644if TEST_spratemon_err01
1645sp_tests += spratemon_err01
1646sp_screens += spratemon_err01/spratemon_err01.scn
1647sp_docs += spratemon_err01/spratemon_err01.doc
1648spratemon_err01_SOURCES = spratemon_err01/init.c \
1649        spratemon_err01/screen10.c spratemon_err01/task4.c \
1650        spratemon_err01/system.h
1651spratemon_err01_CPPFLAGS = $(AM_CPPFLAGS) \
1652        $(TEST_FLAGS_spratemon_err01) $(support_includes)
1653endif
1654
1655if TEST_sprbtree01
1656sp_tests += sprbtree01
1657sp_screens += sprbtree01/sprbtree01.scn
1658sp_docs += sprbtree01/sprbtree01.doc
1659sprbtree01_SOURCES = sprbtree01/init.c
1660sprbtree01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprbtree01) \
1661        $(support_includes)
1662endif
1663
1664if TEST_spregion_err01
1665sp_tests += spregion_err01
1666sp_screens += spregion_err01/spregion_err01.scn
1667sp_docs += spregion_err01/spregion_err01.doc
1668spregion_err01_SOURCES = spregion_err01/init.c spregion_err01/system.h
1669spregion_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spregion_err01) \
1670        $(support_includes)
1671endif
1672
1673if TEST_sprmsched01
1674sp_tests += sprmsched01
1675sp_screens += sprmsched01/sprmsched01.scn
1676sp_docs += sprmsched01/sprmsched01.doc
1677sprmsched01_SOURCES = sprmsched01/init.c ../support/src/spin.c
1678sprmsched01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched01) \
1679        $(support_includes)
1680endif
1681
1682if TEST_sprmsched02
1683sp_tests += sprmsched02
1684sp_screens += sprmsched02/sprmsched02.scn
1685sp_docs += sprmsched02/sprmsched02.doc
1686sprmsched02_SOURCES = sprmsched02/init.c ../support/src/spin.c
1687sprmsched02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sprmsched02) \
1688        $(support_includes)
1689endif
1690
1691if TEST_spscheduler01
1692sp_tests += spscheduler01
1693sp_screens += spscheduler01/spscheduler01.scn
1694sp_docs += spscheduler01/spscheduler01.doc
1695spscheduler01_SOURCES = spscheduler01/init.c
1696spscheduler01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spscheduler01) \
1697        $(support_includes)
1698endif
1699
1700if TEST_spsem01
1701sp_tests += spsem01
1702sp_screens += spsem01/spsem01.scn
1703sp_docs += spsem01/spsem01.doc
1704spsem01_SOURCES = spsem01/init.c
1705spsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem01) \
1706        $(support_includes)
1707endif
1708
1709if TEST_spsem02
1710sp_tests += spsem02
1711sp_screens += spsem02/spsem02.scn
1712sp_docs += spsem02/spsem02.doc
1713spsem02_SOURCES = spsem02/init.c
1714spsem02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem02) \
1715        $(support_includes)
1716endif
1717
1718if TEST_spsem03
1719sp_tests += spsem03
1720sp_screens += spsem03/spsem03.scn
1721sp_docs += spsem03/spsem03.doc
1722spsem03_SOURCES = spsem03/init.c
1723spsem03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem03) \
1724        $(support_includes)
1725endif
1726
1727if TEST_spsem_err01
1728sp_tests += spsem_err01
1729sp_screens += spsem_err01/spsem_err01.scn
1730sp_docs += spsem_err01/spsem_err01.doc
1731spsem_err01_SOURCES = spsem_err01/init.c spsem_err01/system.h
1732spsem_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err01) \
1733        $(support_includes)
1734endif
1735
1736if TEST_spsem_err02
1737sp_tests += spsem_err02
1738sp_screens += spsem_err02/spsem_err02.scn
1739sp_docs += spsem_err02/spsem_err02.doc
1740spsem_err02_SOURCES = spsem_err02/init.c spsem_err02/task2.c \
1741        spsem_err02/system.h
1742spsem_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsem_err02) \
1743        $(support_includes)
1744endif
1745
1746if TEST_spsignal_err01
1747sp_tests += spsignal_err01
1748sp_screens += spsignal_err01/spsignal_err01.scn
1749sp_docs += spsignal_err01/spsignal_err01.doc
1750spsignal_err01_SOURCES = spsignal_err01/init.c spsignal_err01/isr.c \
1751        spsignal_err01/system.h
1752spsignal_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsignal_err01) \
1753        $(support_includes)
1754endif
1755
1756if TEST_spsimplesched01
1757sp_tests += spsimplesched01
1758sp_screens += spsimplesched01/spsimplesched01.scn
1759sp_docs += spsimplesched01/spsimplesched01.doc
1760spsimplesched01_SOURCES = spsimplesched01/init.c
1761spsimplesched01_CPPFLAGS = $(AM_CPPFLAGS) \
1762        $(TEST_FLAGS_spsimplesched01) $(support_includes)
1763endif
1764
1765if TEST_spsimplesched02
1766sp_tests += spsimplesched02
1767sp_screens += spsimplesched02/spsimplesched02.scn
1768sp_docs += spsimplesched02/spsimplesched02.doc
1769spsimplesched02_SOURCES = spsimplesched02/init.c
1770spsimplesched02_CPPFLAGS = $(AM_CPPFLAGS) \
1771        $(TEST_FLAGS_spsimplesched02) $(support_includes)
1772endif
1773
1774if TEST_spsimplesched03
1775sp_tests += spsimplesched03
1776sp_screens += spsimplesched03/spsimplesched03.scn
1777sp_docs += spsimplesched03/spsimplesched03.doc
1778spsimplesched03_SOURCES = spsimplesched03/init.c
1779spsimplesched03_CPPFLAGS = $(AM_CPPFLAGS) \
1780        $(TEST_FLAGS_spsimplesched03) $(support_includes)
1781endif
1782
1783if TEST_spsize
1784sp_tests += spsize
1785sp_screens += spsize/spsize.scn
1786sp_docs += spsize/spsize.doc
1787spsize_SOURCES = spsize/init.c spsize/getint.c spsize/size.c \
1788        spsize/system.h
1789spsize_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsize) \
1790        $(support_includes)
1791endif
1792
1793if TEST_spstdthreads01
1794sp_tests += spstdthreads01
1795sp_screens += spstdthreads01/spstdthreads01.scn
1796sp_docs += spstdthreads01/spstdthreads01.doc
1797spstdthreads01_SOURCES = spstdthreads01/init.c
1798spstdthreads01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstdthreads01) \
1799        $(support_includes)
1800endif
1801
1802if TEST_spstkalloc
1803sp_tests += spstkalloc
1804sp_screens += spstkalloc/spstkalloc.scn
1805sp_docs += spstkalloc/spstkalloc.doc
1806spstkalloc_SOURCES = spstkalloc/init.c
1807spstkalloc_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc) \
1808        $(support_includes)
1809endif
1810
1811if TEST_spstkalloc02
1812sp_tests += spstkalloc02
1813sp_screens += spstkalloc02/spstkalloc02.scn
1814sp_docs += spstkalloc02/spstkalloc02.doc
1815spstkalloc02_SOURCES = spstkalloc02/init.c
1816spstkalloc02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spstkalloc02) \
1817        $(support_includes)
1818endif
1819
1820if TEST_spsysinit01
1821sp_tests += spsysinit01
1822sp_screens += spsysinit01/spsysinit01.scn
1823sp_docs += spsysinit01/spsysinit01.doc
1824spsysinit01_SOURCES = spsysinit01/init.c
1825spsysinit01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsysinit01) \
1826        $(support_includes)
1827endif
1828
1829if TEST_spsyslock01
1830sp_tests += spsyslock01
1831sp_screens += spsyslock01/spsyslock01.scn
1832sp_docs += spsyslock01/spsyslock01.doc
1833spsyslock01_SOURCES = spsyslock01/init.c
1834spsyslock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spsyslock01) \
1835        $(support_includes)
1836endif
1837
1838if TEST_sptask_err01
1839sp_tests += sptask_err01
1840sp_screens += sptask_err01/sptask_err01.scn
1841sp_docs += sptask_err01/sptask_err01.doc
1842sptask_err01_SOURCES = sptask_err01/init.c sptask_err01/task2.c \
1843        sptask_err01/system.h
1844sptask_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err01) \
1845        $(support_includes)
1846endif
1847
1848if TEST_sptask_err02
1849sp_tests += sptask_err02
1850sp_screens += sptask_err02/sptask_err02.scn
1851sp_docs += sptask_err02/sptask_err02.doc
1852sptask_err02_SOURCES = sptask_err02/init.c sptask_err02/system.h
1853sptask_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err02) \
1854        $(support_includes)
1855endif
1856
1857if TEST_sptask_err03
1858sp_tests += sptask_err03
1859sp_screens += sptask_err03/sptask_err03.scn
1860sp_docs += sptask_err03/sptask_err03.doc
1861sptask_err03_SOURCES = sptask_err03/init.c sptask_err03/system.h
1862sptask_err03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err03) \
1863        $(support_includes)
1864endif
1865
1866if TEST_sptask_err04
1867sp_tests += sptask_err04
1868sp_screens += sptask_err04/sptask_err04.scn
1869sp_docs += sptask_err04/sptask_err04.doc
1870sptask_err04_SOURCES = sptask_err04/init.c sptask_err04/task1.c \
1871        sptask_err04/system.h
1872sptask_err04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptask_err04) \
1873        $(support_includes)
1874endif
1875
1876if TEST_sptasknopreempt01
1877sp_tests += sptasknopreempt01
1878sp_screens += sptasknopreempt01/sptasknopreempt01.scn
1879sp_docs += sptasknopreempt01/sptasknopreempt01.doc
1880sptasknopreempt01_SOURCES = sptasknopreempt01/init.c
1881sptasknopreempt01_CPPFLAGS = $(AM_CPPFLAGS) \
1882        $(TEST_FLAGS_sptasknopreempt01) $(support_includes)
1883endif
1884
1885if TEST_spthread01
1886sp_tests += spthread01
1887sp_screens += spthread01/spthread01.scn
1888sp_docs += spthread01/spthread01.doc
1889spthread01_SOURCES = spthread01/init.c
1890spthread01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthread01) \
1891        $(support_includes)
1892endif
1893
1894if TEST_spthreadlife01
1895sp_tests += spthreadlife01
1896sp_screens += spthreadlife01/spthreadlife01.scn
1897sp_docs += spthreadlife01/spthreadlife01.doc
1898spthreadlife01_SOURCES = spthreadlife01/init.c
1899spthreadlife01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadlife01) \
1900        $(support_includes)
1901endif
1902
1903if TEST_spthreadq01
1904sp_tests += spthreadq01
1905sp_screens += spthreadq01/spthreadq01.scn
1906sp_docs += spthreadq01/spthreadq01.doc
1907spthreadq01_SOURCES = spthreadq01/init.c
1908spthreadq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spthreadq01) \
1909        $(support_includes)
1910endif
1911
1912if TEST_sptimecounter01
1913sp_tests += sptimecounter01
1914sp_screens += sptimecounter01/sptimecounter01.scn
1915sp_docs += sptimecounter01/sptimecounter01.doc
1916sptimecounter01_SOURCES = sptimecounter01/init.c
1917sptimecounter01_CPPFLAGS = $(AM_CPPFLAGS) \
1918        $(TEST_FLAGS_sptimecounter01) $(support_includes)
1919endif
1920
1921if TEST_sptimecounter02
1922sp_tests += sptimecounter02
1923sp_screens += sptimecounter02/sptimecounter02.scn
1924sp_docs += sptimecounter02/sptimecounter02.doc
1925sptimecounter02_SOURCES = sptimecounter02/init.c ../support/src/spin.c
1926sptimecounter02_CPPFLAGS = $(AM_CPPFLAGS) \
1927        $(TEST_FLAGS_sptimecounter02) $(support_includes)
1928endif
1929
1930if TEST_sptimecounter03
1931sp_tests += sptimecounter03
1932sp_screens += sptimecounter03/sptimecounter03.scn
1933sp_docs += sptimecounter03/sptimecounter03.doc
1934sptimecounter03_SOURCES = sptimecounter03/init.c
1935sptimecounter03_CPPFLAGS = $(AM_CPPFLAGS) \
1936        $(TEST_FLAGS_sptimecounter03) $(support_includes)
1937endif
1938
1939if TEST_sptimecounter04
1940sp_tests += sptimecounter04
1941sp_screens += sptimecounter04/sptimecounter04.scn
1942sp_docs += sptimecounter04/sptimecounter04.doc
1943sptimecounter04_SOURCES = sptimecounter04/init.c
1944sptimecounter04_CPPFLAGS = $(AM_CPPFLAGS) \
1945        $(TEST_FLAGS_sptimecounter04) $(support_includes)
1946endif
1947
1948if TEST_sptimer_err01
1949sp_tests += sptimer_err01
1950sp_screens += sptimer_err01/sptimer_err01.scn
1951sp_docs += sptimer_err01/sptimer_err01.doc
1952sptimer_err01_SOURCES = sptimer_err01/init.c
1953sptimer_err01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err01) \
1954        $(support_includes)
1955endif
1956
1957if TEST_sptimer_err02
1958sp_tests += sptimer_err02
1959sp_screens += sptimer_err02/sptimer_err02.scn
1960sp_docs += sptimer_err02/sptimer_err02.doc
1961sptimer_err02_SOURCES = sptimer_err02/init.c
1962sptimer_err02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimer_err02) \
1963        $(support_includes)
1964endif
1965
1966if TEST_sptimerserver01
1967sp_tests += sptimerserver01
1968sp_screens += sptimerserver01/sptimerserver01.scn
1969sp_docs += sptimerserver01/sptimerserver01.doc
1970sptimerserver01_SOURCES = sptimerserver01/init.c
1971sptimerserver01_CPPFLAGS = $(AM_CPPFLAGS) \
1972        $(TEST_FLAGS_sptimerserver01) $(support_includes)
1973endif
1974
1975if TEST_sptimespec01
1976sp_tests += sptimespec01
1977sp_screens += sptimespec01/sptimespec01.scn
1978sp_docs += sptimespec01/sptimespec01.doc
1979sptimespec01_SOURCES = sptimespec01/init.c
1980sptimespec01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimespec01) \
1981        $(support_includes)
1982endif
1983
1984if TEST_sptls01
1985sp_tests += sptls01
1986sp_screens += sptls01/sptls01.scn
1987sp_docs += sptls01/sptls01.doc
1988sptls01_SOURCES = sptls01/init.c
1989sptls01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls01) \
1990        $(support_includes)
1991endif
1992
1993if HAS_CPLUSPLUS
1994if TEST_sptls02
1995sp_tests += sptls02
1996sp_screens += sptls02/sptls02.scn
1997sp_docs += sptls02/sptls02.doc
1998sptls02_SOURCES = sptls02/init.cc
1999sptls02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls02) \
2000        $(support_includes)
2001endif
2002endif
2003
2004if TEST_sptls03
2005sp_tests += sptls03
2006sp_screens += sptls03/sptls03.scn
2007sp_docs += sptls03/sptls03.doc
2008sptls03_SOURCES = sptls03/init.c
2009sptls03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls03) \
2010        $(support_includes)
2011endif
2012
2013if TEST_sptls04
2014sp_tests += sptls04
2015sp_screens += sptls04/sptls04.scn
2016sp_docs += sptls04/sptls04.doc
2017sptls04_SOURCES = sptls04/init.c
2018sptls04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls04) \
2019        $(support_includes)
2020endif
2021
2022if TEST_spversion01
2023sp_tests += spversion01
2024sp_screens += spversion01/spversion01.scn
2025sp_docs += spversion01/spversion01.doc
2026spversion01_SOURCES = spversion01/init.c
2027spversion01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spversion01) \
2028        $(support_includes)
2029endif
2030
2031if TEST_spwatchdog
2032sp_tests += spwatchdog
2033sp_screens += spwatchdog/spwatchdog.scn
2034sp_docs += spwatchdog/spwatchdog.doc
2035spwatchdog_SOURCES = spwatchdog/init.c spwatchdog/task1.c \
2036        spwatchdog/system.h spwatchdog/prtime.c spwatchdog/delay.c
2037spwatchdog_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwatchdog) \
2038        $(support_includes)
2039endif
2040
2041if TEST_spwkspace
2042sp_tests += spwkspace
2043sp_screens += spwkspace/spwkspace.scn
2044sp_docs += spwkspace/spwkspace.doc
2045spwkspace_SOURCES = spwkspace/init.c
2046spwkspace_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spwkspace) \
2047        $(support_includes)
2048endif
2049
2050if TEST_splinkersets01
2051sp_libs += libsplinkersets01.a
2052libsplinkersets01_a_SOURCES = splinkersets01/sets.c \
2053        splinkersets01/items.c
2054endif
2055
2056rtems_tests_PROGRAMS = $(sp_tests)
2057noinst_LIBRARIES = $(sp_libs)
2058dist_rtems_tests_DATA = $(sp_screens) $(sp_docs)
2059
2060include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.