(scm_lognot): Rewrite using ~ and mpz_com, for directness
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
a54e06e5
KR
12003-08-23 Kevin Ryde <user42@zip.com.au>
2
430110ee
KR
3 * tests/srfi-1.test (list-copy): New tests.
4
a54e06e5
KR
5 * tests/srfi-19.test (date-week-number): Add tests.
6
b1c60217
KR
72003-08-22 Kevin Ryde <user42@zip.com.au>
8
9 * tests/numbers.test (-): Exercise bignum - inum.
10
2388d9af
KR
112003-08-17 Kevin Ryde <user42@zip.com.au>
12
13 * tests/syntax.test (while): Exercise break and continue from
14 recursive nested loops.
15
d97f9b42
KR
162003-08-14 Kevin Ryde <user42@zip.com.au>
17
18 * tests/syntax.test (while): New tests.
19
4d332f19
DH
202003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
21
22 * tests/numbers.test: Eliminated misuses of expect-fail. It
23 should only be used in cases, where guile has a known bug. It
24 should not be used in cases where an expression is expected to
25 return #f as its correct result.
26
3bcdda6a
KR
272003-08-09 Kevin Ryde <user42@zip.com.au>
28
29 * tests/srcprop.test: New file.
30 * Makefile.am (SCM_TESTS): Add it.
31
8e5b4b9e
KR
322003-07-29 Kevin Ryde <user42@zip.com.au>
33
34 * tests/srfi-1.test (concatenate, concatenate!): New tests.
35 (length+): New tests.
36
37 * tests/srfi-34.test: Check cond-expand srfi-34.
38
d7850c8d
KR
392003-07-24 Kevin Ryde <user42@zip.com.au>
40
41 * tests/numbers.test (angle): New tests.
42
b1c04fe8
KR
432003-07-18 Kevin Ryde <user42@zip.com.au>
44
45 * tests/numbers.test (*): Add complex/bignum test.
46
e7cc532b
KR
472003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
48
49 * tests/srfi-1.test (partition): Add tests.
50
e5a74c26
KR
512003-07-08 Kevin Ryde <user42@zip.com.au>
52
005d2366
KR
53 * tests/numbers.test (make-polar, magnitude): New tests.
54
e5a74c26 55 * tests/srfi-1.test (delete, delete!): Add more tests.
005d2366 56 (delete-duplicates, delete-duplicates!): New tests.
e5a74c26 57
1ebb8497
KR
582003-06-21 Kevin Ryde <user42@zip.com.au>
59
60 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
61 tests.
62
996acdb8
KR
632003-06-19 Kevin Ryde <user42@zip.com.au>
64
65 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
66 * tests/threads.test: New file, exercising parallel.
67 * Makefile.am (SCM_TESTS): Add them.
68
f2478375
KR
692003-06-07 Kevin Ryde <user42@zip.com.au>
70
71 * tests/srfi-6.test: New file.
d4d694b6 72 * Makefile.am (SCM_TESTS): Add it.
f2478375 73
f5c6ec2f
DH
742003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
75
76 * tests/chars.test: Fixed test comment. The bug that this test
77 detects was actually introduced by my patch from 2003-05-31.
78
47dbd81e
DH
792003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
80
81 * tests/chars.test: Added test, attempting to apply a character.
82 This test will only pass if the other changes that are submitted
83 together with this patch are also applied.
84
e418bd7c
KR
852003-06-05 Kevin Ryde <user42@zip.com.au>
86
87 * tests/numbers.test (logcount): Add a few more tests, to exercise
88 recent scm_logcount change.
89
90 * tests/reader.test (reading): Test bad # error message is formattable.
91
e757438d
DH
922003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
93
94 * tests/pairs.test: Added.
95
7673cf68
DH
962003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
97
98 * tests/vectors.test: Added.
99
6d63297b
DH
1002003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
101
102 * tests/guardians.test: Uses module (ice-9 weak-vector).
103
e46083d5
DH
1042003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
105
106 * lib.scm: Documented the short form for pass-if and expect-fail.
107
108 (pass-if, expect-fail): Simplified.
109
c47e2599
KR
1102003-05-30 Kevin Ryde <user42@zip.com.au>
111
112 * tests/numbers.test (max, min): Add tests involving NaNs.
113
2e945bcc
SJ
1142003-05-29 Stefan Jahn <stefan@lkcc.org>
115
116 * standalone/Makefile.am: Setup to build on mingw32.
117
42ad901d
DH
1182003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
119
120 * tests/elisp.test: Added missing quote around vector constants.
121
ddd8f927
DH
1222003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
123
124 * tests/r5rs_pitfall.test: Test 2.1 now passes.
125
59e42631
KR
1262003-05-13 Kevin Ryde <user42@zip.com.au>
127
128 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
129 combinations.
130
131 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
132
9c8721b5
KR
1332003-05-10 Kevin Ryde <user42@zip.com.au>
134
4f3deff4
KR
135 * tests/numbers.test (=, <): Add tests involving NaNs.
136
137 * tests/numbers.test (integer-length): Exercise some negatives, in
138 particular -2^n which is ...11100..00.
139
140 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
141 fitting a ulong.
142
9c8721b5
KR
143 * tests/srfi-1.test: New file, exercising take and drop.
144 * Makefile.am (SCM_TESTS): Add it.
145
d963e93f
KR
1462003-05-06 Kevin Ryde <user42@zip.com.au>
147
148 * tests/numbers.test (-): Add test for negative inum subtract bignum.
149 (logcount): New tests, exercising some negatives.
150
1b965c29
MV
1512003-05-03 Marius Vollmer <mvo@zagadka.de>
152
153 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
154 pointing us to these tests.
155
a1a5dfa8
NJ
1562003-04-30 Neil Jerram <neil@ossau.uklinux.net>
157
158 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
159
160 * tests/srfi-34.test: New file.
161
4dce3c96
DH
1622003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
163
164 * tests/syntax.test: Modified some tests to use eval when
165 providing bad syntax. Otherwise, the memoizer will report an
166 error immediately after reading the form, without even the chance
167 to get the pass-if-exception mechanism started.
168
9247b5bc
DH
1692003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
170
171 * tests/guardians.test: Added some more elaborate and
172 sophisticated tests for the guardian functionality.
173
d339981a
DH
1742003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
175
176 * tests/sort.test: Added. Both tests in that file did fail (one
177 even with a segfault) with CVS guile before the recent changes to
178 sort.c.
179
57b1d518
MD
1802003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
181
182 * tests/goops.test: Added tests for correctness of class
47cd67db
MD
183 precedence list in all basic classes and tests for eqv? and
184 equal?.
57b1d518 185
58241edc
MD
1862003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
187
188 * tests/goops.test: Added tests for class redefinition, object
189 update and active slots.
190
50d64f0d
RB
1912003-04-14 Rob Browning <rlb@defaultvalue.org>
192
193 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
194 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
195
196 * standalone/Makefile.am: change from .c.x to .x to be consistent
197 with the rest of guile.
198
dff96e95
HWN
1992003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
200
201 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
202 instead of INCLUDES
203
07921c76
RB
2042003-04-07 Rob Browning <rlb@defaultvalue.org>
205
206 * Makefile.am (SUBDIRS): add standalone.
207
208 * guile-test: added "Running test FOO" output by default. There
209 may be a good reason to remove this, but the output can be helpful
210 in determining where a failure occurred.
211
212 * standalone/test-num2integral.c: new test -- one new regression
213 check.
214
215 * standalone/test-gh.c: new test code (migrated from
216 tests/c-api/) -- a trivial start.
217
218 * standalone/test-asmobs-lib.c: new test script (migrated from
219 tests/asmobs/).
220
221 * standalone/test-asmobs: new test script.
222
223 * standalone/README: new file.
224
225 * standalone/Makefile.am: new file.
226
227 * standalone/.cvsignore: new file.
228
229 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
230
231 * tests/asmobs/README: removed (functionality is now in standalone/).
232
233 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
234 standalone/).
235
236 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
237
238 * tests/asmobs/: removed (functionality is now in standalone/).
239
240 * tests/c-api/strings.c: add a note to the source about this code
241 being unused.
242
73be1d9e
MV
2432003-04-05 Marius Vollmer <mvo@zagadka.de>
244
245 * Changed license terms to the plain LGPL thru-out.
246
122cf9a5
RB
2472003-03-24 Rob Browning <rlb@defaultvalue.org>
248
249 * tests/numbers.test: added tests (some simple) for various funcs.
250 ("odd?"): added tests.
251 ("even?"): added tests.
252 ("nan?"): added tests.
253 ("abs"): added tests.
254 ("lcm"): added tests.
255 ("number->string"): added tests.
256 ("number?"): added tests.
257 ("complex?"): added tests.
258 ("real?"): added tests.
259 ("rational?"): added tests.
260 ("integer?"): added tests.
261 ("inexact?"): added tests.
262 ("="): added tests.
263 ("zero?"): added tests.
264 ("positive?"): added tests.
265 ("negative?"): added tests.
266
267 * lib.scm (pass-if): allow really simple tests where the test code
268 is also the name like (pass-if (even? 2)).
269 (expect-fail): allow really simple tests where the test code is
270 also the test name like (expect-fail (even? 2)).
271
b80e1b5c
MV
2722003-03-19 Marius Vollmer <mvo@zagadka.de>
273
274 * tests/format.test ("format basic output"): Added test for "~F"
275 from Matthias Koeppe.
276
cbbeea66
MD
2772003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
278
279 * tests/elisp.test: Use module (ice-9 weak-vector).
280
281 * tests/weaks.test: Use module (ice-9 weak-vector).
282
b2cbe8d8
RB
2832002-12-08 Rob Browning <rlb@defaultvalue.org>
284
285 * tests/version.test: test (effective-version).
286
d2864c8a
NJ
2872002-11-06 Neil Jerram <neil@ossau.uklinux.net>
288
289 * tests/options.test: New.
290
9bc54879
RB
2912002-10-04 Rob Browning <rlb@defaultvalue.org>
292
293 * tests/numbers.test ("expt"): add tests.
294
6b61da18
MV
2952002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
296
297 * Makefile.am (dist-hook): Do not distribute CVS directories.
298 Thanks to Greg Troxel!
299
ba1b2226
HWN
3002002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
301
302 * tests/reader.test: change misc-error in read-error.
303
33e04d54
DH
3042002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
305
306 * tests/goops.test: Added tests for define-generic and
307 define-accessor.
308
9f045403
DH
3092002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
310
311 * tests/goops.test: Added tests for define-class.
312
1ee34062
MV
3132002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
314
315 * tests/numbers.test (/): Expect divison by an inexact zero to
316 yield +inf.0.
317
45845efe
MV
3182002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
319
2a7461f5
MV
320 * tests/regexp.test (regexp-substitute/global): Do not test with
321 empty regexp. Empty regexps do not work on NetBSD.
322
45845efe
MV
323 * tests/syncase.test (basic syncase macro): Added.
324
54d4ac1f
MV
3252002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
326
327 * tests/srfi-13.test (string-tokenize): Updated for fixed
328 semantics.
329
3c540af4
MV
3302002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
331
332 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
333 directories manually.
334
ecb471f9
TTN
3352002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
336
337 * guile-test (main): Handle `--flag-unresolved'. No longer set
338 exit value to #f unconditionally on UNRESOLVED results.
e383ab49 339 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
ecb471f9 340
a64e6669
NJ
3412002-02-08 Neil Jerram <neil@ossau.uklinux.net>
342
343 * tests/elisp.test: Add tests of Elisp expression evaluation.
344
bbd26b5a
NJ
3452002-01-25 Neil Jerram <neil@ossau.uklinux.net>
346
347 * tests/load.test: New test; for search-path with Elisp
348 nil-terminated lists for PATH and EXTENSIONS.
349
350 * tests/elisp.test: More tests for Scheme primitives that should
351 accept Elisp nil-terminated lists.
352
962b1f0b
NJ
3532002-01-24 Neil Jerram <neil@ossau.uklinux.net>
354
355 * tests/elisp.test: More new tests for the Elisp nil value.
356
04bb321a
NJ
3572002-01-22 Neil Jerram <neil@ossau.uklinux.net>
358
359 * Makefile.am (SCM_TESTS): Added elisp.test.
360
361 * tests/elisp.test: New file.
362
80074d77
DH
3632001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
364
365 * tests/numbers.test: Added more division by zero tests.
366
1b3a7932
DH
3672001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
368
369 * tests/numbers.test: Added division by zero tests.
370
7171f1ab
DH
3712001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
372
373 * tests/syntax.test: Added some tests, updated some others with
374 respect to recent changes in eval.c. Further, extracted test
375 cases for guile's extended set! functionality to srfi-17.test.
376
377 * tests/srfi-17.test: New file.
378
8f99e3f3
SJ
3792001-11-04 Stefan Jahn <stefan@lkcc.org>
380
381 * tests/ports.test: Run (close-port) before (delete-file) if
382 necessary/advisory.
383
2b6b5908
DH
3842001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
385
386 * tests/eval.test: Added tests for promises.
387
1a179b03
MD
3882001-10-21 Mikael Djurfeldt <mdj@linnaeus>
389
390 * lib.scm: Move module the system directives `export',
391 `export-syntax', `re-export' and `re-export-syntax' into the
392 `define-module' form. This is the recommended way of exporting
393 bindings.
394
b461abe7
DH
3952001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
396
397 * tests/syntax.test: Added test cases for 'cond =>' syntax with
398 else clause. Changed some tests and comments related to the
399 'case' form to reflect recent changes in the implementation.
400
ea6c2147
DH
4012001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
402
403 * tests/syntax.test: Added test cases for 'lambda' syntax.
404
27a22666
DH
4052001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
406
407 * tests/syntax.test: Added test cases for 'case' syntax.
408
b7d9b1cf
DH
4092001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
410
411 * tests/numbers.test: Added a test case that checks if valid
412 number strings are transformed correctly by string->number.
413
0b073f0f
RB
4142001-09-21 Rob Browning <rlb@defaultvalue.org>
415
416 * tests/numbers.test (fixnum-bit): compute dynamically.
417
418 * tests/bit-operations.test (fixnum-bit): compute dynamically.
419
95e2cd37
TTN
4202001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
421
422 * tests/getopt-long.test ("apples-blimps-catalexis example",
423 "multiple occurances"): New top-level sections.
424
569c483b
DH
4252001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
426
427 * tests/numbers.test: Made some of the patterns better readable.
428
6fdad5dc
TTN
4292001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
430
431 * tests/srfi-19.test (test-time-comparision,
432 test-time-arithmatic): New procs.
433
434 Add time comparison tests using new procs.
435 Thanks to Alex Shinn.
436
b573e744
MV
4372001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
438
439 * tests/dynamic-scope.test: New file.
440
e9313ed7
TTN
4412001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
442
443 * tests/srfi-13.test (string-for-each, string-for-each-index):
444 Add tests. (Thanks to Alex Shinn.)
445
80fdeb4e
MD
4462001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
447
448 * tests/srfi-13.test (string-map): Swapped order of string and
449 proc args to conform with the srfi. (Thanks to Alex Shinn.)
450
c3597bc4
TTN
4512001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
452
453 * tests/getopt-long.test (exception:no-such-option,
454 exception:option-does-not-support-arg,
455 exception:option-must-be-specified,
456 exception:option-must-have-arg, exception:not-enough-args):
457 New vars.
458
459 ("option-ref", "required", "specified no value, given anyway",
460 "specified arg required"): New top-level sections.
461
2f4a254a
DH
4622001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
463
464 * tests/numbers.test: Added Some syntax tests for
465 string->number.
466
284774f3
MV
4672001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
468
469 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
470 "SCM_TESTS". This has special meaning to automake. How many
471 tries left to get this right, mvo?
472
5f099933
MV
4732001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
474
475 * Makefile.am (TESTS): List tests explicitely instead of using a
476 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
477
b754e3d1
MV
4782001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
479
480 * Makefile.am: New file, to control distribution of the
481 test-suite.
482
ed9ef462
TTN
4832001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
484
485 * tests/getopt-long.test: New file.
486
9b974335
TTN
4872001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
488
489 * lib.scm (run-test-exception): Add special handling for
490 `error'-generated exceptions, which pass key `misc-error' and
491 leave messages unformatted.
492
96e30d2a
MG
4932001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
494
495 * tests/alist.test, tests/bit-operations.test,
496 tests/common-list.test, tests/environments.test, tests/eval.test,
497 tests/gc.test, tests/hooks.test, tests/import.test,
498 tests/interp.test, tests/list.test, tests/load.test,
499 tests/numbers.test, tests/ports.test, tests/r4rs.test,
500 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
501 copyright notice.
502
072ad0fe
MG
5032001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
504
505 * tests/srfi-14.test: New file.
506
22647fef
MV
5072001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
508
509 * tests/import.test: New file.
510
bdd2c6f4
DH
5112001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
512
513 * tests/goops.test: Started with some real tests.
514
0e3817d7
DH
5152001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
516
517 * guile-test: Use module (ice-9 rdelim).
518
39cb0b04
MG
5192001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
520
521 * tests/srfi-4.test: New file.
522
eb6c2de8
MV
5232001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
524
525