(String Ports): In call-with-output-string, note proc
[bpt/guile.git] / test-suite / ChangeLog
1 2003-10-02 Kevin Ryde <user42@zip.com.au>
2
3 * tests/ports.test (call-with-output-string): Test proc closing port.
4
5 2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
6
7 * guile-test: Wrapped in module (test-suite guile-test).
8
9 (main data-file-name test-file-name): Exported.
10
11 ((guile-user)::main): New function, wrapper for function
12 (test-suite guile-test)::main.
13
14 * tests/load.test: Wrapped in module (test-suite test-load).
15
16 * tests/ports.test: Wrapped in module (test-suite test-ports).
17
18 * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
19 Added comments about the required structure of the file itself,
20 since it is subject to some tests. Removed some now unnecessary
21 undefine operations.
22
23 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
24
25 2003-09-19 Kevin Ryde <user42@zip.com.au>
26
27 * tests/popen.test: New file.
28 * Makefile.am (SCM_TESTS): Add it.
29
30 2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
31
32 * tests/numbers.test (equal?): Added tests.
33
34 * tests/numbers.test (=): Fixed and added some bignum related
35 tests.
36
37 2003-08-30 Kevin Ryde <user42@zip.com.au>
38
39 * tests/numbers.test (logcount): Add tests.
40
41 2003-08-23 Kevin Ryde <user42@zip.com.au>
42
43 * tests/srfi-1.test (list-copy): New tests.
44
45 * tests/srfi-19.test (date-week-number): Add tests.
46
47 2003-08-22 Kevin Ryde <user42@zip.com.au>
48
49 * tests/numbers.test (-): Exercise bignum - inum.
50
51 2003-08-17 Kevin Ryde <user42@zip.com.au>
52
53 * tests/syntax.test (while): Exercise break and continue from
54 recursive nested loops.
55
56 2003-08-14 Kevin Ryde <user42@zip.com.au>
57
58 * tests/syntax.test (while): New tests.
59
60 2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
61
62 * tests/numbers.test: Eliminated misuses of expect-fail. It
63 should only be used in cases, where guile has a known bug. It
64 should not be used in cases where an expression is expected to
65 return #f as its correct result.
66
67 2003-08-09 Kevin Ryde <user42@zip.com.au>
68
69 * tests/srcprop.test: New file.
70 * Makefile.am (SCM_TESTS): Add it.
71
72 2003-07-29 Kevin Ryde <user42@zip.com.au>
73
74 * tests/srfi-1.test (concatenate, concatenate!): New tests.
75 (length+): New tests.
76
77 * tests/srfi-34.test: Check cond-expand srfi-34.
78
79 2003-07-24 Kevin Ryde <user42@zip.com.au>
80
81 * tests/numbers.test (angle): New tests.
82
83 2003-07-18 Kevin Ryde <user42@zip.com.au>
84
85 * tests/numbers.test (*): Add complex/bignum test.
86
87 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
88
89 * tests/srfi-1.test (partition): Add tests.
90
91 2003-07-08 Kevin Ryde <user42@zip.com.au>
92
93 * tests/numbers.test (make-polar, magnitude): New tests.
94
95 * tests/srfi-1.test (delete, delete!): Add more tests.
96 (delete-duplicates, delete-duplicates!): New tests.
97
98 2003-06-21 Kevin Ryde <user42@zip.com.au>
99
100 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
101 tests.
102
103 2003-06-19 Kevin Ryde <user42@zip.com.au>
104
105 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
106 * tests/threads.test: New file, exercising parallel.
107 * Makefile.am (SCM_TESTS): Add them.
108
109 2003-06-07 Kevin Ryde <user42@zip.com.au>
110
111 * tests/srfi-6.test: New file.
112 * Makefile.am (SCM_TESTS): Add it.
113
114 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
115
116 * tests/chars.test: Fixed test comment. The bug that this test
117 detects was actually introduced by my patch from 2003-05-31.
118
119 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
120
121 * tests/chars.test: Added test, attempting to apply a character.
122 This test will only pass if the other changes that are submitted
123 together with this patch are also applied.
124
125 2003-06-05 Kevin Ryde <user42@zip.com.au>
126
127 * tests/numbers.test (logcount): Add a few more tests, to exercise
128 recent scm_logcount change.
129
130 * tests/reader.test (reading): Test bad # error message is formattable.
131
132 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
133
134 * tests/pairs.test: Added.
135
136 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
137
138 * tests/vectors.test: Added.
139
140 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
141
142 * tests/guardians.test: Uses module (ice-9 weak-vector).
143
144 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
145
146 * lib.scm: Documented the short form for pass-if and expect-fail.
147
148 (pass-if, expect-fail): Simplified.
149
150 2003-05-30 Kevin Ryde <user42@zip.com.au>
151
152 * tests/numbers.test (max, min): Add tests involving NaNs.
153
154 2003-05-29 Stefan Jahn <stefan@lkcc.org>
155
156 * standalone/Makefile.am: Setup to build on mingw32.
157
158 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
159
160 * tests/elisp.test: Added missing quote around vector constants.
161
162 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
163
164 * tests/r5rs_pitfall.test: Test 2.1 now passes.
165
166 2003-05-13 Kevin Ryde <user42@zip.com.au>
167
168 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
169 combinations.
170
171 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
172
173 2003-05-10 Kevin Ryde <user42@zip.com.au>
174
175 * tests/numbers.test (=, <): Add tests involving NaNs.
176
177 * tests/numbers.test (integer-length): Exercise some negatives, in
178 particular -2^n which is ...11100..00.
179
180 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
181 fitting a ulong.
182
183 * tests/srfi-1.test: New file, exercising take and drop.
184 * Makefile.am (SCM_TESTS): Add it.
185
186 2003-05-06 Kevin Ryde <user42@zip.com.au>
187
188 * tests/numbers.test (-): Add test for negative inum subtract bignum.
189 (logcount): New tests, exercising some negatives.
190
191 2003-05-03 Marius Vollmer <mvo@zagadka.de>
192
193 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
194 pointing us to these tests.
195
196 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
197
198 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
199
200 * tests/srfi-34.test: New file.
201
202 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
203
204 * tests/syntax.test: Modified some tests to use eval when
205 providing bad syntax. Otherwise, the memoizer will report an
206 error immediately after reading the form, without even the chance
207 to get the pass-if-exception mechanism started.
208
209 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
210
211 * tests/guardians.test: Added some more elaborate and
212 sophisticated tests for the guardian functionality.
213
214 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
215
216 * tests/sort.test: Added. Both tests in that file did fail (one
217 even with a segfault) with CVS guile before the recent changes to
218 sort.c.
219
220 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
221
222 * tests/goops.test: Added tests for correctness of class
223 precedence list in all basic classes and tests for eqv? and
224 equal?.
225
226 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
227
228 * tests/goops.test: Added tests for class redefinition, object
229 update and active slots.
230
231 2003-04-14 Rob Browning <rlb@defaultvalue.org>
232
233 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
234 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
235
236 * standalone/Makefile.am: change from .c.x to .x to be consistent
237 with the rest of guile.
238
239 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
240
241 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
242 instead of INCLUDES
243
244 2003-04-07 Rob Browning <rlb@defaultvalue.org>
245
246 * Makefile.am (SUBDIRS): add standalone.
247
248 * guile-test: added "Running test FOO" output by default. There
249 may be a good reason to remove this, but the output can be helpful
250 in determining where a failure occurred.
251
252 * standalone/test-num2integral.c: new test -- one new regression
253 check.
254
255 * standalone/test-gh.c: new test code (migrated from
256 tests/c-api/) -- a trivial start.
257
258 * standalone/test-asmobs-lib.c: new test script (migrated from
259 tests/asmobs/).
260
261 * standalone/test-asmobs: new test script.
262
263 * standalone/README: new file.
264
265 * standalone/Makefile.am: new file.
266
267 * standalone/.cvsignore: new file.
268
269 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
270
271 * tests/asmobs/README: removed (functionality is now in standalone/).
272
273 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
274 standalone/).
275
276 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
277
278 * tests/asmobs/: removed (functionality is now in standalone/).
279
280 * tests/c-api/strings.c: add a note to the source about this code
281 being unused.
282
283 2003-04-05 Marius Vollmer <mvo@zagadka.de>
284
285 * Changed license terms to the plain LGPL thru-out.
286
287 2003-03-24 Rob Browning <rlb@defaultvalue.org>
288
289 * tests/numbers.test: added tests (some simple) for various funcs.
290 ("odd?"): added tests.
291 ("even?"): added tests.
292 ("nan?"): added tests.
293 ("abs"): added tests.
294 ("lcm"): added tests.
295 ("number->string"): added tests.
296 ("number?"): added tests.
297 ("complex?"): added tests.
298 ("real?"): added tests.
299 ("rational?"): added tests.
300 ("integer?"): added tests.
301 ("inexact?"): added tests.
302 ("="): added tests.
303 ("zero?"): added tests.
304 ("positive?"): added tests.
305 ("negative?"): added tests.
306
307 * lib.scm (pass-if): allow really simple tests where the test code
308 is also the name like (pass-if (even? 2)).
309 (expect-fail): allow really simple tests where the test code is
310 also the test name like (expect-fail (even? 2)).
311
312 2003-03-19 Marius Vollmer <mvo@zagadka.de>
313
314 * tests/format.test ("format basic output"): Added test for "~F"
315 from Matthias Koeppe.
316
317 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
318
319 * tests/elisp.test: Use module (ice-9 weak-vector).
320
321 * tests/weaks.test: Use module (ice-9 weak-vector).
322
323 2002-12-08 Rob Browning <rlb@defaultvalue.org>
324
325 * tests/version.test: test (effective-version).
326
327 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
328
329 * tests/options.test: New.
330
331 2002-10-04 Rob Browning <rlb@defaultvalue.org>
332
333 * tests/numbers.test ("expt"): add tests.
334
335 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
336
337 * Makefile.am (dist-hook): Do not distribute CVS directories.
338 Thanks to Greg Troxel!
339
340 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
341
342 * tests/reader.test: change misc-error in read-error.
343
344 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
345
346 * tests/goops.test: Added tests for define-generic and
347 define-accessor.
348
349 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
350
351 * tests/goops.test: Added tests for define-class.
352
353 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
354
355 * tests/numbers.test (/): Expect divison by an inexact zero to
356 yield +inf.0.
357
358 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
359
360 * tests/regexp.test (regexp-substitute/global): Do not test with
361 empty regexp. Empty regexps do not work on NetBSD.
362
363 * tests/syncase.test (basic syncase macro): Added.
364
365 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
366
367 * tests/srfi-13.test (string-tokenize): Updated for fixed
368 semantics.
369
370 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
371
372 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
373 directories manually.
374
375 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
376
377 * guile-test (main): Handle `--flag-unresolved'. No longer set
378 exit value to #f unconditionally on UNRESOLVED results.
379 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
380
381 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
382
383 * tests/elisp.test: Add tests of Elisp expression evaluation.
384
385 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
386
387 * tests/load.test: New test; for search-path with Elisp
388 nil-terminated lists for PATH and EXTENSIONS.
389
390 * tests/elisp.test: More tests for Scheme primitives that should
391 accept Elisp nil-terminated lists.
392
393 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
394
395 * tests/elisp.test: More new tests for the Elisp nil value.
396
397 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
398
399 * Makefile.am (SCM_TESTS): Added elisp.test.
400
401 * tests/elisp.test: New file.
402
403 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
404
405 * tests/numbers.test: Added more division by zero tests.
406
407 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
408
409 * tests/numbers.test: Added division by zero tests.
410
411 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
412
413 * tests/syntax.test: Added some tests, updated some others with
414 respect to recent changes in eval.c. Further, extracted test
415 cases for guile's extended set! functionality to srfi-17.test.
416
417 * tests/srfi-17.test: New file.
418
419 2001-11-04 Stefan Jahn <stefan@lkcc.org>
420
421 * tests/ports.test: Run (close-port) before (delete-file) if
422 necessary/advisory.
423
424 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
425
426 * tests/eval.test: Added tests for promises.
427
428 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
429
430 * lib.scm: Move module the system directives `export',
431 `export-syntax', `re-export' and `re-export-syntax' into the
432 `define-module' form. This is the recommended way of exporting
433 bindings.
434
435 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
436
437 * tests/syntax.test: Added test cases for 'cond =>' syntax with
438 else clause. Changed some tests and comments related to the
439 'case' form to reflect recent changes in the implementation.
440
441 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
442
443 * tests/syntax.test: Added test cases for 'lambda' syntax.
444
445 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
446
447 * tests/syntax.test: Added test cases for 'case' syntax.
448
449 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
450
451 * tests/numbers.test: Added a test case that checks if valid
452 number strings are transformed correctly by string->number.
453
454 2001-09-21 Rob Browning <rlb@defaultvalue.org>
455
456 * tests/numbers.test (fixnum-bit): compute dynamically.
457
458 * tests/bit-operations.test (fixnum-bit): compute dynamically.
459
460 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
461
462 * tests/getopt-long.test ("apples-blimps-catalexis example",
463 "multiple occurances"): New top-level sections.
464
465 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
466
467 * tests/numbers.test: Made some of the patterns better readable.
468
469 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
470
471 * tests/srfi-19.test (test-time-comparision,
472 test-time-arithmatic): New procs.
473
474 Add time comparison tests using new procs.
475 Thanks to Alex Shinn.
476
477 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
478
479 * tests/dynamic-scope.test: New file.
480
481 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
482
483 * tests/srfi-13.test (string-for-each, string-for-each-index):
484 Add tests. (Thanks to Alex Shinn.)
485
486 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
487
488 * tests/srfi-13.test (string-map): Swapped order of string and
489 proc args to conform with the srfi. (Thanks to Alex Shinn.)
490
491 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
492
493 * tests/getopt-long.test (exception:no-such-option,
494 exception:option-does-not-support-arg,
495 exception:option-must-be-specified,
496 exception:option-must-have-arg, exception:not-enough-args):
497 New vars.
498
499 ("option-ref", "required", "specified no value, given anyway",
500 "specified arg required"): New top-level sections.
501
502 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
503
504 * tests/numbers.test: Added Some syntax tests for
505 string->number.
506
507 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
508
509 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
510 "SCM_TESTS". This has special meaning to automake. How many
511 tries left to get this right, mvo?
512
513 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
514
515 * Makefile.am (TESTS): List tests explicitely instead of using a
516 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
517
518 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
519
520 * Makefile.am: New file, to control distribution of the
521 test-suite.
522
523 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
524
525 * tests/getopt-long.test: New file.
526
527 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
528
529 * lib.scm (run-test-exception): Add special handling for
530 `error'-generated exceptions, which pass key `misc-error' and
531 leave messages unformatted.
532
533 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
534
535 * tests/alist.test, tests/bit-operations.test,
536 tests/common-list.test, tests/environments.test, tests/eval.test,
537 tests/gc.test, tests/hooks.test, tests/import.test,
538 tests/interp.test, tests/list.test, tests/load.test,
539 tests/numbers.test, tests/ports.test, tests/r4rs.test,
540 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
541 copyright notice.
542
543 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
544
545 * tests/srfi-14.test: New file.
546
547 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
548
549 * tests/import.test: New file.
550
551 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
552
553 * tests/goops.test: Started with some real tests.
554
555 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
556
557 * guile-test: Use module (ice-9 rdelim).
558
559 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
560
561 * tests/srfi-4.test: New file.
562
563 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
564
565 Thanks to Matthias Köppe!
566
567 * tests/ports.test: New test for output port line counts.
568 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
569 files.
570
571 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
572
573 * tests/symbols.test ("gensym"): New tests for long gensym
574 prefices and embedded NULs in prefices.
575
576 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
577
578 * test/goops.test, test/syncase.test: New, minimal tests.
579
580 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
581
582 * tests/version.test: Updated test for new micro version stuff.
583
584 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
585
586 * tests/srfi-13.test: More tests.
587
588 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
589
590 * tests/srfi-10.test: New file.
591
592 * tests/srfi-9.test: New file.
593
594 * tests/srfi-13.test: Added some more tests.
595
596 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
597
598 * tests/eval.test: ("evaluator" "memoization"): New test
599 prefix block.
600 ("transparency"): New "evaluator memoization" test.
601
602 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
603
604 * tests/srfi-13.test: Added module access kludge, and uncommented
605 some tests depending on this.
606
607 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
608
609 * tests/srfi-13.test: New file testing the SRFI string library.
610
611 2001-04-26 Gary Houston <ghouston@arglist.com>
612
613 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
614 have run.
615
616 * tests/ports.test (test-file), tests/load.test (temp-dir):
617 redefined using data-file-name instead of tmpnam. the test files
618 will be created in the build directory instead of /var/tmp or
619 whereever tmpnam puts them.
620
621 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
622
623 * tests/symbols.c: Added some tests.
624
625 2001-03-19 Gary Houston <ghouston@arglist.com>
626
627 * tests/r4rs.test: use test-file-name to locate r4rs.test,
628 not data-file-name.
629
630 * guile-test: define tmp-dir, the location where r4rs.test will
631 create it's temporary files.
632 (data-file-name): use tmp-dir. this must be under build-dir,
633 not src-dir.
634
635 2001-03-18 Gary Houston <ghouston@arglist.com>
636
637 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
638 first line.
639
640 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
641
642 * tests/syntax.test: Added a test for let* bindings and
643 re-arranged and slightly improved the existing one.
644
645 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
646
647 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
648 test, dups are allowed in `let*' and are now expected to pass.
649
650 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
651
652 * lib.scm (run-test-exception): Preserve the original error's
653 stack for re-throwing.
654
655 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
656
657 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
658 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
659 been fixed.
660
661 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
662
663 * tests/syntax.test ("duplicate formals"): New category, move
664 appropriate tests here. Expect them to pass.
665 ("empty parentheses"): Expect to pass, bug has been fixed.
666
667 * tests/alist.test: Use "'()" instead of "()" in all places
668 where the empty list is meant.
669
670 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
671
672 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
673 exported constants.
674
675 * tests/r4rs.test: Make sure that no bindings for x and y exist
676 after the file is loaded.
677
678 * tests/syntax.test: New file.
679
680 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
681 Moved the test cases that are related to guile's syntactic forms
682 from tests/exceptions.test to tests/syntax.test. Moved tests
683 related to evaluation and application to tests/eval.test.
684
685 * tests/exceptions.test: Added some test cases that check guile's
686 exception handling.
687
688 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
689
690 * tests/exceptions.test, tests/numbers.test: Moved the number
691 related test cases from tests/exceptions.test to
692 tests/numbers.test.
693
694 * tests/numbers.test: Added a test case.
695
696 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
697
698 * tests/symbols.test: New file.
699
700 (exception:immutable-string): New constant. Currently, this is a
701 dummy since guile does not have immutable strings.
702
703 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
704 Moved the string related test cases from tests/exceptions.test to
705 tests/strings.test and the symbol related test cases to
706 tests/symbols.test.
707
708 * tests/strings.test: Copyright notice updated. Added a couple
709 of test cases.
710
711 (exception:immutable-string): New constant. Currently, this is a
712 dummy since guile does not have immutable strings.
713
714 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
715
716 * tests/exceptions.test: Use expect-fail-exception to indicate
717 test cases where exceptions should occur, but don't.
718
719 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
720 exception:missing/extra-expr): New constants.
721
722 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
723
724 * tests/reader.test, tests/exceptions.test: Moved the reader
725 related test cases from tests/exceptions.test to
726 tests/reader.test.
727
728 * tests/reader.test (exception:eof, exception:unexpected-rparen):
729 New constants.
730
731 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
732 Removed.
733
734 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
735
736 * lib.scm (signals-error?, signals-error?*): Removed.
737
738 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
739
740 * lib.scm: Added comment about new convenience functions/macros
741 to test for exceptions.
742
743 (exception:out-of-range, exception:wrong-type-arg): New exported
744 constants.
745
746 (run-test-exception): New function.
747
748 (pass-if-exception, expect-fail-exception): New exported macros.
749
750 * tests/environments.test: Fixed tests that were checking for
751 exceptions when set!ing an unbound symbol.
752
753 (exception:unbound-symbol): New constant.
754
755 * tests/hooks.test (catch-error-returning-true, pass-if-not,
756 catch-error-returning-false), tests/weaks.test
757 (catch-error-returning-true, pass-if-not,
758 catch-error-returning-false): Removed. The macro pass-if-not was
759 not used. The macro catch-error-returning-false is unnecessary
760 since exceptions are caught by the test-suite anyway. The
761 functionality of catch-error-returning-true is provided by the new
762 convenience macro pass-if-exception.
763
764 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
765 Maybe a standard wrong-num-arg exception should be thrown instead
766 of a misc-error?
767
768 * tests/reader.test (try-to-read): Replaced by read-string.
769
770 (read-string): New function.
771
772 * tests/alist.test, tests/environments.test, tests/eval.test,
773 tests/hooks.test, tests/list.test, tests/ports.test,
774 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
775 tests for exceptions with the new convenience macros.
776
777 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
778
779 * tests/alist.test: Remove redundant test name prefix.
780
781 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
782
783 * lib.scm (pass-if): Tests shall return a boolean value.
784
785 * tests/bit-operations.test (documented?), tests/common-list.test
786 (documented?), tests/environments.test (documented?),
787 tests/eval.test (documented?), tests/gc.test (documented?),
788 tests/numbers.test (documented?), tests/guardians.test,
789 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
790 that tests return a boolean value.
791
792 * tests/list.test (documented?): New function, replace all checks
793 for documentation with calls to this function.
794
795 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
796
797 * lib.scm (data-file): Remove from export list.
798
799 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
800
801 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
802 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
803 (syntax reading): New section.
804 (syntax let*): New section.
805 (syntax letrec): New section.
806 (syntax set!): New section.
807 (syntax misc): New section.
808 (bindings unbound): New section.
809 (bindings immutable-modification): New section.
810 (bindings let): New section.
811 (bindings let*): New section.
812 (bindings letrec): New section.
813
814 * tests/exceptions.test: New file.
815
816 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
817
818 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
819 and-let*).
820
821 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
822
823 This patch fixes things that I have broken with the last one :-(
824
825 * guile-test (test-suite): New variable.
826
827 (data-file-name): New function. Has the same purpose as the
828 former function data-file from lib.scm. Moved here in order to
829 have all file name handling at the same place. In contrast to the
830 former 'data-file function, it is not checked whether a file
831 exists. This allows to use this function also for file names of
832 files that are still to be created.
833
834 (test-file-name): Use the global 'test-suite variable.
835
836 (main): Initialize 'test-suite instead of a local variable.
837
838 * lib.scm: Don't import paths any more.
839
840 (data-file): Removed. Resurrected with a sligtly different
841 functionality as 'data-file-name' in guile-test.
842
843 * r4rs.scm: For all references to temporary file, make use of
844 data-file-name.
845
846 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
847
848 The following patch was sent by Thien-Thi Nguyen and a little bit
849 modified by me.
850
851 * guile-test: Usage and installation comments improved. Added
852 support for --test-suite and --debug command line options.
853
854 (default-test-suite): Added to allow for simplified
855 configurability. No need to load the paths file any more.
856
857 (enable-debug-mode): New function. Will be called when the
858 --debug command line option is given.
859
860 (test-root): Removed. The test directory has to be fully given.
861 This allows for arbitrarily named test directories.
862
863 (test-file-name, enumerate-tets): Take the test directory as a
864 paramter instead of using the global variable 'test-root'.
865
866 (main): Handle the new command line options. Return an exit code
867 depending on whether all tests came out as expected.
868
869 * README: Updated.
870
871 * paths.scm: Removed.
872
873 2001-01-24 Gary Houston <ghouston@arglist.com>
874
875 * tests/ports.test: include (ice-9 rdelim) module.
876
877 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
878
879 * tests/numbers.test: Converted to do real boundary testing.
880
881 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
882
883 * tests/bit-operations.test: Added.
884
885 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
886
887 * tests/gc.test: Added.
888
889 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
890
891 * tests/strings.test: string=? is fixed.
892
893 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
894
895 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
896
897 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
898
899 * tests/strings.test: Added a test to help remember that string=?
900 and friends need fixing.
901
902 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
903
904 * tests/environments.test: For tests that rely on garbage
905 collection, conservative scanning can be a problem. Add a comment
906 for these tests and make them turn out unresolved if things don't
907 work as expected.
908
909 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
910
911 * tests/environments.test: Finished and cleaned up the tests for
912 the leaf environments. Added a complete set of testcases for the
913 leaf environment based eval environments. Started with the tests
914 for the import environments.
915
916 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
917
918 * tests/environments.test: Added.
919
920 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
921
922 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
923 of expressions.
924
925 * tests/eval.test: Fix documentation test.
926
927 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
928
929 * tests/list.test: Added tests for list-ref, list-set! and
930 list-cdr-set!
931
932 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
933
934 * tests/common-list.test: Added.
935
936 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
937
938 * tests/eval.test: Added.
939
940 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
941
942 * tests/list.test: Use cons* instead of list*.
943
944 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
945
946 * tests/numbers.test, tests/list.test: Updated for new
947 documentation module.
948
949 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
950
951 * tests/hooks.test: make-hook-with-name is deprecated.
952
953 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
954
955 * tests/list.test, tests/numbers.test: Added.
956
957 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
958
959 * guile-test: Eliminate use of catch-test-errors.
960
961 * lib.scm: Adopted a couple of nice ideas from Greg.
962
963 (pass, fail, expect-failure, expect-failure-if,
964 expect-failure-if*, catch-test-errors, catch-test-errors*,
965 expected-failure-fluid, pessimist?): Removed.
966
967 (run-test, expect-fail, result-tags, important-result-tags):
968 Added.
969
970 (report, make-count-reporter, print-counts, make-log-reporter,
971 full-reporter, user-reporter): Reporters take two mandatory
972 arguments and make use of the tag descriptions in result-tags and
973 important-result-tags.
974
975 * tests/alist.test, tests/hooks.test, tests/ports.test,
976 tests/weaks.test: Don't use catch-test-errors and
977 expect-failure-if.
978
979 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
980
981 * mambo.test: Removed dummy file.
982
983 2000-03-31 Gary Houston <ghouston@arglist.com>
984
985 * tests/ports.test (non-blocking-I/O): a couple more details:
986 a) combine the O_NONBLOCK flag with the default flags instead
987 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
988
989 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
990
991 * lib.scm: Doc fixes.
992
993 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
994
995 * paths.scm: Assume that ~/guile-core/test-suite is the location
996 of the test suite now.
997
998 * tests/version.test: Added -- version.c had 0% coverage before,
999 now at 100%.
1000
1001 * tests/chars.test: Added -- needed test of char-is-both?.
1002
1003 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1004
1005 * tests/weaks.test, tests/hooks.test: Added.
1006
1007 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
1008
1009 * tests/alist.test: Added.
1010
1011 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
1012
1013 * tests/c-api.test: Refine the list of files that are checked in
1014 the seek-offset-test. Was just using files that end in "c", but
1015 that caught the new ".doc" files, too, so make sure that files end
1016 in ".c" before requiring that they include unistd.h if they
1017 reference SEEK_(SET|CUR|END).
1018
1019 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
1020
1021 * tests/ports.test ("string ports"): test seeking/unreading from
1022 an input string and seeking an output string.
1023
1024 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
1025
1026 * tests/ports.test: in seek/tell test on input port, also test
1027 that ftell doesn't discard unread chars.
1028
1029 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
1030
1031 * tests/ports.test: add seek/tell tests for unidirectional ports.
1032
1033 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
1034
1035 * tests/reader.test: Check that number->string checks its radix
1036 properly.
1037
1038 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1039
1040 * tests/ports.test: Check that our input functions cope when
1041 current-input-port is closed.
1042
1043 * tests/regexp.test: Check regexp-substitute/global when there are
1044 no matches. (Duh.)
1045
1046 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1047
1048 * tests/c-api.test: New file. Add test to check that all source
1049 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1050
1051 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
1052
1053 * tests/ports.test: test non-blocking I/O.
1054
1055 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1056
1057 * tests/strings.test: Add test for substring-move! argument checking.
1058
1059 * lib.scm (signals-error?, signals-error?*): New macro and function.
1060 * tests/reader.test: Use them.
1061
1062 * tests/interp.test: Add copyright notice.
1063
1064 * tests/reader.test: New test file.
1065
1066 * tests/regexp.test: New test file.
1067
1068 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1069
1070 * tests/interp.test: Added tests for evaluation of closure bodies.
1071
1072 1999-09-03 James Blandy <jimb@mule.m17n.org>
1073
1074 * tests/multilingual.nottest: New file, which we will turn into a
1075 test file once we actually have multilingual support to test.
1076
1077 * tests/load.test: New test file.
1078
1079 1999-08-30 James Blandy <jimb@mule.m17n.org>
1080
1081 * tests/strings.test: New test file.
1082
1083 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
1084
1085 * tests/ports.test: test unread-char and unread-string.
1086
1087 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
1088
1089 * tests/ports.test: test line-buffering of fports.
1090
1091 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
1092
1093 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
1094
1095 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
1096
1097 * tests/ports.test: lseek -> seek.
1098
1099 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
1100
1101 * tests/ports.test: tests for buffered and unbuffered input/output
1102 fports with seeking.
1103
1104 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
1105
1106 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
1107 corresponds to an example object, not a predicate. Aubrey
1108 probably never noticed this because SCM doesn't check the lengths
1109 of the arguments to for-each and map...
1110
1111 * tests/ports.test: Add some regression tests for char-ready?.
1112
1113 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1114
1115 * tests/ports.test: Fix copyright years.
1116
1117 * tests/guardians.test: New test file.
1118
1119 * tests/ports.test ("read-delimited!"): New tests.
1120
1121 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
1122
1123 * tests/interp.test: New file.
1124
1125 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1126
1127 * tests/time.test: New test file.
1128
1129 * tests/r4rs.test: New set of tests, taken from Guile's test
1130 script, taken from SCM.
1131
1132 * tests/ports.test: Group the string port tests under a new
1133 test name prefix.
1134
1135 * tests/ports.test ("line counter"): Check the final column, too.
1136
1137 * lib.scm: Import (test-suite paths).
1138 (data-file): New exported function.
1139
1140 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
1141
1142 * tests/ports.test ("line counter"): Add test for correct column
1143 at EOF.
1144
1145 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1146
1147 * tests/ports.test ("line counter"): Verify that we do eventually
1148 get EOF on the port --- don't just read forever.
1149
1150 * lib.scm (full-reporter): The test name is the cadr of the
1151 result, not the cdr. I'm not macho enough to handle run-time
1152 typechecking.
1153
1154 * lib.scm (print-counts): XFAILS are "expected failures", not
1155 "unexpected failures."
1156
1157 * lib.scm, guile-test, paths.scm: Log begins.
1158