source: rtems/testsuites/sptests/Makefile.am

Last change on this file was aeaf623, checked in by Sebastian Huber <sebastian.huber@…>, on Jul 14, 2021 at 1:00:12 PM

spcoverage: Remove test program

This program contained an optional test case. It was enabled by the
RTEMS_COVERAGE define. The functions under test are not implemented by RTEMS.

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