* tests/poe.test: New file.
[bpt/guile.git] / test-suite / ChangeLog
CommitLineData
d6e04e7c
DH
12003-10-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
2
3 * lib.scm (exception:missing-expression): New.
4
5 * tests/dynamic-scope.test, tests/eval.test,
6 tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
7 Wrap tests in module (test-suite test-<file-name without .test>),
8 following a practice that was used on a couple of files already.
9
10 * tests/dynamic-scope.test (exception:duplicate-binding,
11 exception:bad-binding): New.
12
13 * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
14 Execute syntactically wrong tests using eval. With the upcoming
15 new memoizer this is necessary in order to postpone the syntax
16 check to the actual evaluation of the syntactically wrong form.
17
18 * tests/syntax.test: Added some test cases and modified one test
19 case.
20
39a963ee
KR
212003-10-02 Kevin Ryde <user42@zip.com.au>
22
23 * tests/ports.test (call-with-output-string): Test proc closing port.
24
8aa28a91
DH
252003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
26
27 * guile-test: Wrapped in module (test-suite guile-test).
28
29 (main data-file-name test-file-name): Exported.
30
31 ((guile-user)::main): New function, wrapper for function
32 (test-suite guile-test)::main.
33
34 * tests/load.test: Wrapped in module (test-suite test-load).
35
36 * tests/ports.test: Wrapped in module (test-suite test-ports).
37
38 * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
39 Added comments about the required structure of the file itself,
40 since it is subject to some tests. Removed some now unnecessary
41 undefine operations.
42
43 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
44
518a07ad
KR
452003-09-19 Kevin Ryde <user42@zip.com.au>
46
47 * tests/popen.test: New file.
48 * Makefile.am (SCM_TESTS): Add it.
49
47ae1f0e
DH
502003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
51
52 * tests/numbers.test (equal?): Added tests.
53
54 * tests/numbers.test (=): Fixed and added some bignum related
55 tests.
56
0f008a15
KR
572003-08-30 Kevin Ryde <user42@zip.com.au>
58
59 * tests/numbers.test (logcount): Add tests.
60
a54e06e5
KR
612003-08-23 Kevin Ryde <user42@zip.com.au>
62
430110ee
KR
63 * tests/srfi-1.test (list-copy): New tests.
64
a54e06e5
KR
65 * tests/srfi-19.test (date-week-number): Add tests.
66
b1c60217
KR
672003-08-22 Kevin Ryde <user42@zip.com.au>
68
69 * tests/numbers.test (-): Exercise bignum - inum.
70
2388d9af
KR
712003-08-17 Kevin Ryde <user42@zip.com.au>
72
73 * tests/syntax.test (while): Exercise break and continue from
74 recursive nested loops.
75
d97f9b42
KR
762003-08-14 Kevin Ryde <user42@zip.com.au>
77
78 * tests/syntax.test (while): New tests.
79
4d332f19
DH
802003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
81
82 * tests/numbers.test: Eliminated misuses of expect-fail. It
83 should only be used in cases, where guile has a known bug. It
84 should not be used in cases where an expression is expected to
85 return #f as its correct result.
86
3bcdda6a
KR
872003-08-09 Kevin Ryde <user42@zip.com.au>
88
89 * tests/srcprop.test: New file.
90 * Makefile.am (SCM_TESTS): Add it.
91
8e5b4b9e
KR
922003-07-29 Kevin Ryde <user42@zip.com.au>
93
94 * tests/srfi-1.test (concatenate, concatenate!): New tests.
95 (length+): New tests.
96
97 * tests/srfi-34.test: Check cond-expand srfi-34.
98
d7850c8d
KR
992003-07-24 Kevin Ryde <user42@zip.com.au>
100
101 * tests/numbers.test (angle): New tests.
102
b1c04fe8
KR
1032003-07-18 Kevin Ryde <user42@zip.com.au>
104
105 * tests/numbers.test (*): Add complex/bignum test.
106
e7cc532b
KR
1072003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
108
109 * tests/srfi-1.test (partition): Add tests.
110
e5a74c26
KR
1112003-07-08 Kevin Ryde <user42@zip.com.au>
112
005d2366
KR
113 * tests/numbers.test (make-polar, magnitude): New tests.
114
e5a74c26 115 * tests/srfi-1.test (delete, delete!): Add more tests.
005d2366 116 (delete-duplicates, delete-duplicates!): New tests.
e5a74c26 117
1ebb8497
KR
1182003-06-21 Kevin Ryde <user42@zip.com.au>
119
120 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
121 tests.
122
996acdb8
KR
1232003-06-19 Kevin Ryde <user42@zip.com.au>
124
125 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
126 * tests/threads.test: New file, exercising parallel.
127 * Makefile.am (SCM_TESTS): Add them.
128
f2478375
KR
1292003-06-07 Kevin Ryde <user42@zip.com.au>
130
131 * tests/srfi-6.test: New file.
d4d694b6 132 * Makefile.am (SCM_TESTS): Add it.
f2478375 133
f5c6ec2f
DH
1342003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
135
136 * tests/chars.test: Fixed test comment. The bug that this test
137 detects was actually introduced by my patch from 2003-05-31.
138
47dbd81e
DH
1392003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
140
141 * tests/chars.test: Added test, attempting to apply a character.
142 This test will only pass if the other changes that are submitted
143 together with this patch are also applied.
144
e418bd7c
KR
1452003-06-05 Kevin Ryde <user42@zip.com.au>
146
147 * tests/numbers.test (logcount): Add a few more tests, to exercise
148 recent scm_logcount change.
149
150 * tests/reader.test (reading): Test bad # error message is formattable.
151
e757438d
DH
1522003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
153
154 * tests/pairs.test: Added.
155
7673cf68
DH
1562003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
157
158 * tests/vectors.test: Added.
159
6d63297b
DH
1602003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
161
162 * tests/guardians.test: Uses module (ice-9 weak-vector).
163
e46083d5
DH
1642003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
165
166 * lib.scm: Documented the short form for pass-if and expect-fail.
167
168 (pass-if, expect-fail): Simplified.
169
c47e2599
KR
1702003-05-30 Kevin Ryde <user42@zip.com.au>
171
172 * tests/numbers.test (max, min): Add tests involving NaNs.
173
2e945bcc
SJ
1742003-05-29 Stefan Jahn <stefan@lkcc.org>
175
176 * standalone/Makefile.am: Setup to build on mingw32.
177
42ad901d
DH
1782003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
179
180 * tests/elisp.test: Added missing quote around vector constants.
181
ddd8f927
DH
1822003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
183
184 * tests/r5rs_pitfall.test: Test 2.1 now passes.
185
59e42631
KR
1862003-05-13 Kevin Ryde <user42@zip.com.au>
187
188 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
189 combinations.
190
191 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
192
9c8721b5
KR
1932003-05-10 Kevin Ryde <user42@zip.com.au>
194
4f3deff4
KR
195 * tests/numbers.test (=, <): Add tests involving NaNs.
196
197 * tests/numbers.test (integer-length): Exercise some negatives, in
198 particular -2^n which is ...11100..00.
199
200 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
201 fitting a ulong.
202
9c8721b5
KR
203 * tests/srfi-1.test: New file, exercising take and drop.
204 * Makefile.am (SCM_TESTS): Add it.
205
d963e93f
KR
2062003-05-06 Kevin Ryde <user42@zip.com.au>
207
208 * tests/numbers.test (-): Add test for negative inum subtract bignum.
209 (logcount): New tests, exercising some negatives.
210
1b965c29
MV
2112003-05-03 Marius Vollmer <mvo@zagadka.de>
212
213 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
214 pointing us to these tests.
215
a1a5dfa8
NJ
2162003-04-30 Neil Jerram <neil@ossau.uklinux.net>
217
218 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
219
220 * tests/srfi-34.test: New file.
221
4dce3c96
DH
2222003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
223
224 * tests/syntax.test: Modified some tests to use eval when
225 providing bad syntax. Otherwise, the memoizer will report an
226 error immediately after reading the form, without even the chance
227 to get the pass-if-exception mechanism started.
228
9247b5bc
DH
2292003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
230
231 * tests/guardians.test: Added some more elaborate and
232 sophisticated tests for the guardian functionality.
233
d339981a
DH
2342003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
235
236 * tests/sort.test: Added. Both tests in that file did fail (one
237 even with a segfault) with CVS guile before the recent changes to
238 sort.c.
239
57b1d518
MD
2402003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
241
242 * tests/goops.test: Added tests for correctness of class
47cd67db
MD
243 precedence list in all basic classes and tests for eqv? and
244 equal?.
57b1d518 245
58241edc
MD
2462003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
247
248 * tests/goops.test: Added tests for class redefinition, object
249 update and active slots.
250
50d64f0d
RB
2512003-04-14 Rob Browning <rlb@defaultvalue.org>
252
253 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
254 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
255
256 * standalone/Makefile.am: change from .c.x to .x to be consistent
257 with the rest of guile.
258
dff96e95
HWN
2592003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
260
261 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
262 instead of INCLUDES
263
07921c76
RB
2642003-04-07 Rob Browning <rlb@defaultvalue.org>
265
266 * Makefile.am (SUBDIRS): add standalone.
267
268 * guile-test: added "Running test FOO" output by default. There
269 may be a good reason to remove this, but the output can be helpful
270 in determining where a failure occurred.
271
272 * standalone/test-num2integral.c: new test -- one new regression
273 check.
274
275 * standalone/test-gh.c: new test code (migrated from
276 tests/c-api/) -- a trivial start.
277
278 * standalone/test-asmobs-lib.c: new test script (migrated from
279 tests/asmobs/).
280
281 * standalone/test-asmobs: new test script.
282
283 * standalone/README: new file.
284
285 * standalone/Makefile.am: new file.
286
287 * standalone/.cvsignore: new file.
288
289 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
290
291 * tests/asmobs/README: removed (functionality is now in standalone/).
292
293 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
294 standalone/).
295
296 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
297
298 * tests/asmobs/: removed (functionality is now in standalone/).
299
300 * tests/c-api/strings.c: add a note to the source about this code
301 being unused.
302
73be1d9e
MV
3032003-04-05 Marius Vollmer <mvo@zagadka.de>
304
305 * Changed license terms to the plain LGPL thru-out.
306
122cf9a5
RB
3072003-03-24 Rob Browning <rlb@defaultvalue.org>
308
309 * tests/numbers.test: added tests (some simple) for various funcs.
310 ("odd?"): added tests.
311 ("even?"): added tests.
312 ("nan?"): added tests.
313 ("abs"): added tests.
314 ("lcm"): added tests.
315 ("number->string"): added tests.
316 ("number?"): added tests.
317 ("complex?"): added tests.
318 ("real?"): added tests.
319 ("rational?"): added tests.
320 ("integer?"): added tests.
321 ("inexact?"): added tests.
322 ("="): added tests.
323 ("zero?"): added tests.
324 ("positive?"): added tests.
325 ("negative?"): added tests.
326
327 * lib.scm (pass-if): allow really simple tests where the test code
328 is also the name like (pass-if (even? 2)).
329 (expect-fail): allow really simple tests where the test code is
330 also the test name like (expect-fail (even? 2)).
331
b80e1b5c
MV
3322003-03-19 Marius Vollmer <mvo@zagadka.de>
333
334 * tests/format.test ("format basic output"): Added test for "~F"
335 from Matthias Koeppe.
336
cbbeea66
MD
3372003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
338
339 * tests/elisp.test: Use module (ice-9 weak-vector).
340
341 * tests/weaks.test: Use module (ice-9 weak-vector).
342
b2cbe8d8
RB
3432002-12-08 Rob Browning <rlb@defaultvalue.org>
344
345 * tests/version.test: test (effective-version).
346
d2864c8a
NJ
3472002-11-06 Neil Jerram <neil@ossau.uklinux.net>
348
349 * tests/options.test: New.
350
9bc54879
RB
3512002-10-04 Rob Browning <rlb@defaultvalue.org>
352
353 * tests/numbers.test ("expt"): add tests.
354
6b61da18
MV
3552002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
356
357 * Makefile.am (dist-hook): Do not distribute CVS directories.
358 Thanks to Greg Troxel!
359
ba1b2226
HWN
3602002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
361
362 * tests/reader.test: change misc-error in read-error.
363
33e04d54
DH
3642002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
365
366 * tests/goops.test: Added tests for define-generic and
367 define-accessor.
368
9f045403
DH
3692002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
370
371 * tests/goops.test: Added tests for define-class.
372
1ee34062
MV
3732002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
374
375 * tests/numbers.test (/): Expect divison by an inexact zero to
376 yield +inf.0.
377
45845efe
MV
3782002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
379
2a7461f5
MV
380 * tests/regexp.test (regexp-substitute/global): Do not test with
381 empty regexp. Empty regexps do not work on NetBSD.
382
45845efe
MV
383 * tests/syncase.test (basic syncase macro): Added.
384
54d4ac1f
MV
3852002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
386
387 * tests/srfi-13.test (string-tokenize): Updated for fixed
388 semantics.
389
3c540af4
MV
3902002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
391
392 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
393 directories manually.
394
ecb471f9
TTN
3952002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
396
397 * guile-test (main): Handle `--flag-unresolved'. No longer set
398 exit value to #f unconditionally on UNRESOLVED results.
e383ab49 399 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
ecb471f9 400
a64e6669
NJ
4012002-02-08 Neil Jerram <neil@ossau.uklinux.net>
402
403 * tests/elisp.test: Add tests of Elisp expression evaluation.
404
bbd26b5a
NJ
4052002-01-25 Neil Jerram <neil@ossau.uklinux.net>
406
407 * tests/load.test: New test; for search-path with Elisp
408 nil-terminated lists for PATH and EXTENSIONS.
409
410 * tests/elisp.test: More tests for Scheme primitives that should
411 accept Elisp nil-terminated lists.
412
962b1f0b
NJ
4132002-01-24 Neil Jerram <neil@ossau.uklinux.net>
414
415 * tests/elisp.test: More new tests for the Elisp nil value.
416
04bb321a
NJ
4172002-01-22 Neil Jerram <neil@ossau.uklinux.net>
418
419 * Makefile.am (SCM_TESTS): Added elisp.test.
420
421 * tests/elisp.test: New file.
422
80074d77
DH
4232001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
424
425 * tests/numbers.test: Added more division by zero tests.
426
1b3a7932
DH
4272001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
428
429 * tests/numbers.test: Added division by zero tests.
430
7171f1ab
DH
4312001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
432
433 * tests/syntax.test: Added some tests, updated some others with
434 respect to recent changes in eval.c. Further, extracted test
435 cases for guile's extended set! functionality to srfi-17.test.
436
437 * tests/srfi-17.test: New file.
438
8f99e3f3
SJ
4392001-11-04 Stefan Jahn <stefan@lkcc.org>
440
441 * tests/ports.test: Run (close-port) before (delete-file) if
442 necessary/advisory.
443
2b6b5908
DH
4442001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
445
446 * tests/eval.test: Added tests for promises.
447
1a179b03
MD
4482001-10-21 Mikael Djurfeldt <mdj@linnaeus>
449
450 * lib.scm: Move module the system directives `export',
451 `export-syntax', `re-export' and `re-export-syntax' into the
452 `define-module' form. This is the recommended way of exporting
453 bindings.
454
b461abe7
DH
4552001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
456
457 * tests/syntax.test: Added test cases for 'cond =>' syntax with
458 else clause. Changed some tests and comments related to the
459 'case' form to reflect recent changes in the implementation.
460
ea6c2147
DH
4612001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
462
463 * tests/syntax.test: Added test cases for 'lambda' syntax.
464
27a22666
DH
4652001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
466
467 * tests/syntax.test: Added test cases for 'case' syntax.
468
b7d9b1cf
DH
4692001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
470
471 * tests/numbers.test: Added a test case that checks if valid
472 number strings are transformed correctly by string->number.
473
0b073f0f
RB
4742001-09-21 Rob Browning <rlb@defaultvalue.org>
475
476 * tests/numbers.test (fixnum-bit): compute dynamically.
477
478 * tests/bit-operations.test (fixnum-bit): compute dynamically.
479
95e2cd37
TTN
4802001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
481
482 * tests/getopt-long.test ("apples-blimps-catalexis example",
483 "multiple occurances"): New top-level sections.
484
569c483b
DH
4852001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
486
487 * tests/numbers.test: Made some of the patterns better readable.
488
6fdad5dc
TTN
4892001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
490
491 * tests/srfi-19.test (test-time-comparision,
492 test-time-arithmatic): New procs.
493
494 Add time comparison tests using new procs.
495 Thanks to Alex Shinn.
496
b573e744
MV
4972001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
498
499 * tests/dynamic-scope.test: New file.
500
e9313ed7
TTN
5012001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
502
503 * tests/srfi-13.test (string-for-each, string-for-each-index):
504 Add tests. (Thanks to Alex Shinn.)
505
80fdeb4e
MD
5062001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
507
508 * tests/srfi-13.test (string-map): Swapped order of string and
509 proc args to conform with the srfi. (Thanks to Alex Shinn.)
510
c3597bc4
TTN
5112001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
512
513 * tests/getopt-long.test (exception:no-such-option,
514 exception:option-does-not-support-arg,
515 exception:option-must-be-specified,
516 exception:option-must-have-arg, exception:not-enough-args):
517 New vars.
518
519 ("option-ref", "required", "specified no value, given anyway",
520 "specified arg required"): New top-level sections.
521
2f4a254a
DH
5222001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
523
524 * tests/numbers.test: Added Some syntax tests for
525 string->number.
526
284774f3
MV
5272001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
528
529 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
530 "SCM_TESTS". This has special meaning to automake. How many
531 tries left to get this right, mvo?
532
5f099933
MV
5332001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
534
535 * Makefile.am (TESTS): List tests explicitely instead of using a
536 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
537
b754e3d1
MV
5382001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
539
540 * Makefile.am: New file, to control distribution of the
541 test-suite.
542
ed9ef462
TTN
5432001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
544
545 * tests/getopt-long.test: New file.
546
9b974335
TTN
5472001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
548
549 * lib.scm (run-test-exception): Add special handling for
550 `error'-generated exceptions, which pass key `misc-error' and
551 leave messages unformatted.
552
96e30d2a
MG
5532001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
554
555 * tests/alist.test, tests/bit-operations.test,
556 tests/common-list.test, tests/environments.test, tests/eval.test,
557 tests/gc.test, tests/hooks.test, tests/import.test,
558 tests/interp.test, tests/list.test, tests/load.test,
559 tests/numbers.test, tests/ports.test, tests/r4rs.test,
560 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
561 copyright notice.
562
072ad0fe
MG
5632001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
564
565 * tests/srfi-14.test: New file.
566
22647fef
MV
5672001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
568
569 * tests/import.test: New file.
570
bdd2c6f4
DH
5712001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
572
573 * tests/goops.test: Started with some real tests.
574
0e3817d7
DH
5752001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
576
577 * guile-test: Use module (ice-9 rdelim).
578
39cb0b04
MG
5792001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
580
581 * tests/srfi-4.test: New file.
582
eb6c2de8
MV
5832001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
584
585