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

Last change on this file since 2158621 was 2158621, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 19, 2018 at 8:25:29 AM

Add aligned_alloc() and memalign()

Ensure that the C++17 aligned new operator works.

Close #3666.

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