ApiAnnotations : AST version of nested forall loses forall annotation
[ghc.git] / testsuite / tests / ghc-api / annotations / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 clean:
6 rm -f *.o *.hi
7 rm -f annotations comments parseTree exampleTest
8 rm -f t10269
9 rm -f t10255 t10312
10 rm -f t1037
11 rm -f t10309
12 rm -f listcomps boolFormula
13 rm -f t10357
14 rm -f t10278
15
16 annotations:
17 rm -f annotations.o annotations.hi
18 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc annotations
19 ./annotations "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
20
21 parseTree:
22 rm -f parseTree.o parseTree.hi
23 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc parseTree
24 ./parseTree "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
25
26 comments:
27 rm -f comments.o comments.hi
28 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc comments
29 ./comments "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
30
31 exampleTest:
32 rm -f exampleTest.o exampleTest.hi
33 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc exampleTest
34 ./exampleTest "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
35
36 listcomps:
37 rm -f listcomps.o listcomps.hi
38 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc listcomps
39 ./listcomps "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
40
41 t10358:
42 rm -f t10358.o t10358.hi
43 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10358
44 ./t10358 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
45
46 .PHONY: t10358
47
48 t10255:
49 rm -f t10255.o t10255.hi
50 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10255
51 ./t10255 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
52
53 t10357:
54 rm -f t10357.o t10357.hi
55 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10357
56 ./t10357 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
57
58 .PHONY: t10357
59
60 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255
61
62 T10268:
63 rm -f t10268.o t10268.hi
64 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10268
65 ./t10268 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
66
67 T10280:
68 rm -f t10280.o t10280.hi
69 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10280
70 ./t10280 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
71
72 .PHONY: clean annotations parseTree comments exampleTest listcomps
73
74 T10269:
75 rm -f T10269.o T10269.hi
76 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10269
77 ./t10269 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
78
79 .PHONY: t10269
80
81 t10312:
82 rm -f t10312.o t10312.hi
83 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10312
84 ./t10312 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
85
86 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255 t10312
87
88 t10307:
89 rm -f t10307.o t10307.hi
90 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10307
91 ./t10307 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
92
93 .PHONY: t10307
94
95 t10309:
96 rm -f t10309.o t10309.hi
97 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10309
98 ./t10309 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
99
100 .PHONY: t10309
101
102 boolFormula:
103 rm -f boolFormula.o boolFormula.hi
104 # Disable all warnings to make sure boolFormula.stderr is repeatable
105 '$(TEST_HC)' $(TEST_HC_OPTS) --make -w -v0 -package ghc boolFormula
106 ./boolFormula "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
107
108 .PHONY: clean annotations parseTree comments exampleTest listcomps boolFormula
109
110 T10278:
111 rm -f t10278.o t10278.hi
112 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10278
113 ./t10278 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
114
115 .PHONY: T10278