source: rtems/testsuites/sptests/Makefile.am @ fe46647e

Last change on this file since fe46647e was fe46647e, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 15, 2018 at 2:53:27 PM

score: Macros to declare and define global symbols

Add RTEMS_DEFINE_GLOBAL_SYMBOL() and add RTEMS_DECLARE_GLOBAL_SYMBOL().

Update #3459.

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