about summary refs log tree commit diff stats
path: root/test_apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-24 20:54:12 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-24 20:54:12 -0700
commitd1179723a9bc8e02a91d740040bbcf86bff384e1 (patch)
tree01a3051dd22f271270e628e555255bcef83a66f1 /test_apps
parent4d14c3fefd8362512e8e75d5051f7a7b709b483f (diff)
downloadmu-d1179723a9bc8e02a91d740040bbcf86bff384e1.tar.gz
6394 - a catastrophic bug
How did new-literal ever work?! Somehow we had eax silently being clobbered
without affecting behavior over like 5 apps. Unsafe languages suck.

Anyways, factorial.mu is now part of CI.
Diffstat (limited to 'test_apps')
-rwxr-xr-xtest_apps13
1 files changed, 13 insertions, 0 deletions
diff --git a/test_apps b/test_apps
index b2d10472..c6b1f3f2 100755
--- a/test_apps
+++ b/test_apps
@@ -395,4 +395,17 @@ test $NATIVE  &&  {
   test $ret -eq 55
 }
 
+echo factorial.mu
+./translate_mu apps/factorial.mu
+test $EMULATED  &&  {
+  ./bootstrap run a.elf  ||  ret=$?
+  test $ret -eq 120
+  ./bootstrap run a.elf test
+}
+test $NATIVE  &&  {
+  ./a.elf  ||  ret=$?
+  test $ret -eq 120
+  ./a.elf test
+}
+
 exit 0
011-10-21 01:06:24 +0200 first steps to C file merge operation for incremental compilation' href='/ahoang/Nim/commit/compiler/cgendata.nim?h=devel&id=a6f90d4cdd397017436d385fbf2b54d80e4c1a77'>a6f90d4cd ^
97743faa8 ^
e2d38a57e ^



49fa421ba ^

39049e151 ^
a6f90d4cd ^



39049e151 ^
a6f90d4cd ^

5641be51c ^
a6f90d4cd ^
39049e151 ^
d2b45dbe8 ^
d2b45dbe8 ^
15dd3a225 ^
a64d4dc35 ^
8cccaebc2 ^
a64d4dc35 ^
5641be51c ^
a6f90d4cd ^
2781fea9e ^
b731e6ef1 ^

5641be51c ^
02a2180a6 ^
739b4f214 ^

3ce400bb0 ^


39049e151 ^
739b4f214 ^
a6f90d4cd ^

caf787800 ^

a6f90d4cd ^


a64d4dc35 ^
a6f90d4cd ^

e84834db7 ^


92b8fac94 ^
7ea318a05 ^
5641be51c ^
a6f90d4cd ^
3ac6bd8ae ^








a6f90d4cd ^
a6f90d4cd ^
3ac6bd8ae ^
4b0ba5e3f ^

a6f90d4cd ^

4b0ba5e3f ^
a6f90d4cd ^

7ea318a05 ^

a6f90d4cd ^
7ea318a05 ^
a6f90d4cd ^
b01d9b618 ^
a64f03230 ^
a6f90d4cd ^



39049e151 ^
92b8fac94 ^
39049e151 ^
cf06131de ^
39049e151 ^
a6f90d4cd ^

39049e151 ^
046d829e5 ^
39049e151 ^
4841b6390 ^
a6f90d4cd ^
538b06a12 ^
39049e151 ^
20d56875d ^


39049e151 ^
20d56875d ^

a6f90d4cd ^
4841b6390 ^



5641be51c ^
a6f90d4cd ^




d2b45dbe8 ^
a6f90d4cd ^
739b4f214 ^
a6f90d4cd ^
5324c9ebb ^
f9bd8cc98 ^
86bf97a73 ^


f9bd8cc98 ^

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