(filter-map): More tests.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
e96f5ee7
KR
12005-03-18 Kevin Ryde <user42@zip.com.au>
2
3 * tests/srfi-17.test: A few more tests from the 1.6 branch.
4
44981fcb
KR
52005-03-16 Kevin Ryde <user42@zip.com.au>
6
56b92514
KR
7 * tests/srfi-1.test (drop-right, partition!, split-at, split-at!,
8 take-right): New tests.
44981fcb 9
b1d5e700
KR
102005-03-14 Kevin Ryde <user42@zip.com.au>
11
12 * tests/srfi-1.test (find, find-tail, lset-union): New tests.
13 (lset-adjoin): Corrections to some tests.
14
938d9909
KR
152005-03-13 Kevin Ryde <user42@zip.com.au>
16
17 * tests/numbers.test (=): Exercise inum/flonum cases that used to
18 round on 64-bit systems.
19
20 * tests/numbers.test (logior): New tests, exercising negative bignums
21 reducing to inum.
22
23 * tests/srfi-60.test: New file.
24 * Makefile.am (SCM_TESTS): Add it.
25
a81b8618
MV
262005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
27
28 * tests/threads.test: Only test when 'threads are provided.
29
57491e85
KR
302005-02-21 Kevin Ryde <user42@zip.com.au>
31
32 * tests/numbers.test (string->number): Exercise polar form with
33 invalid angle.
34
85c981f6
KR
352005-02-18 Kevin Ryde <user42@zip.com.au>
36
37 * tests/srfi-1.test (lset-adjoin): Amend tests to expect duplicates
38 among args cast out.
39
f7fb2f39
RB
402005-02-12 Rob Browning <rlb@defaultvalue.org>
41
42 * standalone/test-require-extension: new test script.
43
44 * standalone/Makefile.am (check_SCRIPTS): add test-require-extension.
45 (TESTS): add test-require-extension.
46
3087a981
KR
472005-02-12 Kevin Ryde <user42@zip.com.au>
48
49 * tests/srfi-1.test (reduce, reduce-right): New tests.
50
8ff01742
KR
512005-02-11 Kevin Ryde <user42@zip.com.au>
52
53 * tests/fractions.test (ash): Remove tests of ash on fractions, not
54 supported after scm_ash rewrite.
55
cbec54af
KR
562005-02-04 Kevin Ryde <user42@zip.com.au>
57
58 * tests/srfi-1.test (list=): New tests.
59
38c3534c
KR
602005-01-29 Kevin Ryde <user42@zip.com.au>
61
62 * tests/numbers.test (ash): New tests.
63
83743da0 64 * tests/srfi-1.test (lset-adjoin, remove, remove!): New tests.
38c3534c 65
4d38e6f0
KR
662005-01-28 Kevin Ryde <user42@zip.com.au>
67
68 * tests/syntax.test (while): Tests running in empty environment are
69 now "unresolved" due to workaround in while implementation.
70
edfc07b3
KR
712005-01-24 Kevin Ryde <user42@zip.com.au>
72
be1b896c
KR
73 * standalone/test-unwind.c (check_cont): Cast rewindable to long, to
74 avoid warning from gcc 3.4 on 64-bit systems about casting int
75 (32-bits) to pointer (64-bits).
76
edfc07b3
KR
77 * tests/srfi-1.test (lset=, member): New tests.
78
2a1ee5cd
KR
792005-01-12 Kevin Ryde <user42@zip.com.au>
80
81 * tests/srfi-39.test (current-input-port, current-output-port,
82 current-error-port): New tests.
83
74c58fce
MV
842005-01-10 Marius Vollmer <mvo@zagadka.de>
85
86 * tests/unif.test (exception:wrong-num-indices): New, use it for
87 array-set! tests with wrong number of indices.
88
f01fe441
MV
892005-01-07 Marius Vollmer <mvo@zagadka.de>
90
91 * tests/srfi-4.test: Use (test-suite lib) module.
92
2aaf5726
MV
932005-01-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
94
95 * tests/unif.test (have-llvect?): Removed, Scheme code will always
96 have u64 and s64 uniform vectors.
97
34ae52fc
MV
982005-01-05 Marius Vollmer <mvo@zagadka.de>
99
100 * tests/unif.test: Use *unspecified* instead of #f to get an
101 uninitialized array.
102
f1fd6418
KR
1032005-01-04 Kevin Ryde <user42@zip.com.au>
104
105 * tests/ramap.test: New file, test array-map!.
106 * Makefile.am (SCM_TESTS): Add it.
107
5be5e699
MV
1082005-01-02 Marius Vollmer <mvo@zagadka.de>
109
110 * tests/unif.test: Rewritten for new 'typed' approach to uniform
111 arrays.
112
113 * tests/sort.test: New tests, especially for sorting non-contigous
114 and negative-incrementing vectors.
115
af113331
KR
1162005-01-02 Kevin Ryde <user42@zip.com.au>
117
118 * tests/srfi-39.test: Use define-module to keep bindings from
119 subsequent tests, use test-suite lib for stand-alone checking.
120
121 * Makefile.am (SCM_TESTS): Add srfi-39.test.
122
d241f86a
NJ
1232004-12-27 Neil Jerram <neil@ossau.uklinux.net>
124
125 * tests/continuations.test (continuations): Moved continuation /
126 stack tests here, and added save and restore of debug options.
127
49c51610
MV
1282004-12-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
129
130 * tests/eval.test: News tests for making stacks from
131 continuations. From Neil Jerram.
132
86347b2b
KR
1332004-12-10 Kevin Ryde <user42@zip.com.au>
134
135 * tests/socket.test (inet-pton): New tests.
136
6d7db381
KR
1372004-12-06 Kevin Ryde <user42@zip.com.au>
138
b9e1ef08
KR
139 * tests/srfi-1.test (alist-copy, alist-delete, break, span): New
140 tests.
6d7db381 141
b8024707
KR
1422004-12-05 Kevin Ryde <user42@zip.com.au>
143
144 * tests/srfi-1.test (append-map, filter-map): New tests.
145
d550e35f
MV
1462004-11-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
147
148 * tests/unif.test: Replaced uniform-array-set1! with just
149 array-set!. Do not check improper index lists, which can't arise
150 with uarray-set!. Use "#s16()" instead of "#h()".
151
bb9f50ae
MV
1522004-10-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
153
154 * tests/unif.test: Removed tests that tried to store a character
155 into a byte vector, which no longer works. Characters are not
156 bytes.
157
c454c4e6
DH
1582004-10-03 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
159
160 * tests/syntax.test: Added tests for unmemoization.
161
6a0813c3
MV
1622004-09-30 Marius Vollmer <marius.vollmer@uni-dortmund.de>
163
164 * tests/strings.test (string-set!): Explicitely construct
165 read-only string. String literals are not yet read-only.
166
818deb11
MV
1672004-09-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
168
169 * tests/unif.test (array-equal?): New test.
170
d748089e
KR
1712004-09-29 Kevin Ryde <user42@zip.com.au>
172
173 * tests/regexp.test (match:string): New tests.
174
e5c2d5c8
KR
1752004-09-26 Kevin Ryde <user42@zip.com.au>
176
177 * tests/optargs.test (let-keywords, let-keywords*, let-optional,
178 let-optional*): Add tests of internal defines when no bindings.
179
effad639
MV
1802004-09-25 Marius Vollmer <mvo@zagadka.de>
181
182 * standalone/Makefile.am (AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
183 instead of LDFLAGS; the latter is a user variable.
184
ad7de4b8
MV
1852004-09-24 Marius Vollmer <mvo@zagadka.de>
186
187 * standalone/Makefile.am (test_cflags, LDFLAGS): Include
188 GUILE_CFLAGS.
189
c9fedf8a
MV
1902004-09-23 Marius Vollmer <mvo@zagadka.de>
191
192 * lib.scm (exception:out-of-range, exception:wrong-type-arg):
193 Accept new wording.
194
77d0383a
MV
1952004-09-22 Marius Vollmer <mvo@zagadka.de>
196
197 * tests/ports.test ("string ports"): Copy string literal so that
198 it can be modified.
199 * tests/srfi-13.test ("string-copy!"): Likewise.
200 * tests/strings.test ("substring/shared"): Likewise.
201
1c923ba7
KR
2022004-09-09 Kevin Ryde <user42@zip.com.au>
203
204 * tests/streams.test: New file.
205
0b49c645
MV
2062004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
207
208 * tests/fractions.test: Don't expect (expt 1/2 2.0) to yield an
209 exact result, use (expt 1/2 2) instead.
210
05414844
KR
2112004-09-08 Kevin Ryde <user42@zip.com.au>
212
213 * tests/ports.test (port-column): Further tests, of new \a \b \r.
214
5de12658
KR
2152004-09-07 Kevin Ryde <user42@zip.com.au>
216
217 * tests/numbers.test (integer-expt): New tests, of infinite exponents.
218 (integer?): Exercise nan and +/-inf.
219
220 * tests/time.test (gmtime, strptime): New tests, but unresolved.
221 (internal-time-units-per-second): New test.
222
df47ddf0
KR
2232004-09-02 Kevin Ryde <user42@zip.com.au>
224
225 * tests/format.test (~@d): New tests.
b8d95267 226 New tests of excess arguments now ignored.
df47ddf0 227
7dd381c5
KR
2282004-09-01 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Kevin Ryde <user42@zip.com.au>
229
230 * tests/gc.test: Exercise record in weak-values hash table, exposing a
231 problem in 1.6.4 gc, but believed fixed by other changes in the head.
232
d9eb2d67
MV
2332004-08-27 Marius Vollmer <marius.vollmer@uni-dortmund.de>
234
235 * tests/srfi-13.test (module-peek): Removed, this kluge is no
236 longer necessary.
237
c581203a
KR
2382004-08-27 Kevin Ryde <user42@zip.com.au>
239
240 * tests/regexp.test (regexp-quote): New tests.
241
3fa36d58
KR
242 * tests/srfi-31.test: Use define-module to keep bindings out of
243 further tests. Use-module (test-suite lib) for stand-alone operation.
244 (rec): Exercise bad args.
245
4b0ad1f4
KR
2462004-08-25 Kevin Ryde <user42@zip.com.au>
247
248 * tests/and-let-star.test: More tests, in particular exercise #t
249 result on empty body.
250
c5080b51
MV
2512004-08-25 Marius Vollmer <mvo@zagadka.de>
252
253 * tests/strings.test: Two more tests for double indirect substring
254 modification.
255
5e466273
MV
2562004-08-23 Marius Vollmer <marius.vollmer@uni-dortmund.de>
257
258 * lib.scm (exception:used-before-define): New.
259 * tests/syntax.test ("letrec"): Use it.
260
d4f76919
KR
2612004-08-20 Kevin Ryde <user42@zip.com.au>
262
263 * tests/posix.test (mkstemp!): New tests.
264
cf3dd949
MV
2652004-08-20 Marius Vollmer <mvo@zagadka.de>
266
267 * tests/strings.test: Two tests for substring/shared. Also, use
268 (test-suite lib).
269
b2988f46
MV
2702004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
271
272 * standalone/test-conversion.c, standalone/test-gh.c,
273 standalone/test-unwind.c: Avoid the use of discouraged or
274 deprecated things.
275
b1fbeb53
KR
2762004-08-18 Kevin Ryde <user42@zip.com.au>
277
a158acd1
KR
278 * tests/and-let-star.test, tests/arbiters.test, tests/receive.test:
279 New files.
280 * Makefile.am (SCM_TESTS): Add them.
281
52d1e968
KR
282 * tests/fractions.test (fractions): Correction, equal? 3/4 .75 should
283 be #f, according to R5RS.
284
bc97364a
MV
2852004-08-15 Marius Vollmer <mvo@zagadka.de>
286
287 * tests/srfi-39.test: New, from Jose A Ortega Ruiz. Thanks!
288
3ff0e986
KR
2892004-08-14 Kevin Ryde <user42@zip.com.au>
290
291 * tests/srfi-13.test (string-any, string-every): Exercise char and
292 charset predicate cases.
293
8d3fd10b
MV
2942004-08-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
295
44825fff
MV
296 * standalone/test-conversion.c (test_locale_strings): New.
297
8d3fd10b
MV
298 * standalone/test-round.c: Replaced all uses of scm_round with
299 scm_c_round.
300
636d4be5
KR
3012004-08-09 Kevin Ryde <user42@zip.com.au>
302
303 * tests/slib.test: New file.
304 * Makefile.am (SCM_TESTS): Add it.
305
bcb88c93
KR
3062004-08-06 Kevin Ryde <user42@zip.com.au>
307
308 * tests/unif.test (array-set!): Exercise byte array range checks.
309 (uniform-vector-ref): Exercise byte returns.
8f094b97 310 (array-fill!): Exercise byte range and type checks.
bcb88c93 311
759aa8f9
MV
3122004-08-03 Marius Vollmer <marius.vollmer@uni-dortmund.de>
313
314 * standalone/test-num2integral.c: Only perform the tests when the
315 disabled features are enabled.
316
317 * standalone/test-conversion.c (test_to_double, test_from_double):
318 New tests.
319
71234d0c
KR
3202004-08-02 Kevin Ryde <user42@zip.com.au>
321
322 * tests/srfi-13.test (string-every): Check empty string case.
323
58f28989
KR
3242004-07-31 Kevin Ryde <user42@zip.com.au>
325
326 * tests/filesys.test: New file, exercising copy-file.
327 * Makefile.am (SCM_TESTS): Add it.
328
315158a8
MV
3292004-07-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
330
331 * standalone/test-conversion.c: Many more tests for the integer
332 conversion functions.
333
081c1b24
KR
3342004-07-28 Kevin Ryde <user42@zip.com.au>
335
336 * tests/regexp.test (make-regexp): Exercise flags args validation.
337
32b435f2
KR
338 * tests/unif.test (array-set!): Exercise svect value range check.
339
6364df34
KR
3402004-07-24 Kevin Ryde <user42@zip.com.au>
341
342 * tests/common-list.test: Use define-module, to as not to import
343 common-list into subsequent tests (eg. srfi-1 where `every' provokes a
344 warning).
345
346 * tests/srfi-19.test, tests/srfi-34.test: Use #:duplicates (last) to
347 suppress warnings about current-time and raise replacing core bindings.
348
ae13e8e1
KR
3492004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
350
351 * tests/format.test (~{): Test no arbitrary iteration limit.
352
0523f1c0
MV
3532004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
354
355 * standalone/test-conversion.c (test_is_signed_integer,
356 test_is_unsigned_integer): Expect inexact integers to fail.
357
677104a6
KR
3582004-07-10 Kevin Ryde <user42@zip.com.au>
359
360 * tests/hash.test: New file.
361 * Makefile.am (SCM_TESTS): Add it.
362
aacc8318
MV
3632004-07-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
364
365 * standalone/test-unwind.c: Use scm_from_int instead of
366 SCM_MAKINUM and scm_is_eq instead SCM_EQ_P.
367
c9eb03bb
MV
3682004-07-07 Marius Vollmer <marius.vollmer@uni-dortmund.de>
369
370 * standalone/test-conversion.c: Don't define SCM_T_INTMAX_MIN,
371 etc, they are now provided by libuile.h.
372 (test_int_sizes): New.
373
9b5eee30
MV
3742004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
375
376 * standalone/test-num2integral.c, standalone/test-unwind.c:
377 Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
378 SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
379 scm_from_bool, and scm_is_bool, respectively.
380
381 * standalone/Makefile.am: Added test-conversion to the TESTS.
382
383 * standalone/test-conversion.c: New file.
384
6293838c
RB
3852004-06-20 Rob Browning <rlb@defaultvalue.org>
386
387 * tests/srfi-31.test: new test for SRFI-31.
388
389 * Makefile.am (SCM_TESTS): add tests/srfi-31.scm.
390
c10b894e
MV
3912004-06-15 Marius Vollmer <marius.vollmer@uni-dortmund.de>
392
393 * tests/numbers.test (number->string): Some results might differ
394 between versions of Guile compiled optimized and unoptimized.
395 Both results are accepted now.
396
aa498d0c
DH
3972004-05-29 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
398
399 * tests/syntax.test: Added various tests to check that
400 unmemoization works correctly.
401
845087a4
KR
4022004-05-30 Kevin Ryde <user42@zip.com.au>
403
404 * lib.scm (exception:numerical-overflow): New define.
405 * tests/numbers.test (modulo-expt): Use it and
406 exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
407