1 ;;********************************************************
2 ;; file: testsuite.lisp
3 ;; description: Initialize the list of testsuite files
4 ;; date: Tue Dec 18 2018 - 14:38
6 ;;********************************************************
10 ;;; The Maxima test suite is defined to be the sum of all the tests in
11 ;;; the files listed in the Maxima option variable $testsuite_files.
12 ;;; Each entry can either be a plain file name (minus extension), e.g.,
13 ;;; "testfile.mac", or a Maxima list containing a file name followed by
14 ;;; another Maxima list of the numbers of the test problems that are
15 ;;; expected to fail, e.g. ((mlist simp) "testfile.mac" ((mlist) 7 9 13)).
16 (defparameter $testsuite_files
18 ((mlist simp
) "rtest_rules"
19 #+allegro
((mlist simp
) 11 13))
21 ((mlist simp
) "rtest1"
22 ;; 115 sometimes fails on ECL 16.1.2 on AMD 64/Ubuntu.
23 #+ecl
((mlist simp
) 115 183 185 186)
24 #-ecl
((mlist simp
) 183 185 186))
25 ((mlist simp
) "rtest1a" ((mlist simp
) 33))
26 ((mlist simp
) "rtest2" ((mlist simp
) 86 95))
28 ;; Mark tests that require the documentation as known failures
29 ;; if this was a lisp-only build
30 ((mlist simp
) "rtest5"
31 ,@(and (boundp '*autoconf-lisp-only-build
*)
32 (symbol-value '*autoconf-lisp-only-build
*)
33 (list (list '(mlist simp
) 80))))
34 ;; 46 = ECL bug #437: mishandling float format
35 ;; 45 sporadically fails in all tested ECL versions (15.3.7-16.1.3)
36 ;; 43 fails in ECL up to version 15.3.7
37 ((mlist simp
) "rtest6"
38 #+ecl
((mlist simp
) 43 45 46))
43 ((mlist simp
) "rtest9a"
44 #+allegro
((mlist simp
) 24 27 30 31 35 36 47 48 51 52 55 56 59 60 63 64 67 68 71 72))
45 ((mlist simp
) "rtest10" ((mlist simp
) 24 25))
46 ((mlist simp
) "rtest11"
47 #+allegro
((mlist simp
) 136 137 158 174)
48 #+ccl64
((mlist simp
) 158 174)
49 #+gcl
((mlist simp
) 158 174 175))
52 ;; ECL 16.1.2 still reliably fails in #307 + #310
53 ;; and sporadically in 201, 234, 249, 250, 251, 252, 267, 297, 298, 312, 315
55 ;; ECL 13.5.1 sporadically fails in 233
56 ((mlist simp
) "rtest14"
57 #+ecl
((mlist simp
) 145 201 233 234 249 250 251 252 267 297 298 307 310 312 315 319))
59 ;; ccl versions 1.11 and earlier fail test 50. Mark it as a
60 ;; known failure. Presumably 1.12 will have this fixed.
61 ;; Test 561 tickles bug in ECL if signed zero enabled; see ECL
62 ;; bug #329. Fixed post-16.1.3.
63 ;; Test 50 still sometimes fails in ecl 16.1.2
64 ((mlist simp
) "rtest16"
65 #-
(or ecl allegro
) ((mlist simp
) 524 525)
66 #+ecl
((mlist simp
) 50 524 525 561)
67 #+allegro
((mlist simp
) 50 241 524 525))
70 ((mlist simp
) "rtest3" ((mlist simp
) 146))
71 ;; ECL 16.1.2 still fails in #104
72 ((mlist simp
) "rtest8"
73 #+ecl
((mlist simp
) 104))
76 ((mlist simp
) "rtesthyp"
77 ((mlist simp
) 105 112 113 123 124 128))
78 ((mlist simp
) "rtest_hypgeo"
82 ((mlist simp
) "rtest_maxmin"
83 ((mlist simp
) 16 17 40 52 53 57 97 109))
85 ((mlist simp
) "rtestsum"
86 ((mlist simp
) 23 24 38 95))
87 ;; Tested with acl 10.1
88 ((mlist simp
) "rtest_trig"
89 #+allegro
((mlist simp
) 58))
94 ((mlist simp
) "rtestint"
98 ((mlist simp
) "rtest_equal"
99 ((mlist simp
) 157 160))
101 ((mlist simp
) "rtest_taylor"
102 ((mlist simp
) 88 91 97 104 128 129))
103 ((mlist simp
) "rtest_dot")
107 ((mlist simp
) "rtest_map"
108 ((mlist simp
) 2 3 4))
109 ((mlist simp
) "rtest_sign"
110 ((mlist simp
) 21 25 30 40 65 72 79))
112 ;; Using the gcl version that is shipped with Ubuntu 16.04 (Long term Support)
113 ;; test 307 of rtest_gamma results in an error-catch on i386, but not in
115 ;; Unfortunately many gcl versions have the same version number so we cannot
116 ;; test for the buggy version in order to get full support for the lts version.
118 ;; On ECL 15.3.7 (but not on ECL versions from 2014 or 2016) rtest_gamma
119 ;; most of the times crashes on ia32 and sometimes crashes on x64.
120 ((mlist simp
) "rtest_gamma"
121 #+gcl
((mlist simp
) 307)
122 #+allegro
((mlist simp
) 48 198 663 745))
126 ((mlist simp
) "rtest_elliptic"
127 #-allegro
((mlist simp
) 135 149)
128 #+allegro
((mlist simp
) 92 135 149))
130 "rtest_integrate_special"
131 ((mlist simp
) "rtest_sqrt"
133 ((mlist simp
) "rtest_carg"
134 ((mlist simp
) 40 41))
135 ((mlist simp
) "rtest_log")
136 ((mlist simp
) "rtest_power"
137 ((mlist simp
) 19 20 26))
139 ;; Tested with acl 10.1
140 ((mlist simp
) "rtest_limit"
141 #+allegro
((mlist simp
) 184 185))
143 ((mlist simp
) "rtest_laplace"
144 ((mlist simp
) 29 49 50 51 59 60 61 62 78 80))
149 ((mlist simp
) "rtest_limit_extra"
150 ((mlist simp
) 42 52 53 59 61 64 67 70 80 82 83 84 87 89 90 91
151 94 96 98 100 102 103 104 106 108 111
152 124 125 126 127 132 133 135 136 137 139 187))
156 ;; The list of share testsuite files. As they are given without a path
157 ;; this assumes that file_search_tests is set appropriately so that maxima
158 ;; can actually find these files. (file_search_maxima is a good choice.)
159 (defparameter $share_testsuite_files
164 "rtest_zeilberger_extreme"
171 ;; These tests of diff eq code mostly fail.
172 ;; Probably it's just a matter of loading the
173 ;; appropriate package or packages for each test.
176 ;; "rtest_ode1_riccati"
179 ;; "rtestode_kamke_1_1"
180 ;; "rtestode_kamke_1_2"
181 ;; "rtestode_kamke_1_3"
182 ;; "rtestode_kamke_1_4"
183 ;; "rtestode_kamke_1_5"
184 ;; "rtestode_kamke_1_6"
185 ;; "rtestode_murphy_1_1"
186 ;; "rtestode_murphy_1_2"
187 ;; "rtestode_murphy_1_3"
188 ;; "rtestode_murphy_1_4"
189 ;; "rtestode_murphy_1_5"
190 ;; "rtestode_murphy_1_6"
191 ;; "rtestode_murphy_2_1"
192 ;; "rtestode_murphy_2_2"
193 ;; "rtestode_murphy_2_3"
194 ;; "rtestode_murphy_2_4"
195 ;; "rtestode_murphy_2_5"
196 ;; "rtestode_kamke_1_1.mac"
197 ;; "rtestode_kamke_1_2.mac"
198 ;; "rtestode_kamke_1_3.mac"
199 ;; "rtestode_kamke_1_4.mac"
200 ;; "rtestode_kamke_1_5.mac"
201 ;; ((mlist simp) "rtestode_kamke_1_6.mac"
202 ;; ((mlist simp) 20)) ; OK - testsuite issues
203 ;; "rtestode_kamke_2_1.mac"
204 ;; ((mlist simp) "rtestode_kamke_2_2.mac"
205 ;; ((mlist simp) 132 )) ; OK - testsuite issues
206 ;; ((mlist simp) "rtestode_kamke_2_3.mac"
207 ;; ((mlist simp) 83 107)) ; OK - testsuite issues
208 ;; "rtestode_kamke_2_4.mac"
209 ;; "rtestode_kamke_2_5.mac"
212 ;; ((mlist simp) "rtest_ode1_riccati.mac"
213 ;; (mlist simp 138)) ; OK - testsuite issues
214 ;; ((mlist simp) "rtest_ode1_abel.mac"
215 ;; (mlist simp 45)) ; OK - testsuite issues
216 ;; "rtestode_odelin.mac"
217 ;; "rtestode_utils.mac"
221 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
224 ((mlist simp
) "rtest_simplify_sum"
227 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
229 ((mlist simp
) "rtest_stringproc"
230 ;; 12 fails in ECL 15.3.7, 69 in ECL 13.5.1
231 #+ecl
((mlist simp
) 12 69)
232 #+gcl
((mlist simp
) 14))
233 #-allegro
"rtest_md5sum"
237 ((mlist simp
) "rtest_descriptive"
238 ;; Tests that failed for gcl 2.6.12
240 ((mlist simp
) 98 109)
241 ;; Tests that failed for ACL 10.1
243 ((mlist simp
) 98 99 109 110))
245 ((mlist simp
) "rtest_levin"
246 ;; Tested with allegro 10.1
247 #+allegro
((mlist simp
) 71 75 77))
253 ;; On sbcl 1.4.10 we still get out-of-memory errors on many
254 ;; computers on loading lapack => commented these tests out
257 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
260 ;; Floating-point exception with ECL 16.1.2 in 4 7 8 9 10 12
261 ;; On a different computer with ECL 16.1.2 test 5 failed, too. No idea why.
262 ;; On another computer that used the same ECL version test step 15 resulted in an
263 ;; error-catch without making further information visible in the log.
264 ;; ECL 13.5.1 errored out in 7-12,14+15 and ECL 13.5.1 to 16.1.2
265 ;; are known to sporadically error out in steps 6 and 13.
267 ;; But ecl 16.1.3 passes all of these tests
269 ((mlist simp
) "rtest_dgeqrf"
270 #+ecl
((mlist simp
) 1 4 5 6 7 8 9 10 11 12 13 14 15))
272 ((mlist simp
) "rtest_dgesv"
273 #+ecl
((mlist simp
) 1 3 4 5 6))
274 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
278 ((mlist simp
) "rtest_fourier_elim"
279 ((mlist simp
) 146 147 148 149))
280 ((mlist simp
) "rtest_sequence"
283 "rtest_eigens_by_jacobi"
287 ((mlist simp
) "rtest_romberg"
288 ((mlist simp
) 18 20))
293 ((mlist simp
) "rtest_pdiff"
294 #-
(or ccl cmucl ecl sbcl gcl clisp
)
296 ((mlist simp
) "rtest_to_poly"
297 #-
(or ccl cmucl sbcl gcl ecl clisp
)
298 ((mlist simp
) 13 14 15 16 17 18 19 20 25))
299 ;; Tested with acl 10.1
300 ((mlist simp
) "rtestprintf"
302 ((mlist simp
) 1 2 3 4 5 6 7 8 9 10 11 12 13 14
303 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
304 35 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57
307 ;; ECL 15.3.7 and earlier fails in 54, 66 and 70
308 ((mlist simp
) 38 54 61 63 65 66 69 70)
310 ((mlist simp
) 27 38 61 63 65 69)
312 ((mlist simp
) 7 29 38 39 40 47 48 61 69 70)
313 ;; The tests that failed with abcl 1.5.0
315 ((mlist simp
) 38 40 61 63 65 69)
320 #-
(or clisp cmucl gcl ecl abcl ccl allegro
)
321 ((mlist simp
) 38 61 63 65 69)
324 ((mlist simp
) "rtest_graphs"
325 ;; Tested with acl 10.1
326 #+allegro
((mlist simp
) 3 4 5))
327 ((mlist simp
) "rtest_abs_integrate" ((mlist) 177 253))
329 ((mlist simp
) "rtest_to_poly_solve"
330 #-
(or cmucl ccl ecl gcl sbcl sbcl clisp
)
331 ((mlist simp
) 64 74 80 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 55 70 72 73 76 77 78 83 86 87 88 89 90 96 97 102 116 120 124 125 126 127 128 129 130 131 133 134 135 136 137 138 139 140 141 142 143 144 146 147 148 149 157 158 159 162 163 164 165 166 167 168 169 173 179 180 181 183 184 196 197 198 199 200 201 202 203 204 207 208 210 214 215 216 217 222 233 234 240 241 242 243 244 245 253 262 263 265 268 273 274 277 278 282 283 284 285 286 287 288 289 290 291 292 293 295 296 299 300 311 312 318 319 320 322)
333 ((mlist simp
) 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 216 240 242 245 265 293 312 319 320 322)
335 ((mlist simp
) 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 210 216 240 242 245 265 293 312 319 320 322)
337 ((mlist simp
) 64 74 80 48 55 83 102 116 131 133 137 140 141 147 149 166 167 168 183 184 212 216 240 242 245 265 293 312 319 320 322)
340 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 216 240
341 242 245 265 293 312 319 320 322)
344 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 199
345 200 201 202 203 204 214 216 222 240 242 245 265 268 277 278 293 295 311
349 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 216 240 242 245 265 293 312 319 320 322))
350 ;; The tests that failed with abcl 1.5.0
351 ((mlist simp
) "rtest_hg"
352 #+(or gcl abcl
) ((mlist simp
) 87 120)
353 #-
(or gcl abcl
) ((mlist simp
) 87))
354 ((mlist simp
) "rtest_sym"
355 #-
(or sbcl gcl clisp cmucl
) ((mlist simp
) 12 15 58 64)
356 #+(or clisp gcl
) ((mlist simp
) 15 64)
357 #+sbcl
((mlist simp
) 15 64)
358 #+cmucl
((mlist simp
) 15 64))
359 ((mlist simp
) "rtest_nfloat"
363 "rtest_solve_rat_ineq"
364 ((mlist simp
) "rtest_vect"
366 ((mlist simp
) 4 9 10 13 16 19 20 21 24 25)
368 ((mlist simp
) 4 9 10 13 16 20 21 24 25))
373 ((mlist simp
) "rtest_finance"
374 ;; Tested with acl 10.1
375 ;; ECL newer than 15.3.7 doesn't fail any more
376 #+(or gcl allegro ecl
)
377 ((mlist simp
) 9 10 11))
380 ((mlist simp
) "rtest_decfp"
381 #+gcl
((mlist simp
) 1 2 3 4))
383 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
386 ((mlist simp
) "rtest_engineering_format"
390 ((mlist simp
) 6 8 10 12)
391 ;; Tested with acl 10.1
393 ((mlist simp
) 1 6 8 10 12 14))