Makefile.am 1.95 KB
Newer Older
david_v's avatar
david_v committed
1
2
3
4
include $(top_srcdir)/config/Makefile.xt
include $(top_srcdir)/config/check-rules.mk

# Each test case depends on defs.
5
check_SCRIPTS = defs dirs
david_v's avatar
david_v committed
6
7
8
9

defs: $(top_builddir)/config/defs
	ln -s $(top_builddir)/config/defs .

10
11
$(TESTS): test.test
	for i in $(TESTS); do ln -fs $< $$i; done
david_v's avatar
david_v committed
12

13
14
15
dirs:
	echo "SRCDIR=\"$(srcdir)\"" >dirs

16
XFAIL_TESTS = \
17
		template-08.test
18

david_v's avatar
david_v committed
19
TESTS = \
20
		alias-01.test \
david_v's avatar
david_v committed
21
22
23
24
25
26
27
		class-01.test \
		class-02.test \
		class-03.test \
		class-04.test \
		class-05.test \
		class-06.test \
		enum-01.test \
28
29
30
		enum-02.test \
		enum-03.test \
		enum-04.test \
david_v's avatar
david_v committed
31
		factorial-01.test \
32
33
34
35
36
37
		function-01.test \
		function-02.test \
		function-03.test \
		function-04.test \
		function-05.test \
		function-06.test \
david_v's avatar
david_v committed
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
		inherit-01.test \
		inherit-02.test \
		inherit-03.test \
		inherit-04.test \
		inherit-05.test \
		inherit-06.test \
		inherit-07.test \
		inherit-08.test \
		inherit-09.test \
		main-01.test \
		main-02.test \
		namespace-01.test \
		namespace-02.test \
		namespace-03.test \
		namespace-04.test \
		namespace-05.test \
		parameter-01.test \
		parameter-02.test \
		parameter-03.test \
		parameter-04.test \
		parameter-05.test \
		parameter-06.test \
		parameter-07.test \
		parameter-08.test \
		power-01.test \
		power-02.test \
64
65
		simple-decl-01.test \
		simple-decl-02.test \
66
67
		sizeof-01.test \
		sizeof-02.test \
david_v's avatar
david_v committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
		struct-01.test \
		template-01.test \
		template-02.test \
		template-03.test \
		template-04.test \
		template-05.test \
		template-06.test \
		template-07.test \
		template-08.test \
		template-09.test \
		template-10.test \
		test-01.test \
		test-02.test \
		test-03.test \
		test-04.test \
		type-01.test \
84
85
86
87
		typedef-01.test \
		typedef-02.test \
		union-01.test \
		variable-01.test
david_v's avatar
david_v committed
88

89
EXTRA_DIST	= test.test $(TESTS:.test=.cc) $(TESTS:.test=.detcc)
david_v's avatar
david_v committed
90

91
CLEANFILES	= defs \
92
		  dirs \
david_v's avatar
david_v committed
93
94
95
96
97
		  $(TESTS) \
		  $(TESTS:.test=.visamb) \
                  $(TESTS:.test=.disambcc) \
                  $(TESTS:.test=.diff) \
                  $(TESTS:.test=.astcc2)