-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.sh
executable file
·181 lines (156 loc) · 6.23 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
echo
echo simple.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/simple.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/simple.hs
cp test/peg/simple.papillon tmp/simple_th.hs
runhaskell -isrc -Wall tmp/simple_th.hs
echo
echo arith.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/arith.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/arith.hs
cp test/peg/arith.papillon tmp/arith_th.hs
runhaskell -isrc -Wall tmp/arith_th.hs
echo
echo test.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/test.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/test.hs
cp test/peg/test.papillon tmp/test_th.hs
runhaskell -isrc -Wall tmp/test_th.hs
echo
echo testChar.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testChar.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testChar.hs
cp test/peg/testChar.papillon tmp/testChar_th.hs
runhaskell -isrc -Wall tmp/testChar_th.hs
echo
echo otherTypes.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/otherTypes.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/otherTypes.hs
cp test/peg/otherTypes.papillon tmp/otherTypes_th.hs
runhaskell -isrc -Wall tmp/otherTypes_th.hs
echo
echo testNotAfter.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testNotAfter.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testNotAfter.hs
cp test/peg/testNotAfter.papillon tmp/testNotAfter_th.hs
runhaskell -isrc -Wall tmp/testNotAfter_th.hs
echo
echo parseError.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/parseError.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/parseError.hs
cp test/peg/parseError.papillon tmp/parseError_th.hs
runhaskell -isrc -Wall tmp/parseError_th.hs
echo
echo testZoi.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testZoi.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testZoi.hs
cp test/peg/testZoi.papillon tmp/testZoi_th.hs
runhaskell -isrc -Wall tmp/testZoi_th.hs
echo
echo testList.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testList.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testList.hs
cp test/peg/testList.papillon tmp/testList_th.hs
runhaskell -isrc -Wall tmp/testList_th.hs
echo
echo testParen.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testParen.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testParen.hs
cp test/peg/testParen.papillon tmp/testParen_th.hs
runhaskell -isrc -Wall tmp/testParen_th.hs
echo
echo testType.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testType.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testType.hs
cp test/peg/testType.papillon tmp/testType_th.hs
runhaskell -isrc -Wall tmp/testType_th.hs
echo
echo testOp.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testOp.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testOp.hs
cp test/peg/testOp.papillon tmp/testOp_th.hs
runhaskell -isrc -Wall tmp/testOp_th.hs
echo
echo testListLit.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testListLit.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testListLit.hs
cp test/peg/testListLit.papillon tmp/testListLit_th.hs
runhaskell -isrc -Wall tmp/testListLit_th.hs
echo
echo testPatOp.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testPatOp.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testPatOp.hs
cp test/peg/testPatOp.papillon tmp/testPatOp_th.hs
runhaskell -isrc -Wall tmp/testPatOp_th.hs
echo
echo plainTest.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/plainTest.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/plainTest.hs
cp test/peg/plainTest.papillon tmp/plainTest_th.hs
runhaskell -isrc -Wall tmp/plainTest_th.hs
echo
echo lookahead.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/lookahead.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/lookahead.hs
cp test/peg/lookahead.papillon tmp/lookahead_th.hs
runhaskell -isrc -Wall tmp/lookahead_th.hs
echo
echo sugar.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/sugar.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/sugar.hs
cp test/peg/sugar.papillon tmp/sugar_th.hs
runhaskell -isrc -Wall tmp/sugar_th.hs
echo
echo simpleMonadic.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/simpleMonadic.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/simpleMonadic.hs
cp test/peg/simpleMonadic.papillon tmp/simpleMonadic_th.hs
runhaskell -isrc -Wall tmp/simpleMonadic_th.hs
echo
echo testSugar.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/testSugar.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/testSugar.hs
cp test/peg/testSugar.papillon tmp/testSugar_th.hs
runhaskell -isrc -Wall tmp/testSugar_th.hs
echo
echo layout.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/layout.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/layout.hs
cp test/peg/layout.papillon tmp/layout_th.hs
runhaskell -isrc -Wall tmp/layout_th.hs
echo
echo charList.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/charList.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/charList.hs
cp test/peg/charList.papillon tmp/charList_th.hs
runhaskell -isrc -Wall tmp/charList_th.hs
echo
echo comment.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/comment.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/comment.hs
cp test/peg/comment.papillon tmp/comment_th.hs
runhaskell -isrc -Wall tmp/comment_th.hs
echo
echo position.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/position.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/position.hs
cp test/peg/position.papillon tmp/position_th.hs
runhaskell -isrc -Wall tmp/position_th.hs
echo
echo bangPattern.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/bangPattern.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/bangPattern.hs
cp test/peg/bangPattern.papillon tmp/bangPattern_th.hs
runhaskell -isrc -Wall tmp/bangPattern_th.hs
echo
echo prefixArrow.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/prefixArrow.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/prefixArrow.hs
cp test/peg/prefixArrow.papillon tmp/prefixArrow_th.hs
runhaskell -isrc -Wall tmp/prefixArrow_th.hs
echo
echo noExp.papillon
runhaskell -isrc -ibin -Wall bin/papillon test/peg/noExp.papillon tmp/ && \
runhaskell -isrc -itmp -Wall tmp/noExp.hs
cp test/peg/noExp.papillon tmp/noExp_th.hs
runhaskell -isrc -Wall tmp/noExp_th.hs