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 (defvar $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
) 78 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))
71 ;; ECL 16.1.2 still fails in #104
72 ((mlist simp
) "rtest8"
73 #+ecl
((mlist simp
) 104))
74 ((mlist simp
) "rtest12"
77 ((mlist simp
) "rtesthyp"
78 ((mlist simp
) 105 112 113 123 124 128))
79 ((mlist simp
) "rtest_hypgeo"
84 ((mlist simp
) "rtestsum"
85 ((mlist simp
) 3 4 18 75))
86 ;; Tested with acl 10.1
87 ((mlist simp
) "rtest_trig"
88 #+allegro
((mlist simp
) 58))
93 ((mlist simp
) "rtestint"
97 ((mlist simp
) "rtest_equal"
98 ((mlist simp
) 157 160))
100 ((mlist simp
) "rtest_taylor"
101 ((mlist simp
) 88 91 97 104 128 129))
102 ((mlist simp
) "rtest_dot")
106 ((mlist simp
) "rtest_map"
107 ((mlist simp
) 2 3 4))
108 ((mlist simp
) "rtest_sign"
109 ((mlist simp
) 21 25 30 40 65 72 79))
111 ;; Using the gcl version that is shipped with Ubuntu 16.04 (Long term Support)
112 ;; test 307 of rtest_gamma results in an error-catch on i386, but not in
114 ;; Unfortunately many gcl versions have the same version number so we cannot
115 ;; test for the buggy version in order to get full support for the lts version.
117 ;; On ECL 15.3.7 (but not on ECL versions from 2014 or 2016) rtest_gamma
118 ;; most of the times crashes on ia32 and sometimes crashes on x64.
119 ((mlist simp
) "rtest_gamma"
120 #+gcl
((mlist simp
) 307)
121 #+allegro
((mlist simp
) 48 198 663 745))
125 ((mlist simp
) "rtest_elliptic"
126 #-allegro
((mlist simp
) 129 143)
127 #+allegro
((mlist simp
) 92 129 143))
129 "rtest_integrate_special"
130 ((mlist simp
) "rtest_sqrt"
132 ((mlist simp
) "rtest_carg"
133 ((mlist simp
) 40 41))
134 ((mlist simp
) "rtest_log")
135 ((mlist simp
) "rtest_power"
136 ((mlist simp
) 19 20 26 58))
138 ;; Tested with acl 10.1
139 ((mlist simp
) "rtest_limit"
140 #+allegro
((mlist simp
) 184 185))
142 ((mlist simp
) "rtest_laplace"
143 ((mlist simp
) 29 49 50 51 59 60 61 62 78 80))
150 ;; The list of share testsuite files. As they are given withut a path
151 ;; this assumes that file_search_tests is set appropriately so that maxima
152 ;; can actually find these files. (file_search_maxima is a good choice.)
153 (defvar $share_testsuite_files
157 "rtest_zeilberger_extreme"
164 ;; These tests of diff eq code mostly fail.
165 ;; Probably it's just a matter of loading the
166 ;; appropriate package or packages for each test.
169 ;; "rtest_ode1_riccati"
172 ;; "rtestode_kamke_1_1"
173 ;; "rtestode_kamke_1_2"
174 ;; "rtestode_kamke_1_3"
175 ;; "rtestode_kamke_1_4"
176 ;; "rtestode_kamke_1_5"
177 ;; "rtestode_kamke_1_6"
178 ;; "rtestode_murphy_1_1"
179 ;; "rtestode_murphy_1_2"
180 ;; "rtestode_murphy_1_3"
181 ;; "rtestode_murphy_1_4"
182 ;; "rtestode_murphy_1_5"
183 ;; "rtestode_murphy_1_6"
184 ;; "rtestode_murphy_2_1"
185 ;; "rtestode_murphy_2_2"
186 ;; "rtestode_murphy_2_3"
187 ;; "rtestode_murphy_2_4"
188 ;; "rtestode_murphy_2_5"
189 ;; "rtestode_kamke_1_1.mac"
190 ;; "rtestode_kamke_1_2.mac"
191 ;; "rtestode_kamke_1_3.mac"
192 ;; "rtestode_kamke_1_4.mac"
193 ;; "rtestode_kamke_1_5.mac"
194 ;; ((mlist simp) "rtestode_kamke_1_6.mac"
195 ;; ((mlist simp) 20)) ; OK - testsuite issues
196 ;; "rtestode_kamke_2_1.mac"
197 ;; ((mlist simp) "rtestode_kamke_2_2.mac"
198 ;; ((mlist simp) 132 )) ; OK - testsuite issues
199 ;; ((mlist simp) "rtestode_kamke_2_3.mac"
200 ;; ((mlist simp) 83 107)) ; OK - testsuite issues
201 ;; "rtestode_kamke_2_4.mac"
202 ;; "rtestode_kamke_2_5.mac"
205 ;; ((mlist simp) "rtest_ode1_riccati.mac"
206 ;; (mlist simp 138)) ; OK - testsuite issues
207 ;; ((mlist simp) "rtest_ode1_abel.mac"
208 ;; (mlist simp 45)) ; OK - testsuite issues
209 ;; "rtestode_odelin.mac"
210 ;; "rtestode_utils.mac"
214 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
217 ((mlist simp
) "rtest_simplify_sum"
220 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
222 ((mlist simp
) "rtest_stringproc"
223 ;; 12 fails in ECL 15.3.7, 69 in ECL 13.5.1
224 #+ecl
((mlist simp
) 12 69)
225 #+gcl
((mlist simp
) 14))
229 ((mlist simp
) "rtest_descriptive"
230 ;; Tests that failed for gcl 2.6.12
232 ((mlist simp
) 98 109)
233 ;; Tests that failed for ACL 10.1
235 ((mlist simp
) 98 99 109 110))
237 ((mlist simp
) "rtest_levin"
238 ;; Tested with allegro 10.1
239 #+allegro
((mlist simp
) 71 75 77))
245 ;; On sbcl 1.4.10 we still get out-of-memory errors on many
246 ;; computers on loading lapack => commented these tests out
249 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
252 ;; Floating-point exception with ECL 16.1.2 in 4 7 8 9 10 12
253 ;; On a different computer with ECL 16.1.2 test 5 failed, too. No idea why.
254 ;; On another computer that used the same ECL version test step 15 resulted in an
255 ;; error-catch without making further information visible in the log.
256 ;; ECL 13.5.1 errored out in 7-12,14+15 and ECL 13.5.1 to 16.1.2
257 ;; are known to sporadically error out in steps 6 and 13.
259 ;; But ecl 16.1.3 passes all of these tests
261 ((mlist simp
) "rtest_dgeqrf"
262 #+ecl
((mlist simp
) 1 4 5 6 7 8 9 10 11 12 13 14 15))
264 ((mlist simp
) "rtest_dgesv"
265 #+ecl
((mlist simp
) 1 3 4 5 6))
266 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
270 ((mlist simp
) "rtest_fourier_elim"
271 ((mlist simp
) 146 147 148 149))
272 ((mlist simp
) "rtest_sequence"
275 "rtest_eigens_by_jacobi"
279 ((mlist simp
) "rtest_romberg"
280 ((mlist simp
) 18 20))
284 ((mlist simp
) "rtest_namespaces"
285 #+(or clisp sbcl ccl cmucl ecl
)
288 ((mlist simp
) "rtest_pdiff"
289 #-
(or ccl cmucl ecl sbcl gcl clisp
)
291 ((mlist simp
) "rtest_to_poly"
292 #-
(or ccl cmucl sbcl gcl ecl
)
293 ((mlist simp
) 13 14 15 16 17 18 19 20 25))
294 ;; Tested with acl 10.1
295 ((mlist simp
) "rtestprintf"
297 ((mlist simp
) 1 2 3 4 5 6 7 8 9 10 11 12 13 14
298 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
299 35 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57
302 ;; ECL 15.3.7 and earlier fails in 54, 66 and 70
303 ((mlist simp
) 38 54 61 63 65 66 69 70)
305 ((mlist simp
) 27 38 61 63 65 69)
307 ((mlist simp
) 7 29 38 39 40 47 48 61 69 70)
308 ;; The tests that failed with abcl 1.5.0
310 ((mlist simp
) 38 40 61 63 65 69)
315 #-
(or clisp cmucl gcl ecl abcl ccl allegro
)
316 ((mlist simp
) 38 61 63 65 69)
319 ((mlist simp
) "rtest_graphs"
320 ;; Tested with acl 10.1
321 #+allegro
((mlist simp
) 3 4 5))
322 ((mlist simp
) "rtest_abs_integrate"
323 #-
(or cmucl ccl ecl sbcl gcl
)
324 ((mlist) 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 123 125 126 127 178))
326 ((mlist simp
) "rtest_to_poly_solve"
327 #-
(or cmucl ccl ecl gcl sbcl sbcl
)
328 ((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)
330 ((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)
332 ((mlist simp
) 55 102 116 131 133 137 140 141 147 166 167 168 183 184 216
333 240 242 245 265 293 312 319 320 322)
335 ((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)
338 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 216 240
339 242 245 265 293 312 319 320 322)
342 48 55 64 74 80 83 102 116 131 133 137 140 141 147 166 167 168 183 184 199
343 200 201 202 203 204 214 216 222 240 242 245 265 268 277 278 293 295 311
347 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))
348 ;; The tests that failed with abcl 1.5.0
349 ((mlist simp
) "rtest_hg"
350 #+(or gcl abcl
) ((mlist simp
) 87 120)
351 #-
(or gcl abcl
) ((mlist simp
) 87))
352 ((mlist simp
) "rtest_sym"
353 #-
(or sbcl gcl clisp cmucl
) ((mlist simp
) 12 15 58 64)
354 #+(or clisp gcl
) ((mlist simp
) 15 64)
355 #+sbcl
((mlist simp
) 15 64)
356 #+cmucl
((mlist simp
) 15 64))
357 ((mlist simp
) "rtest_nfloat"
361 "rtest_solve_rat_ineq"
362 ((mlist simp
) "rtest_vect"
364 ((mlist simp
) 4 9 10 13 16 19 20 21 24 25)
366 ((mlist simp
) 4 9 10 13 16 20 21 24 25))
371 ((mlist simp
) "rtest_finance"
372 ;; Tested with acl 10.1
373 ;; ECL newer than 15.3.7 doesn't fail any more
374 #+(or gcl allegro ecl
)
375 ((mlist simp
) 9 10 11))
378 ((mlist simp
) "rtest_decfp"
379 #+gcl
((mlist simp
) 1 2 3 4))
381 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
384 ((mlist simp
) "rtest_engineering_format"
389 ;; ECL > 15.3.7 doesn't fail here any more
391 ((mlist simp
) 6 8 10 12 14)
393 ((mlist simp
) 6 8 10 12)
394 ;; Tested with acl 10.1
396 ((mlist simp
) 1 6 8 10 12 14))