Rename *ll* and *ul* to ll and ul in ssp and scmp
[maxima.git] / src / testsuite.lisp
blobb691cb1e7a2b984bb6dd1c9a14283b2bb86d9088
1 ;;********************************************************
2 ;; file: testsuite.lisp
3 ;; description: Initialize the list of testsuite files
4 ;; date: Tue Dec 18 2018 - 14:38
5 ;; author: Various
6 ;;********************************************************
8 (in-package :maxima)
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
17 `((mlist simp)
18 "rtest_sqdnst"
19 "rtest_extensions"
20 ((mlist simp) "rtest_rules"
21 #+allegro ((mlist simp) 11 13))
22 "rtestnset"
23 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
24 #-allegro
25 ((mlist simp) "rtest1"
26 ((mlist simp) 183 185 186))
27 ((mlist simp) "rtest1a" ((mlist simp) 33))
28 ((mlist simp) "rtest2" ((mlist simp) 86 95))
29 "rtest4"
30 ;; Mark tests that require the documentation as known failures
31 ;; if this was a lisp-only build
32 ((mlist simp) "rtest5"
33 ,@(and (boundp '*autoconf-lisp-only-build*)
34 (symbol-value '*autoconf-lisp-only-build*)
35 (list (list '(mlist simp) 80))))
36 "rtest6"
37 "rtest6a"
38 "rtest6b"
39 "rtest7"
40 "rtest9"
41 ((mlist simp) "rtest9a"
42 #+allegro ((mlist simp) 24 27 30 31 35 36 47 48 51 52 55 56 59 60 63 64 67 68 71 72))
43 ((mlist simp) "rtest10" ((mlist simp) 24 25))
44 ((mlist simp) "rtest11"
45 #+allegro ((mlist simp) 136 137 158 174)
46 #+ccl64 ((mlist simp) 158 174))
47 "rtest13"
48 "rtest13s"
49 ;; ECL 16.1.2 still reliably fails in #307 + #310
50 ;; and sporadically in 201, 234, 249, 250, 251, 252, 267, 297, 298, 312, 315
51 ;; and 319
52 ;; ECL 13.5.1 sporadically fails in 233
53 ((mlist simp) "rtest14")
54 "rtest15"
55 ;; ccl versions 1.11 and earlier fail test 50. Mark it as a
56 ;; known failure. Presumably 1.12 will have this fixed.
57 ;; Test 561 tickles bug in ECL if signed zero enabled; see ECL
58 ;; bug #329. Fixed post-16.1.3.
59 ;; Test 50 still sometimes fails in ecl 16.1.2
60 ((mlist simp) "rtest16"
61 #-(or ecl allegro) ((mlist simp) 525 526)
62 #+ecl ((mlist simp) 525 526)
63 #+allegro ((mlist simp) 50 242 525 526))
64 "rtestode"
65 "rtestode_zp"
66 ((mlist simp) "rtest3" ((mlist simp) 146))
67 ;; ECL 16.1.2 still fails in #104
68 ((mlist simp) "rtest8")
69 "rtest12"
70 "rexamples"
71 ((mlist simp) "rtesthyp"
72 ((mlist simp) 105 112 113 123 124 128))
73 ((mlist simp) "rtest_hypgeo"
74 ((mlist simp) 143))
75 "rtestmt19937"
76 "rtest_allnummod"
77 ((mlist simp) "rtest_maxmin"
78 ((mlist simp) 16 17 40 52 53 57 97 109))
79 "rtestconjugate"
80 ((mlist simp) "rtestsum"
81 ((mlist simp) 23 24 38 95))
82 ;; Tested with acl 10.1
83 ((mlist simp) "rtest_trig"
84 #+allegro ((mlist simp) 58))
85 "rtest_zeta"
86 "rtest_diff_invtrig"
87 "rtest_scalarp"
88 "rtest_everysome"
89 ((mlist simp) "rtestint"
90 ((mlist simp) 232))
91 "rtest_numth"
92 "rtestifactor"
93 ((mlist simp) "rtest_equal"
94 ((mlist simp) 157 160))
95 "rtest_abs"
96 ((mlist simp) "rtest_taylor"
97 ((mlist simp) 88 91 97 104 128 129))
98 ((mlist simp) "rtest_dot")
99 "rtest_mset"
100 "rtest_boolean"
101 "rtest_round"
102 ((mlist simp) "rtest_map"
103 ((mlist simp) 2 3 4))
104 ((mlist simp) "rtest_sign"
105 ((mlist simp) 21 25 30 40 65 145 180))
106 "rtest_algebraic"
107 ;; Using the gcl version 2.6.14 the tests pass.
109 ;; On ECL 15.3.7 (but not on ECL versions from 2014 or 2016) rtest_gamma
110 ;; most of the times crashes on ia32 and sometimes crashes on x64.
111 ((mlist simp) "rtest_gamma"
112 #+allegro ((mlist simp) 48 198 663 745))
113 "rtest_expintegral"
114 "rtest_signum"
115 "rtest_lambert_w"
116 ((mlist simp) "rtest_elliptic"
117 #-allegro ((mlist simp) 135)
118 #+allegro ((mlist simp) 92 135))
119 "rtest_integrate"
120 "rtest_integrate_special"
121 ((mlist simp) "rtest_sqrt"
122 ((mlist simp) 89))
123 ((mlist simp) "rtest_carg"
124 ((mlist simp) 40 41))
125 ((mlist simp) "rtest_log")
126 ((mlist simp) "rtest_power"
127 ((mlist simp) 19 20 26))
128 "rtestdefstruct"
129 ;; Tested with acl 10.1
130 ((mlist simp) "rtest_limit"
131 ((mlist simp) 113 158 159 229))
132 "rtest_powerseries"
133 ((mlist simp) "rtest_laplace"
134 ((mlist simp) 29 49 50 51 59 60 61 62 78 80))
135 "rtest_plotoptions"
136 "rtest_algsys"
137 "rtest_trace"
138 "rtest_polynomialp"
139 ((mlist simp) "rtest_limit_extra"
140 ((mlist simp) 42 59 61 82 83 84 89
141 94 96 102 104 111
142 124 125 126 127 132 133 135 136 137
143 224 238
144 239 240 241 242 243 244 245 246 249
145 256 259 261 262 267 268 269 270 271 272
146 280 281 282))
147 "rtest_gcd"
148 ;; The tests that failed with abcl 1.5.0
149 ((mlist simp) "rtest_hg"
150 #+(or gcl abcl) ((mlist simp) 87 120)
151 #-(or gcl abcl) ((mlist simp) 87))
152 ((mlist simp) "rtest_nfloat"
153 #-gcl((mlist simp) 25))
154 ((mlist simp) "rtest_ilt")
155 ((mlist simp) "ulp_tests"
156 ;; Clisp doesn't have denormals
157 #+clisp
158 ((mlist simp) 10 42 49))
159 #+lisp-unicode-capable "rtest_unicode_display"
160 ((mlist simp) "rtest_setvar"
161 #+gcl
162 ((mlist simp) 2))))
164 ;; The list of share testsuite files. As they are given without a path
165 ;; this assumes that file_search_tests is set appropriately so that maxima
166 ;; can actually find these files. (file_search_maxima is a good choice.)
167 (defparameter $share_testsuite_files
168 '((mlist simp)
169 "rtest_facexp"
170 "rtest_orthopoly"
171 "rtest_pslq"
172 "rtestflatten"
173 "rtest_z_transform"
174 "rtest_zeilberger_extreme"
175 "rtest_zeilberger"
176 "rtest_boolsimp"
177 "rtest_eigen"
178 "rtest_lsquares"
179 "rtest_pytranslate"
181 ;; Omit tests in share/contrib/diffequations/tests.
182 ;; To run those tests: load ("setup_tests.mac");
183 ;; and then: run_testsuite ();
184 ;; (setup_tests assigns the list of ODE tests to testsuite_files)
186 "rtest_odelin"
187 "rtestezunits"
188 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
189 #-allegro
190 "rtest_numericalio"
191 "rtest_simplify_sum"
192 "rtest_solve_rec"
193 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
194 #-allegro
195 ((mlist simp) "rtest_stringproc")
196 #-allegro
197 ((mlist simp) "rtest_md5sum")
198 "rtest_opproperties"
199 "rtest_stats"
200 "rtest_distrib"
201 ((mlist simp) "rtest_descriptive"
202 ;; Tests that failed for ACL 10.1
203 #+allegro
204 ((mlist simp) 98 99 109 110))
205 "rtest_interpol"
206 ((mlist simp) "rtest_levin"
207 ;; Tested with allegro 10.1
208 #+allegro ((mlist simp) 71 75 77))
209 "rtest_fractals"
210 "rtest_bernstein"
211 "rtest_atensor"
212 "rtest_ctensor"
213 "rtest_itensor"
214 ;; On sbcl 1.4.10 we still get out-of-memory errors on many
215 ;; computers on loading lapack => commented these tests out
216 ;; for SBCL.
218 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
219 ;; and abcl 1.5.0
221 #-sbcl
222 ((mlist simp) "rtest_dgeqrf")
223 #-sbcl
224 ((mlist simp) "rtest_dgesv")
225 ;; The following functions were used but not defined: ODEPACK::DUMACH in gcl 2.6.12
226 ;; and abcl 1.5.0
227 #-abcl
228 "rtest_dlsode"
229 ((mlist simp) "rtest_fourier_elim"
230 ((mlist simp) 146 147 148 149))
231 ((mlist simp) "rtest_sequence"
232 ((mlist simp) 55))
233 "rtest_cholesky"
234 "rtest_eigens_by_jacobi"
235 "rtest_lu"
236 "rtest_linalg"
237 "rtest_matrixexp"
238 ((mlist simp) "rtest_romberg"
239 ((mlist simp) 18 20))
240 "rtest_wilcoxon"
241 "rtest_bitwise"
242 "rtest_gf"
243 "rtest_arag"
244 ((mlist simp) "rtest_pdiff"
245 #-(or ccl cmucl ecl sbcl gcl clisp)
246 ((mlist simp) 62))
247 ((mlist simp) "rtest_to_poly"
248 #-(or abcl ccl cmucl sbcl gcl ecl clisp)
249 ((mlist simp) 13 14 15 16 17 18 19 20 25))
250 ;; Tested with acl 10.1
251 ((mlist simp) "rtestprintf"
252 #+allegro
253 ((mlist simp) 1 2 3 4 5 6 7 8 9 10 11 12 13 14
254 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
255 35 37 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57
256 58 59 66 67 68)
257 #+ecl
258 ;; ECL 23.9.9 results
259 ((mlist simp) 61)
260 #+clisp
261 ((mlist simp) 27 38 61 63 65 69)
262 #+gcl
263 ((mlist simp) 7 29 38 39 40 48 61)
264 ;; The tests that failed with abcl 1.5.0
265 #+abcl
266 ((mlist simp) 38 40 61 63 65 69)
267 #+ccl
268 ((mlist simp) 27 61)
269 #+cmucl
270 ((mlist simp) 61)
271 #-(or clisp cmucl gcl ecl abcl ccl allegro)
272 ((mlist simp) 38 61 63 65 69)
274 "rtest_simplex"
275 ((mlist simp) "rtest_graphs"
276 ;; Tested with acl 10.1
277 #+allegro ((mlist simp) 3 4 5))
278 ((mlist simp) "rtest_abs_integrate" ((mlist) 173 249))
279 "rtest_pochhammer"
280 ((mlist simp) "rtest_to_poly_solve"
281 #+gcl ((mlist simp) 64 74 80 116 140 141 168 184 212 242 245 322)
282 #-(or gcl) ((mlist simp) 64 74 80 116 140 141 168 184 242 245 322)
284 ((mlist simp) "rtest_sym"
285 #-(or sbcl ccl gcl clisp cmucl ecl) ((mlist simp) 15 64)
286 #+sbcl ((mlist simp))
287 #+ccl ((mlist simp)))
288 "rtest_mnewton"
289 "rtest_solve_rat_ineq"
290 ((mlist simp) "rtest_vect"
291 #-(or sbcl ccl cmucl gcl ecl clisp)
292 ((mlist simp) 4 9 10 13 16 19 20 21 24 25)
293 #+(or sbcl ccl cmucl ecl gcl clisp)
294 ((mlist simp) 4 9 10 13 16 20 21 24 25))
295 "rtest_antid"
296 "rtest_bffac"
297 "rtest_diff_form"
298 "rtest_grobner"
299 ((mlist simp) "rtest_finance"
300 ;; Tested with acl 10.1
301 #+allegro
302 ((mlist simp) 9 10 11))
303 "rtest_fft"
304 "rtest_rfft"
305 "rtest_wrstcse"
306 ;; ACL 10.1 cannot load stringproc as it has no (get-encoding) function.
307 #-(or ecl abcl)
308 "rtest_draw"
309 ((mlist simp) "rtest_engineering_format"
310 #+abcl
311 ((mlist simp) 6)
312 ;; Tested with acl 10.1
313 #+allegro
314 ((mlist simp) 1 6 8 10 12 14))
315 ((mlist simp) "rtest_raddenest" ((mlist simp) 123))
316 ;; This test must be last (for now). It breaks raddenest, at
317 ;; least. See bug #4170.
318 "rtest_decfp"