Release 0.41.92
[vala-gnome.git] / tests / Makefile.am
blobd03e394c15301db2a99dd56c65fc45a3d8746ae1
1 NULL =
3 SUBDIRS = \
4         girwriter \
5         gtktemplate \
6         $(NULL)
8 AM_CPPFLAGS = \
9         $(GLIB_CFLAGS) \
10         $(NULL)
11 AM_LDFLAGS = \
12         $(GLIB_LIBS) \
13         $(NULL)
15 BUILT_SOURCES = \
16         $(NULL)
17 noinst_PROGRAMS = \
18         $(NULL)
20 TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' $(srcdir)/testrunner.sh
22 TESTS = \
23         basic-types/integers.vala \
24         basic-types/escape-chars.vala \
25         basic-types/floats.vala \
26         basic-types/strings.vala \
27         basic-types/arrays.vala \
28         basic-types/pointers.vala \
29         basic-types/sizeof.vala \
30         basic-types/garray.vala \
31         basic-types/glists.vala \
32         basic-types/bug571486.vala \
33         basic-types/bug591552.vala \
34         basic-types/bug595751.vala \
35         basic-types/bug596637.vala \
36         basic-types/bug596785.vala \
37         basic-types/bug604371.vala \
38         basic-types/bug622178.vala \
39         basic-types/bug632322.vala \
40         basic-types/bug643612.vala \
41         basic-types/bug644046.vala \
42         basic-types/bug647222.vala \
43         basic-types/bug648364.vala \
44         basic-types/bug650993.vala \
45         basic-types/bug652380.vala \
46         basic-types/bug655908.vala \
47         basic-types/bug659975.vala \
48         basic-types/bug678791.vala \
49         basic-types/bug686336.vala \
50         basic-types/bug729907.vala \
51         basic-types/bug731017.vala \
52         basic-types/bug744923.test \
53         basic-types/bug756376.vala \
54         basic-types/bug761307.vala \
55         basic-types/bug761736.vala \
56         basic-types/bug771626.test \
57         basic-types/bug772426.vala \
58         basic-types/bug777697.test \
59         basic-types/bug787152.vala \
60         basic-types/bug788775.vala \
61         chainup/base-class-invalid.test \
62         chainup/base-enum-invalid.test \
63         chainup/base-invalid.test \
64         chainup/base-struct-invalid.test \
65         chainup/class-base.vala \
66         chainup/class-base-foo.vala \
67         chainup/class-object.vala \
68         chainup/class-this.vala \
69         chainup/class-this-foo.vala \
70         chainup/method-lambda-base.vala \
71         chainup/no-chainup.vala \
72         chainup/struct-base.vala \
73         chainup/struct-base-foo.vala \
74         chainup/struct-this.vala \
75         chainup/struct-this-foo.vala \
76         chainup/bug791785.vala \
77         pointers/bug590641.vala \
78         methods/lambda.vala \
79         methods/closures.vala \
80         methods/contains.vala \
81         methods/iterator.vala \
82         methods/prepostconditions.vala \
83         methods/same-name.vala \
84         methods/symbolresolution.vala \
85         methods/bug595538.vala \
86         methods/bug596726.vala \
87         methods/bug597426.vala \
88         methods/bug598738.vala \
89         methods/bug599892.vala \
90         methods/bug613483.vala \
91         methods/bug615450.test \
92         methods/bug620673.test \
93         methods/bug620673.vala \
94         methods/bug622570.vala \
95         methods/bug626783.vala \
96         methods/bug634753.vala \
97         methods/bug639054.vala \
98         methods/bug642350.vala \
99         methods/bug642885.vala \
100         methods/bug642899.vala \
101         methods/bug643088.test \
102         methods/bug646345.vala \
103         methods/bug648030.test \
104         methods/bug648320.vala \
105         methods/bug649562.vala \
106         methods/bug652098.vala \
107         methods/bug653391.vala \
108         methods/bug653908.vala \
109         methods/bug663210.vala \
110         methods/bug710862.vala \
111         methods/bug723009.vala \
112         methods/bug723195.vala \
113         methods/bug726347.vala \
114         methods/bug736235.vala \
115         methods/bug737222.vala \
116         methods/bug743877.vala \
117         methods/bug771964.vala \
118         methods/bug774060.vala \
119         methods/bug775466.test \
120         methods/bug781061.vala \
121         methods/bug784691.vala \
122         methods/bug791215.vala \
123         methods/bug791283.vala \
124         methods/generics.vala \
125         methods/printf-invalid.test \
126         methods/printf-constructor.vala \
127         methods/printf-constructor-invalid.test \
128         control-flow/break.vala \
129         control-flow/break-invalid.test \
130         control-flow/continue-invalid.test \
131         control-flow/double-catch.test \
132         control-flow/expressions-conditional.vala \
133         control-flow/finally-return.test \
134         control-flow/for.vala \
135         control-flow/foreach.vala \
136         control-flow/missing-break.test \
137         control-flow/missing-return.test \
138         control-flow/nested-conditional.vala \
139         control-flow/switch.vala \
140         control-flow/sideeffects.vala \
141         control-flow/unassigned-local-block-variable.test \
142         control-flow/unassigned-local-variable.test \
143         control-flow/while-false.vala \
144         control-flow/bug628336.vala \
145         control-flow/bug639482.vala \
146         control-flow/bug652549.vala \
147         control-flow/bug661985.vala \
148         control-flow/bug665904.vala \
149         control-flow/bug691514.vala     \
150         control-flow/bug736774-1.vala \
151         control-flow/bug736774-2.vala \
152         control-flow/bug790903.test \
153         control-semantic/argument-extra.test \
154         control-semantic/argument-incompatible-type-out.test \
155         control-semantic/argument-incompatible-type-ref.test \
156         control-semantic/argument-missing.test \
157         control-semantic/argument-named.test \
158         control-semantic/argument-no-out.test \
159         control-semantic/argument-no-ref.test \
160         control-semantic/argument-null-ref.test \
161         control-semantic/argument-owned-out.test \
162         control-semantic/argument-owned-ref.test \
163         control-semantic/argument-value-out.test \
164         control-semantic/argument-value-ref.test \
165         control-semantic/member-incompatible-type.test \
166         control-semantic/member-invalid.test \
167         control-semantic/member-private.test \
168         control-semantic/member-readonly.test \
169         control-semantic/printf-too-few.test \
170         control-semantic/printf-too-many.test \
171         control-semantic/variadic-argument-invalid.test \
172         enums/enum_only.vala \
173         enums/enums.vala \
174         enums/flags.vala \
175         enums/bug666035.vala \
176         enums/bug673879.vala \
177         enums/bug763831.vala \
178         enums/bug780050.vala \
179         structs/struct_only.vala \
180         structs/structs.vala \
181         structs/gvalue.vala \
182         structs/bug530605.vala \
183         structs/bug572091.vala \
184         structs/bug583603.vala \
185         structs/bug595587.vala \
186         structs/bug596144.vala \
187         structs/bug603056.vala \
188         structs/bug606202.vala \
189         structs/bug609642.vala \
190         structs/bug613513.vala \
191         structs/bug613825.vala \
192         structs/bug621176.vala \
193         structs/bug622422.vala \
194         structs/bug623092.vala \
195         structs/bug651441.vala \
196         structs/bug654646.vala \
197         structs/bug654753.vala \
198         structs/bug656693.vala \
199         structs/bug657378.vala \
200         structs/bug658048.vala \
201         structs/bug660426.vala \
202         structs/bug661945.vala \
203         structs/bug667890.vala \
204         structs/bug669580.vala \
205         structs/bug685177.vala \
206         structs/bug686190.vala \
207         structs/bug688732.vala \
208         structs/bug690380.vala \
209         structs/bug694140.vala \
210         structs/bug749952.vala \
211         structs/bug764041.test \
212         structs/bug775761.vala \
213         structs/bug777194.vala \
214         delegates/casting.vala \
215         delegates/delegates.vala \
216         delegates/delegates-error.test \
217         delegates/fields.vala \
218         delegates/fields-no-target.vala \
219         delegates/reference_transfer.vala \
220         delegates/wrapper.vala \
221         delegates/bug519949.test \
222         delegates/bug539166.vala \
223         delegates/bug595610.vala \
224         delegates/bug595639.vala \
225         delegates/bug598869.test \
226         delegates/bug632017.test \
227         delegates/bug638415.vala \
228         delegates/bug639751.vala \
229         delegates/bug659778.vala \
230         delegates/bug683925.vala \
231         delegates/bug703804.vala \
232         delegates/bug761360.vala \
233         delegates/bug772204.test \
234         delegates/bug792077.vala \
235         objects/chainup.vala \
236         objects/classes.vala \
237         objects/constructor-variadic.test \
238         objects/constructors.vala \
239         objects/destructors.vala \
240         objects/dynamic.vala \
241         objects/generics.vala \
242         objects/initially-unowned.vala \
243         objects/fields.vala \
244         objects/gsource.vala \
245         objects/interfaces.vala \
246         objects/methods.vala \
247         objects/paramspec.vala \
248         objects/properties.vala \
249         objects/property-notify.vala \
250         objects/property-read-only-auto.vala \
251         objects/regex.vala \
252         objects/signals.vala \
253         objects/signals-delegate.vala \
254         objects/test-025.vala \
255         objects/test-026.vala \
256         objects/test-029.vala \
257         objects/test-034.vala \
258         objects/bug541728.test \
259         objects/bug564011.test \
260         objects/bug564090.test \
261         objects/bug566909.vala \
262         objects/bug574146.test \
263         objects/bug585344.test \
264         objects/bug587905.test \
265         objects/bug588203.vala \
266         objects/bug589928.vala \
267         objects/bug593137.vala \
268         objects/bug593260.vala \
269         objects/bug596621.vala \
270         objects/bug597155.vala \
271         objects/bug597161.vala \
272         objects/bug603491.test \
273         objects/bug613486.vala \
274         objects/bug613840.vala \
275         objects/bug620675.vala \
276         objects/bug620706.vala \
277         objects/bug624594.vala \
278         objects/bug626038.vala \
279         objects/bug628639.vala \
280         objects/bug631267.vala \
281         objects/bug634782.vala \
282         objects/bug641418-1.test \
283         objects/bug641418-2.test \
284         objects/bug641418-3.test \
285         objects/bug641828.vala \
286         objects/bug642809.vala \
287         objects/bug643711.vala \
288         objects/bug644938.vala \
289         objects/bug646362.vala \
290         objects/bug646792.vala \
291         objects/bug647018.vala \
292         objects/bug653138.vala \
293         objects/bug654702.vala \
294         objects/bug663134.vala \
295         objects/bug664529.vala \
296         objects/bug667668.vala \
297         objects/bug681356.vala \
298         objects/bug683646.vala \
299         objects/bug695671.vala \
300         objects/bug702736.vala \
301         objects/bug702846.vala \
302         objects/bug731547.vala \
303         objects/bug741465.vala \
304         objects/bug751338.vala \
305         objects/bug758816.vala \
306         objects/bug760031.test \
307         objects/bug764481.vala \
308         objects/bug767092.test \
309         objects/bug768823.test \
310         objects/bug773956-1.test \
311         objects/bug773956-2.test \
312         objects/bug615830-1.test \
313         objects/bug615830-2.test \
314         objects/bug766739.vala \
315         objects/bug778632.vala \
316         objects/bug779038-1.test \
317         objects/bug779038-2.test \
318         objects/bug779038-3.test \
319         objects/bug779219.vala \
320         objects/bug779955.vala \
321         objects/bug783897.vala \
322         objects/bug788964.vala \
323         objects/bug795225-1.test \
324         objects/bug795225-2.test \
325         objects/bug795225-3.test \
326         objects/bug795225-4.test \
327         objects/bug795521.vala \
328         errors/catch-error-code.vala \
329         errors/errors.vala \
330         errors/bug567181.vala \
331         errors/bug579101.vala \
332         errors/bug596228.vala \
333         errors/bug623049.vala \
334         errors/bug639589.vala \
335         errors/bug651145.vala \
336         errors/bug762377.vala \
337         errors/bug778224.vala \
338         asynchronous/bug595735.vala \
339         asynchronous/bug595755.vala \
340         asynchronous/bug596177.vala \
341         asynchronous/bug596861.vala \
342         asynchronous/bug597294.vala \
343         asynchronous/bug598677.vala \
344         asynchronous/bug598697.vala \
345         asynchronous/bug598698.vala \
346         asynchronous/bug599568.vala \
347         asynchronous/bug600827.vala \
348         asynchronous/bug601558.vala \
349         asynchronous/bug612641.vala \
350         asynchronous/bug613484.vala \
351         asynchronous/bug614294.vala \
352         asynchronous/bug620740.vala \
353         asynchronous/bug626053.vala \
354         asynchronous/bug639591.vala \
355         asynchronous/bug640721.vala \
356         asynchronous/bug641182.vala \
357         asynchronous/bug646945.vala \
358         asynchronous/bug652252.vala \
359         asynchronous/bug653861.vala \
360         asynchronous/bug654336.vala \
361         asynchronous/bug654337.vala \
362         asynchronous/bug659886.vala \
363         asynchronous/bug661961.vala \
364         asynchronous/bug710103.vala \
365         asynchronous/bug741929.vala \
366         asynchronous/bug742621.vala \
367         asynchronous/bug762819.vala \
368         asynchronous/bug777242.vala \
369         asynchronous/bug783543.vala \
370         asynchronous/bug792660.vala \
371         asynchronous/bug792942.vala \
372         asynchronous/bug793158.vala \
373         asynchronous/closures.vala \
374         asynchronous/generator.vala \
375         asynchronous/yield.vala \
376         generics/bug694765-1.vala \
377         generics/bug694765-2.vala \
378         generics/bug694765-3.vala \
379         dbus/basic-types.test \
380         dbus/arrays.test \
381         dbus/structs.test \
382         dbus/errors.test \
383         dbus/async.test \
384         dbus/async-errors.test \
385         dbus/enum-string-marshalling.vala \
386         dbus/signals.test \
387         dbus/filedescriptor.test \
388         dbus/filedescriptor-async.test \
389         dbus/filedescriptor-errors.test \
390         dbus/dicts.test \
391         dbus/bug596862.vala \
392         dbus/bug602003.test \
393         dbus/bug735437.test \
394         dbus/bug782719.test \
395         dbus/bug783002.test \
396         dbus/bug792277.vala \
397         dbus/rawvariants.test \
398         gir/bug651773.test \
399         gir/bug667751.test \
400         gir/bug742012.test \
401         gir/bug788775.test \
402         gir/bug792998.test \
403         gir/array-fixed-length.test \
404         gir/class.test \
405         gir/delegate-alias-without-target.test \
406         gir/delegate-closure-destroy-index-conflict.test \
407         gir/parameter-nullable-out-simple-type.test \
408         gir/property-non-readable.test \
409         annotations/deprecated.vala \
410         annotations/description.vala \
411         annotations/noaccessormethod.test \
412         parser/assignment.vala \
413         parser/attribute-duplicate.test \
414         parser/attribute-wrong-number.test \
415         parser/constructor-class-exists.test \
416         parser/constructor-exists.test \
417         parser/constructor-no-new.test \
418         parser/constructor-no-static-class.test \
419         parser/constructor-static-exists.test \
420         parser/continue-statement.vala \
421         parser/creation-no-abstract.test \
422         parser/creation-no-override.test \
423         parser/creation-no-virtual.test \
424         parser/delegate-no-new.test \
425         parser/destructor-class-exists.test \
426         parser/destructor-exists.test \
427         parser/destructor-no-new.test \
428         parser/destructor-no-static-class.test \
429         parser/destructor-static-exists.test \
430         parser/destructor-wrong-name.test \
431         parser/do-statement.vala \
432         parser/expect-endbrace.test \
433         parser/expect-error.test \
434         parser/field-no-abstract.test \
435         parser/field-no-override.test \
436         parser/field-no-static-class.test \
437         parser/field-no-virtual.test \
438         parser/foreach-no-type.test \
439         parser/function-syntax-error.test \
440         parser/inner-array-size.test \
441         parser/invalid-brace.test \
442         parser/lock-statement.vala \
443         parser/method-no-abstract-override.test \
444         parser/method-no-abstract-virtual-override.test \
445         parser/method-no-abstract-virtual.test \
446         parser/method-no-class-abstract.test \
447         parser/method-no-class-override.test \
448         parser/method-no-class-virtual.test \
449         parser/method-no-static-abstract.test \
450         parser/method-no-static-class.test \
451         parser/method-no-static-override.test \
452         parser/method-no-static-virtual.test \
453         parser/method-no-virtual-override.test \
454         parser/namespaces.vala \
455         parser/namespace-missing-bracket.test \
456         parser/preprocessor.vala \
457         parser/property-default-redefined.test \
458         parser/property-get-must-have-body.test \
459         parser/property-get-redefined.test \
460         parser/property-get-set-construct.test \
461         parser/property-no-abstract-override.test \
462         parser/property-no-abstract-virtual.test \
463         parser/property-no-abstract-virtual-override.test \
464         parser/property-no-static-class.test \
465         parser/property-no-virtual-override.test \
466         parser/property-set-must-have-body.test \
467         parser/property-set-redefined.test \
468         parser/signal-no-class.test \
469         parser/signal-no-static.test \
470         parser/statement-outside-root.test \
471         parser/switch-statement.vala \
472         parser/template.vala \
473         parser/tuple.vala \
474         parser/unsupported-property-async.test \
475         parser/unsupported-property-throws.test \
476         parser/yield-method.test \
477         parser/bug728574.vala \
478         parser/bug749576.vala \
479         semantic/array-stacked.test \
480         semantic/array-incompatible-initializer.test \
481         semantic/array-incompatible-initializer2.test \
482         semantic/assignment-element-incompatible-ownership.test \
483         semantic/assignment-element-incompatible-type.test \
484         semantic/assignment-same-variable.vala \
485         semantic/assignment-signal-incompatible-method.test \
486         semantic/assignment-signal-incompatible-type.test \
487         semantic/class-base-type-invalid.test \
488         semantic/class-base-type-less-accessible.test \
489         semantic/class-compact-derived-instance-field.test \
490         semantic/class-compact-interface.test \
491         semantic/class-compact-method-baseaccess.test \
492         semantic/class-compact-property-baseaccess.test \
493         semantic/class-missing-implement-interface-method.test \
494         semantic/class-missing-implement-interface-property.test \
495         semantic/class-missing-implement-method.test \
496         semantic/class-missing-implement-property.test \
497         semantic/class-missing-prerequisites.test \
498         semantic/class-too-few-type-arguments.test \
499         semantic/class-too-many-type-arguments.test \
500         semantic/constant-extern.test \
501         semantic/constant-value.test \
502         semantic/constant-value-missing.test \
503         semantic/constant-value-type.test \
504         semantic/constant-void.test \
505         semantic/delegate-too-few-type-arguments.test \
506         semantic/delegate-too-many-type-arguments.test \
507         semantic/enum-empty.test \
508         semantic/errordomain-empty.test \
509         semantic/field-accessibility.test \
510         semantic/field-compact-static.test \
511         semantic/field-external.test \
512         semantic/field-incompatible.test \
513         semantic/field-interface.test \
514         semantic/field-invalid-assignment.test \
515         semantic/field-namespace-owned.test \
516         semantic/field-non-constant.test \
517         semantic/field-void.test \
518         semantic/floating-reference.vala \
519         semantic/foreach-iterator-args.test \
520         semantic/foreach-iterator-void.test \
521         semantic/foreach-iterator-wrong-types.test \
522         semantic/foreach-missing-generic-type.test \
523         semantic/foreach-missing-iterator.test \
524         semantic/foreach-missing-next-value.test \
525         semantic/foreach-next-args.test \
526         semantic/foreach-next-get-args.test \
527         semantic/foreach-next-get-void.test \
528         semantic/foreach-next-missing-get.test \
529         semantic/foreach-next-value-args.test \
530         semantic/foreach-next-value-void.test \
531         semantic/foreach-next-void.test \
532         semantic/foreach-wrong-types.test \
533         semantic/method-abstract.test \
534         semantic/method-abstract-body.test \
535         semantic/method-async-ref-parameter.test \
536         semantic/method-body.test \
537         semantic/method-class-abstract.test \
538         semantic/method-derived-compact.test \
539         semantic/method-error-accessibility.test \
540         semantic/method-extern-abstract.test \
541         semantic/method-extern-body.test \
542         semantic/method-extern-virtual.test \
543         semantic/method-interface-already-found.test \
544         semantic/method-interface-not-found.test \
545         semantic/method-main-async.test \
546         semantic/method-main-inline.test \
547         semantic/method-main-throws.test \
548         semantic/method-override.test \
549         semantic/method-postcondition.test \
550         semantic/method-precondition.test \
551         semantic/method-private-abstract.test \
552         semantic/method-private-override.test \
553         semantic/method-private-virtual.test \
554         semantic/method-protected.test \
555         semantic/method-return-accessibility.test \
556         semantic/method-too-few-type-arguments.test \
557         semantic/method-too-many-type-arguments.test \
558         semantic/method-virtual.test \
559         semantic/method-virtual-body.test \
560         semantic/parameter-accessibility.test \
561         semantic/parameter-default-type.test \
562         semantic/parameter-out-default.test \
563         semantic/parameter-params.test \
564         semantic/parameter-ref-default.test \
565         semantic/parameter-void.test \
566         semantic/property-abstract.test \
567         semantic/property-abstract-derived-compact.test \
568         semantic/property-accessibility.test \
569         semantic/property-construct.test \
570         semantic/property-initializer-type.test \
571         semantic/property-override.test \
572         semantic/property-override-class.test \
573         semantic/property-override-interface.test \
574         semantic/property-struct-abstract.test \
575         semantic/property-struct-override.test \
576         semantic/property-struct-protected.test \
577         semantic/property-struct-virtual.test \
578         semantic/property-void.test \
579         semantic/struct-derived.test \
580         semantic/struct-field-initializer.test \
581         semantic/struct-invalid-base.test \
582         semantic/struct-recursive.test \
583         $(NULL)
585 NON_NULL_TESTS = \
586         nullability/bug611223.vala \
587         $(NULL)
589 LINUX_TESTS = \
590         linux/bug793444.vala \
591         $(NULL)
593 check-TESTS: $(TESTS) $(NON_NULL_TESTS)
594         @EXEEXT=$(EXEEXT) EXEEXT=$(EXEEXT) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' $(srcdir)/testrunner.sh $(TESTS)
595 if HAVE_LINUX
596         @EXEEXT=$(EXEEXT) EXEEXT=$(EXEEXT) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' VALAFLAGS="--pkg linux" $(srcdir)/testrunner.sh $(LINUX_TESTS)
597 endif
598         @EXEEXT=$(EXEEXT) EXEEXT=$(EXEEXT) CFLAGS='$(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' VALAFLAGS="--enable-experimental-non-null" $(srcdir)/testrunner.sh $(NON_NULL_TESTS)
600 EXTRA_DIST = \
601         testrunner.sh \
602         $(TESTS) \
603         $(NON_NULL_TESTS) \
604         $(LINUX_TESTS) \
605         $(NULL)