source: rtems/testsuites/sptests/Makefile.am

Last change on this file was d05a900a, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 23, 2020 at 2:44:41 PM

sptests/sptls02: Add test case

Add a test case which requires the use of tls_guard() and
tls_init().

Change license to BSD-2-Clause.

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