1 2004-01-03 Marius Vollmer <mvo@zagadka.de>
3 * standalone/test-unwind.c: New test, for the frames stuff.
4 * standalone/Makefile.am: Compile and run it.
6 2004-01-04 Kevin Ryde <user42@zip.com.au>
8 * tests/exceptions.test (false-if-exception): Add tests.
10 2003-11-30 Marius Vollmer <mvo@zagadka.de>
12 * tests/syntax.test: It's "#\\space", not "#\space".
14 2003-11-21 Marius Vollmer <mvo@zagadka.de>
16 * tests/numbers.test: #e1.2 is now exactly 12/10. Expect
17 exceptions when calling inexact? with a non-number.
19 2003-12-03 Kevin Ryde <user42@zip.com.au>
21 * tests/fractions.test: Exercise most-negative-fixnum over -ve of
24 * tests/fractions.test (real-part): Expect fraction return, not
27 * tests/numbers.test (abs): Add a few more tests.
29 * tests/srfi-1.test (count): New tests.
31 2003-12-01 Mikael Djurfeldt <mdj@chunk.mit.edu>
33 * standalone/Makefile.am (snarfcppopts): Added -I$(top_srcdir).
35 2003-11-19 Rob Browning <rlb@defaultvalue.org>
37 * standalone/test-system-cmds: new test.
39 * standalone/Makefile.am (check_SCRIPTS): add test-system-cmds.
40 (TESTS): add test-system-cmds.
42 2003-11-18 Marius Vollmer <marius.vollmer@uni-dortmund.de>
44 * tests/numbers.test ("string->number"): Expect exact rationals
45 for things like "1/2" and "#e1.2".
46 ("inexact->exact"): Expect overflow error for infs and nans.
48 * tests/fractions.test: New file from Bill Schottstaedt. Thanks!
50 * tests/bit-operations.test (fixnum-bit): Round the result so that
51 fixnum-bit really is an integer.
53 2003-11-17 Marius Vollmer <mvo@zagadka.de>
55 * tests/srfi-17.test: Expect a "Bad variable" error for (set! #f
58 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
60 * tests/syntax.test: Tests that check for the correct handling of
61 internal defines with begin work now.
63 2003-11-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
65 * tests/syntax.test: Fixed test that checks for the correct
66 handling of macros in the context of internal defines.
68 2003-11-15 Kevin Ryde <user42@zip.com.au>
70 * tests/bit-operations.test: Use (test-suite lib), for the benefit of
73 2003-11-09 Dirk Herrmann <D.Herrmann@tu-bs.de>
75 * tests/optargs.test: Wrap tests in module (test-suite
76 test-<file-name without .test>). Rewrite test to be R5RS
79 * tests/syntax.test: Added test to check correct handling of
82 2003-11-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
84 * tests/syntax.test (exception:missing-body-expr): New.
86 Renamed section 'define' to 'top-level define' and added a new
87 section 'internal define' with some tests.
89 2003-11-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
91 * tests/syntax.test (exception:missing/extra-expr-misc): Removed.
93 (exception:illegal-empty-combination): New.
95 (exception:missing/extra-expr): Unified capitalization.
97 Adapted test for '()' to the new way of error reporting.
99 2003-10-19 Kevin Ryde <user42@zip.com.au>
101 * tests/numbers.test: Use define-module to hide helper defines.
102 (dbl-mant-dig, ash-flo): New helpers.
103 (exact->inexact): New tests.
105 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
107 * tests/syntax.test (exception:bad-var): Removed.
109 Adapted tests for 'set!' to the new way of error reporting.
111 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
113 * tests/dynamic-scope.test (exception:missing-expr): Introduced
114 temporarily until all memoizers use the new way of error
117 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
119 * tests/syntax.test (exception:missing/extra-expr,
120 exception:missing/extra-expr-misc): Renamed
121 exception:missing/extra-expr to exception:missing/extra-expr-misc.
123 (exception:missing/extra-expr-syntax,
124 exception:missing/extra-expr): Renamed
125 exception:missing/extra-expr-syntax to
126 exception:missing/extra-expr.
128 2003-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
130 * lib.scm (exception:bad-variable): New.
132 * tests/syntax.test (exception:bad-binding,
133 exception:duplicate-binding): New.
135 (exception:duplicate-bindings): Removed.
137 Adapted tests for 'let', 'let*' and 'letrec' to the new way of
140 2003-10-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
142 * tests/syntax.test (define exception:bad-formal, define
143 exception:duplicate-formal): New.
145 (exception:duplicate-formals): Removed.
147 (exception:bad-formals): Adapted to the new way of error
150 Adapted tests for 'lambda' to the new way of error reporting.
152 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
154 * tests/syntax.test (exception:missing/extra-expr-syntax): Fixed
155 to be unaware of whether line number information is given or not.
157 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
159 * tests/syntax.test (exception:missing/extra-expr-syntax): New,
160 introduced temporarily until all memoizers use the new way of
163 Adapted tests for 'if' to the new way of error reporting.
165 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
167 * tests/syntax.test (exception:missing-expr,
168 exception:extra-expr): New.
170 Adapted tests for 'begin' to the new way of error
173 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
175 * tests/syntax.test (exception:misplaced-else-clause,
176 exception:bad-cond-clause): New.
178 (exception:bad/missing-clauses, exception:extra-case-clause):
181 Adapted tests for 'case' and 'cond' to the new way of error
184 The tests that check if cond is hygienic pass now.
186 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
188 * tests/syntax.test: Fixed and activated test of empty case label
191 2003-10-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
193 * tests/syntax.test (exception:bad-expression,
194 exception:missing-clauses, exception:bad-case-clause,
195 exception:extra-case-clause, exception:bad-case-labels): New.
197 Added some tests and adapted tests for 'case' to the new way of
200 2003-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
202 * lib.scm (run-test-exception): Handle syntax errors.
204 2003-10-10 Marius Vollmer <mvo@zagadka.de>
206 * tests/numbers.test (inexact->exact): Use corrent argument order
207 for pass-if-exception. Use "+inf.0" instead of "+.inf", etc.
209 2003-10-09 Kevin Ryde <user42@zip.com.au>
211 * tests/numbers.test (inexact->exact): New tests.
213 * tests/poe.test: New file.
214 * Makefile.am: Add it.
216 2003-10-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
218 * lib.scm (exception:missing-expression): New.
220 * tests/dynamic-scope.test, tests/eval.test,
221 tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
222 Wrap tests in module (test-suite test-<file-name without .test>),
223 following a practice that was used on a couple of files already.
225 * tests/dynamic-scope.test (exception:duplicate-binding,
226 exception:bad-binding): New.
228 * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
229 Execute syntactically wrong tests using eval. With the upcoming
230 new memoizer this is necessary in order to postpone the syntax
231 check to the actual evaluation of the syntactically wrong form.
233 * tests/syntax.test: Added some test cases and modified one test
236 2003-10-02 Kevin Ryde <user42@zip.com.au>
238 * tests/ports.test (call-with-output-string): Test proc closing port.
240 2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
242 * guile-test: Wrapped in module (test-suite guile-test).
244 (main data-file-name test-file-name): Exported.
246 ((guile-user)::main): New function, wrapper for function
247 (test-suite guile-test)::main.
249 * tests/load.test: Wrapped in module (test-suite test-load).
251 * tests/ports.test: Wrapped in module (test-suite test-ports).
253 * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
254 Added comments about the required structure of the file itself,
255 since it is subject to some tests. Removed some now unnecessary
258 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
260 2003-09-19 Kevin Ryde <user42@zip.com.au>
262 * tests/popen.test: New file.
263 * Makefile.am (SCM_TESTS): Add it.
265 2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
267 * tests/numbers.test (equal?): Added tests.
269 * tests/numbers.test (=): Fixed and added some bignum related
272 2003-08-30 Kevin Ryde <user42@zip.com.au>
274 * tests/numbers.test (logcount): Add tests.
276 2003-08-23 Kevin Ryde <user42@zip.com.au>
278 * tests/srfi-1.test (list-copy): New tests.
280 * tests/srfi-19.test (date-week-number): Add tests.
282 2003-08-22 Kevin Ryde <user42@zip.com.au>
284 * tests/numbers.test (-): Exercise bignum - inum.
286 2003-08-17 Kevin Ryde <user42@zip.com.au>
288 * tests/syntax.test (while): Exercise break and continue from
289 recursive nested loops.
291 2003-08-14 Kevin Ryde <user42@zip.com.au>
293 * tests/syntax.test (while): New tests.
295 2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
297 * tests/numbers.test: Eliminated misuses of expect-fail. It
298 should only be used in cases, where guile has a known bug. It
299 should not be used in cases where an expression is expected to
300 return #f as its correct result.
302 2003-08-09 Kevin Ryde <user42@zip.com.au>
304 * tests/srcprop.test: New file.
305 * Makefile.am (SCM_TESTS): Add it.
307 2003-07-29 Kevin Ryde <user42@zip.com.au>
309 * tests/srfi-1.test (concatenate, concatenate!): New tests.
310 (length+): New tests.
312 * tests/srfi-34.test: Check cond-expand srfi-34.
314 2003-07-24 Kevin Ryde <user42@zip.com.au>
316 * tests/numbers.test (angle): New tests.
318 2003-07-18 Kevin Ryde <user42@zip.com.au>
320 * tests/numbers.test (*): Add complex/bignum test.
322 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
324 * tests/srfi-1.test (partition): Add tests.
326 2003-07-08 Kevin Ryde <user42@zip.com.au>
328 * tests/numbers.test (make-polar, magnitude): New tests.
330 * tests/srfi-1.test (delete, delete!): Add more tests.
331 (delete-duplicates, delete-duplicates!): New tests.
333 2003-06-21 Kevin Ryde <user42@zip.com.au>
335 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
338 2003-06-19 Kevin Ryde <user42@zip.com.au>
340 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
341 * tests/threads.test: New file, exercising parallel.
342 * Makefile.am (SCM_TESTS): Add them.
344 2003-06-07 Kevin Ryde <user42@zip.com.au>
346 * tests/srfi-6.test: New file.
347 * Makefile.am (SCM_TESTS): Add it.
349 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
351 * tests/chars.test: Fixed test comment. The bug that this test
352 detects was actually introduced by my patch from 2003-05-31.
354 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
356 * tests/chars.test: Added test, attempting to apply a character.
357 This test will only pass if the other changes that are submitted
358 together with this patch are also applied.
360 2003-06-05 Kevin Ryde <user42@zip.com.au>
362 * tests/numbers.test (logcount): Add a few more tests, to exercise
363 recent scm_logcount change.
365 * tests/reader.test (reading): Test bad # error message is formattable.
367 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
369 * tests/pairs.test: Added.
371 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
373 * tests/vectors.test: Added.
375 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
377 * tests/guardians.test: Uses module (ice-9 weak-vector).
379 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
381 * lib.scm: Documented the short form for pass-if and expect-fail.
383 (pass-if, expect-fail): Simplified.
385 2003-05-30 Kevin Ryde <user42@zip.com.au>
387 * tests/numbers.test (max, min): Add tests involving NaNs.
389 2003-05-29 Stefan Jahn <stefan@lkcc.org>
391 * standalone/Makefile.am: Setup to build on mingw32.
393 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
395 * tests/elisp.test: Added missing quote around vector constants.
397 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
399 * tests/r5rs_pitfall.test: Test 2.1 now passes.
401 2003-05-13 Kevin Ryde <user42@zip.com.au>
403 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
406 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
408 2003-05-10 Kevin Ryde <user42@zip.com.au>
410 * tests/numbers.test (=, <): Add tests involving NaNs.
412 * tests/numbers.test (integer-length): Exercise some negatives, in
413 particular -2^n which is ...11100..00.
415 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
418 * tests/srfi-1.test: New file, exercising take and drop.
419 * Makefile.am (SCM_TESTS): Add it.
421 2003-05-06 Kevin Ryde <user42@zip.com.au>
423 * tests/numbers.test (-): Add test for negative inum subtract bignum.
424 (logcount): New tests, exercising some negatives.
426 2003-05-03 Marius Vollmer <mvo@zagadka.de>
428 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
429 pointing us to these tests.
431 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
433 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
435 * tests/srfi-34.test: New file.
437 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
439 * tests/syntax.test: Modified some tests to use eval when
440 providing bad syntax. Otherwise, the memoizer will report an
441 error immediately after reading the form, without even the chance
442 to get the pass-if-exception mechanism started.
444 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
446 * tests/guardians.test: Added some more elaborate and
447 sophisticated tests for the guardian functionality.
449 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
451 * tests/sort.test: Added. Both tests in that file did fail (one
452 even with a segfault) with CVS guile before the recent changes to
455 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
457 * tests/goops.test: Added tests for correctness of class
458 precedence list in all basic classes and tests for eqv? and
461 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
463 * tests/goops.test: Added tests for class redefinition, object
464 update and active slots.
466 2003-04-14 Rob Browning <rlb@defaultvalue.org>
468 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
469 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
471 * standalone/Makefile.am: change from .c.x to .x to be consistent
472 with the rest of guile.
474 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
476 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
479 2003-04-07 Rob Browning <rlb@defaultvalue.org>
481 * Makefile.am (SUBDIRS): add standalone.
483 * guile-test: added "Running test FOO" output by default. There
484 may be a good reason to remove this, but the output can be helpful
485 in determining where a failure occurred.
487 * standalone/test-num2integral.c: new test -- one new regression
490 * standalone/test-gh.c: new test code (migrated from
491 tests/c-api/) -- a trivial start.
493 * standalone/test-asmobs-lib.c: new test script (migrated from
496 * standalone/test-asmobs: new test script.
498 * standalone/README: new file.
500 * standalone/Makefile.am: new file.
502 * standalone/.cvsignore: new file.
504 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
506 * tests/asmobs/README: removed (functionality is now in standalone/).
508 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
511 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
513 * tests/asmobs/: removed (functionality is now in standalone/).
515 * tests/c-api/strings.c: add a note to the source about this code
518 2003-04-05 Marius Vollmer <mvo@zagadka.de>
520 * Changed license terms to the plain LGPL thru-out.
522 2003-03-24 Rob Browning <rlb@defaultvalue.org>
524 * tests/numbers.test: added tests (some simple) for various funcs.
525 ("odd?"): added tests.
526 ("even?"): added tests.
527 ("nan?"): added tests.
528 ("abs"): added tests.
529 ("lcm"): added tests.
530 ("number->string"): added tests.
531 ("number?"): added tests.
532 ("complex?"): added tests.
533 ("real?"): added tests.
534 ("rational?"): added tests.
535 ("integer?"): added tests.
536 ("inexact?"): added tests.
538 ("zero?"): added tests.
539 ("positive?"): added tests.
540 ("negative?"): added tests.
542 * lib.scm (pass-if): allow really simple tests where the test code
543 is also the name like (pass-if (even? 2)).
544 (expect-fail): allow really simple tests where the test code is
545 also the test name like (expect-fail (even? 2)).
547 2003-03-19 Marius Vollmer <mvo@zagadka.de>
549 * tests/format.test ("format basic output"): Added test for "~F"
550 from Matthias Koeppe.
552 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
554 * tests/elisp.test: Use module (ice-9 weak-vector).
556 * tests/weaks.test: Use module (ice-9 weak-vector).
558 2002-12-08 Rob Browning <rlb@defaultvalue.org>
560 * tests/version.test: test (effective-version).
562 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
564 * tests/options.test: New.
566 2002-10-04 Rob Browning <rlb@defaultvalue.org>
568 * tests/numbers.test ("expt"): add tests.
570 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
572 * Makefile.am (dist-hook): Do not distribute CVS directories.
573 Thanks to Greg Troxel!
575 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
577 * tests/reader.test: change misc-error in read-error.
579 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
581 * tests/goops.test: Added tests for define-generic and
584 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
586 * tests/goops.test: Added tests for define-class.
588 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
590 * tests/numbers.test (/): Expect divison by an inexact zero to
593 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
595 * tests/regexp.test (regexp-substitute/global): Do not test with
596 empty regexp. Empty regexps do not work on NetBSD.
598 * tests/syncase.test (basic syncase macro): Added.
600 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
602 * tests/srfi-13.test (string-tokenize): Updated for fixed
605 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
607 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
608 directories manually.
610 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
612 * guile-test (main): Handle `--flag-unresolved'. No longer set
613 exit value to #f unconditionally on UNRESOLVED results.
614 (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
616 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
618 * tests/elisp.test: Add tests of Elisp expression evaluation.
620 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
622 * tests/load.test: New test; for search-path with Elisp
623 nil-terminated lists for PATH and EXTENSIONS.
625 * tests/elisp.test: More tests for Scheme primitives that should
626 accept Elisp nil-terminated lists.
628 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
630 * tests/elisp.test: More new tests for the Elisp nil value.
632 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
634 * Makefile.am (SCM_TESTS): Added elisp.test.
636 * tests/elisp.test: New file.
638 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
640 * tests/numbers.test: Added more division by zero tests.
642 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
644 * tests/numbers.test: Added division by zero tests.
646 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
648 * tests/syntax.test: Added some tests, updated some others with
649 respect to recent changes in eval.c. Further, extracted test
650 cases for guile's extended set! functionality to srfi-17.test.
652 * tests/srfi-17.test: New file.
654 2001-11-04 Stefan Jahn <stefan@lkcc.org>
656 * tests/ports.test: Run (close-port) before (delete-file) if
659 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
661 * tests/eval.test: Added tests for promises.
663 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
665 * lib.scm: Move module the system directives `export',
666 `export-syntax', `re-export' and `re-export-syntax' into the
667 `define-module' form. This is the recommended way of exporting
670 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
672 * tests/syntax.test: Added test cases for 'cond =>' syntax with
673 else clause. Changed some tests and comments related to the
674 'case' form to reflect recent changes in the implementation.
676 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
678 * tests/syntax.test: Added test cases for 'lambda' syntax.
680 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
682 * tests/syntax.test: Added test cases for 'case' syntax.
684 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
686 * tests/numbers.test: Added a test case that checks if valid
687 number strings are transformed correctly by string->number.
689 2001-09-21 Rob Browning <rlb@defaultvalue.org>
691 * tests/numbers.test (fixnum-bit): compute dynamically.
693 * tests/bit-operations.test (fixnum-bit): compute dynamically.
695 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
697 * tests/getopt-long.test ("apples-blimps-catalexis example",
698 "multiple occurances"): New top-level sections.
700 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
702 * tests/numbers.test: Made some of the patterns better readable.
704 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
706 * tests/srfi-19.test (test-time-comparision,
707 test-time-arithmatic): New procs.
709 Add time comparison tests using new procs.
710 Thanks to Alex Shinn.
712 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
714 * tests/dynamic-scope.test: New file.
716 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
718 * tests/srfi-13.test (string-for-each, string-for-each-index):
719 Add tests. (Thanks to Alex Shinn.)
721 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
723 * tests/srfi-13.test (string-map): Swapped order of string and
724 proc args to conform with the srfi. (Thanks to Alex Shinn.)
726 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
728 * tests/getopt-long.test (exception:no-such-option,
729 exception:option-does-not-support-arg,
730 exception:option-must-be-specified,
731 exception:option-must-have-arg, exception:not-enough-args):
734 ("option-ref", "required", "specified no value, given anyway",
735 "specified arg required"): New top-level sections.
737 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
739 * tests/numbers.test: Added Some syntax tests for
742 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
744 * Makefile.am (TESTS): Do not call the variable "TESTS", call it
745 "SCM_TESTS". This has special meaning to automake. How many
746 tries left to get this right, mvo?
748 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
750 * Makefile.am (TESTS): List tests explicitely instead of using a
751 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
753 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
755 * Makefile.am: New file, to control distribution of the
758 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
760 * tests/getopt-long.test: New file.
762 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
764 * lib.scm (run-test-exception): Add special handling for
765 `error'-generated exceptions, which pass key `misc-error' and
766 leave messages unformatted.
768 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
770 * tests/alist.test, tests/bit-operations.test,
771 tests/common-list.test, tests/environments.test, tests/eval.test,
772 tests/gc.test, tests/hooks.test, tests/import.test,
773 tests/interp.test, tests/list.test, tests/load.test,
774 tests/numbers.test, tests/ports.test, tests/r4rs.test,
775 tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
778 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
780 * tests/srfi-14.test: New file.
782 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
784 * tests/import.test: New file.
786 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
788 * tests/goops.test: Started with some real tests.
790 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
792 * guile-test: Use module (ice-9 rdelim).
794 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
796 * tests/srfi-4.test: New file.
798 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
800 Thanks to Matthias Köppe!
802 * tests/ports.test: New test for output port line counts.
803 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
806 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
808 * tests/symbols.test ("gensym"): New tests for long gensym
809 prefices and embedded NULs in prefices.
811 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
813 * test/goops.test, test/syncase.test: New, minimal tests.
815 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
817 * tests/version.test: Updated test for new micro version stuff.
819 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
821 * tests/srfi-13.test: More tests.
823 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
825 * tests/srfi-10.test: New file.
827 * tests/srfi-9.test: New file.
829 * tests/srfi-13.test: Added some more tests.
831 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
833 * tests/eval.test: ("evaluator" "memoization"): New test
835 ("transparency"): New "evaluator memoization" test.
837 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
839 * tests/srfi-13.test: Added module access kludge, and uncommented
840 some tests depending on this.
842 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
844 * tests/srfi-13.test: New file testing the SRFI string library.
846 2001-04-26 Gary Houston <ghouston@arglist.com>
848 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
851 * tests/ports.test (test-file), tests/load.test (temp-dir):
852 redefined using data-file-name instead of tmpnam. the test files
853 will be created in the build directory instead of /var/tmp or
854 whereever tmpnam puts them.
856 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
858 * tests/symbols.c: Added some tests.
860 2001-03-19 Gary Houston <ghouston@arglist.com>
862 * tests/r4rs.test: use test-file-name to locate r4rs.test,
865 * guile-test: define tmp-dir, the location where r4rs.test will
866 create it's temporary files.
867 (data-file-name): use tmp-dir. this must be under build-dir,
870 2001-03-18 Gary Houston <ghouston@arglist.com>
872 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
875 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
877 * tests/syntax.test: Added a test for let* bindings and
878 re-arranged and slightly improved the existing one.
880 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
882 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
883 test, dups are allowed in `let*' and are now expected to pass.
885 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
887 * lib.scm (run-test-exception): Preserve the original error's
888 stack for re-throwing.
890 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
892 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
893 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
896 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
898 * tests/syntax.test ("duplicate formals"): New category, move
899 appropriate tests here. Expect them to pass.
900 ("empty parentheses"): Expect to pass, bug has been fixed.
902 * tests/alist.test: Use "'()" instead of "()" in all places
903 where the empty list is meant.
905 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
907 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
910 * tests/r4rs.test: Make sure that no bindings for x and y exist
911 after the file is loaded.
913 * tests/syntax.test: New file.
915 * tests/exceptions.test, tests/syntax.test, tests/eval.test:
916 Moved the test cases that are related to guile's syntactic forms
917 from tests/exceptions.test to tests/syntax.test. Moved tests
918 related to evaluation and application to tests/eval.test.
920 * tests/exceptions.test: Added some test cases that check guile's
923 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
925 * tests/exceptions.test, tests/numbers.test: Moved the number
926 related test cases from tests/exceptions.test to
929 * tests/numbers.test: Added a test case.
931 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
933 * tests/symbols.test: New file.
935 (exception:immutable-string): New constant. Currently, this is a
936 dummy since guile does not have immutable strings.
938 * tests/exceptions.test, tests/strings.test, tests/symbols.test:
939 Moved the string related test cases from tests/exceptions.test to
940 tests/strings.test and the symbol related test cases to
943 * tests/strings.test: Copyright notice updated. Added a couple
946 (exception:immutable-string): New constant. Currently, this is a
947 dummy since guile does not have immutable strings.
949 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
951 * tests/exceptions.test: Use expect-fail-exception to indicate
952 test cases where exceptions should occur, but don't.
954 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
955 exception:missing/extra-expr): New constants.
957 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
959 * tests/reader.test, tests/exceptions.test: Moved the reader
960 related test cases from tests/exceptions.test to
963 * tests/reader.test (exception:eof, exception:unexpected-rparen):
966 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
969 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
971 * lib.scm (signals-error?, signals-error?*): Removed.
973 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
975 * lib.scm: Added comment about new convenience functions/macros
976 to test for exceptions.
978 (exception:out-of-range, exception:wrong-type-arg): New exported
981 (run-test-exception): New function.
983 (pass-if-exception, expect-fail-exception): New exported macros.
985 * tests/environments.test: Fixed tests that were checking for
986 exceptions when set!ing an unbound symbol.
988 (exception:unbound-symbol): New constant.
990 * tests/hooks.test (catch-error-returning-true, pass-if-not,
991 catch-error-returning-false), tests/weaks.test
992 (catch-error-returning-true, pass-if-not,
993 catch-error-returning-false): Removed. The macro pass-if-not was
994 not used. The macro catch-error-returning-false is unnecessary
995 since exceptions are caught by the test-suite anyway. The
996 functionality of catch-error-returning-true is provided by the new
997 convenience macro pass-if-exception.
999 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
1000 Maybe a standard wrong-num-arg exception should be thrown instead
1003 * tests/reader.test (try-to-read): Replaced by read-string.
1005 (read-string): New function.
1007 * tests/alist.test, tests/environments.test, tests/eval.test,
1008 tests/hooks.test, tests/list.test, tests/ports.test,
1009 tests/reader.test, tests/strings.test, tests/weaks.test: Replace
1010 tests for exceptions with the new convenience macros.
1012 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1014 * tests/alist.test: Remove redundant test name prefix.
1016 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
1018 * lib.scm (pass-if): Tests shall return a boolean value.
1020 * tests/bit-operations.test (documented?), tests/common-list.test
1021 (documented?), tests/environments.test (documented?),
1022 tests/eval.test (documented?), tests/gc.test (documented?),
1023 tests/numbers.test (documented?), tests/guardians.test,
1024 tests/hooks.test, tests/interp.test, tests/weaks.test: Make sure
1025 that tests return a boolean value.
1027 * tests/list.test (documented?): New function, replace all checks
1028 for documentation with calls to this function.
1030 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1032 * lib.scm (data-file): Remove from export list.
1034 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
1036 * tests/exceptions.test (syntax lambda): Renamed from (lambda).
1037 (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
1038 (syntax reading): New section.
1039 (syntax let*): New section.
1040 (syntax letrec): New section.
1041 (syntax set!): New section.
1042 (syntax misc): New section.
1043 (bindings unbound): New section.
1044 (bindings immutable-modification): New section.
1045 (bindings let): New section.
1046 (bindings let*): New section.
1047 (bindings letrec): New section.
1049 * tests/exceptions.test: New file.
1051 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
1053 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
1056 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1058 This patch fixes things that I have broken with the last one :-(
1060 * guile-test (test-suite): New variable.
1062 (data-file-name): New function. Has the same purpose as the
1063 former function data-file from lib.scm. Moved here in order to
1064 have all file name handling at the same place. In contrast to the
1065 former 'data-file function, it is not checked whether a file
1066 exists. This allows to use this function also for file names of
1067 files that are still to be created.
1069 (test-file-name): Use the global 'test-suite variable.
1071 (main): Initialize 'test-suite instead of a local variable.
1073 * lib.scm: Don't import paths any more.
1075 (data-file): Removed. Resurrected with a sligtly different
1076 functionality as 'data-file-name' in guile-test.
1078 * r4rs.scm: For all references to temporary file, make use of
1081 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1083 The following patch was sent by Thien-Thi Nguyen and a little bit
1086 * guile-test: Usage and installation comments improved. Added
1087 support for --test-suite and --debug command line options.
1089 (default-test-suite): Added to allow for simplified
1090 configurability. No need to load the paths file any more.
1092 (enable-debug-mode): New function. Will be called when the
1093 --debug command line option is given.
1095 (test-root): Removed. The test directory has to be fully given.
1096 This allows for arbitrarily named test directories.
1098 (test-file-name, enumerate-tets): Take the test directory as a
1099 paramter instead of using the global variable 'test-root'.
1101 (main): Handle the new command line options. Return an exit code
1102 depending on whether all tests came out as expected.
1106 * paths.scm: Removed.
1108 2001-01-24 Gary Houston <ghouston@arglist.com>
1110 * tests/ports.test: include (ice-9 rdelim) module.
1112 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
1114 * tests/numbers.test: Converted to do real boundary testing.
1116 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
1118 * tests/bit-operations.test: Added.
1120 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
1122 * tests/gc.test: Added.
1124 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1126 * tests/strings.test: string=? is fixed.
1128 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1130 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
1132 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1134 * tests/strings.test: Added a test to help remember that string=?
1135 and friends need fixing.
1137 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1139 * tests/environments.test: For tests that rely on garbage
1140 collection, conservative scanning can be a problem. Add a comment
1141 for these tests and make them turn out unresolved if things don't
1144 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1146 * tests/environments.test: Finished and cleaned up the tests for
1147 the leaf environments. Added a complete set of testcases for the
1148 leaf environment based eval environments. Started with the tests
1149 for the import environments.
1151 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
1153 * tests/environments.test: Added.
1155 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1157 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
1160 * tests/eval.test: Fix documentation test.
1162 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
1164 * tests/list.test: Added tests for list-ref, list-set! and
1167 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1169 * tests/common-list.test: Added.
1171 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
1173 * tests/eval.test: Added.
1175 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1177 * tests/list.test: Use cons* instead of list*.
1179 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1181 * tests/numbers.test, tests/list.test: Updated for new
1182 documentation module.
1184 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1186 * tests/hooks.test: make-hook-with-name is deprecated.
1188 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
1190 * tests/list.test, tests/numbers.test: Added.
1192 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
1194 * guile-test: Eliminate use of catch-test-errors.
1196 * lib.scm: Adopted a couple of nice ideas from Greg.
1198 (pass, fail, expect-failure, expect-failure-if,
1199 expect-failure-if*, catch-test-errors, catch-test-errors*,
1200 expected-failure-fluid, pessimist?): Removed.
1202 (run-test, expect-fail, result-tags, important-result-tags):
1205 (report, make-count-reporter, print-counts, make-log-reporter,
1206 full-reporter, user-reporter): Reporters take two mandatory
1207 arguments and make use of the tag descriptions in result-tags and
1208 important-result-tags.
1210 * tests/alist.test, tests/hooks.test, tests/ports.test,
1211 tests/weaks.test: Don't use catch-test-errors and
1214 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
1216 * mambo.test: Removed dummy file.
1218 2000-03-31 Gary Houston <ghouston@arglist.com>
1220 * tests/ports.test (non-blocking-I/O): a couple more details:
1221 a) combine the O_NONBLOCK flag with the default flags instead
1222 of replacing them. b) check EWOULDBLOCK as well as EAGAIN.
1224 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
1226 * lib.scm: Doc fixes.
1228 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
1230 * paths.scm: Assume that ~/guile-core/test-suite is the location
1231 of the test suite now.
1233 * tests/version.test: Added -- version.c had 0% coverage before,
1236 * tests/chars.test: Added -- needed test of char-is-both?.
1238 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1240 * tests/weaks.test, tests/hooks.test: Added.
1242 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
1244 * tests/alist.test: Added.
1246 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
1248 * tests/c-api.test: Refine the list of files that are checked in
1249 the seek-offset-test. Was just using files that end in "c", but
1250 that caught the new ".doc" files, too, so make sure that files end
1251 in ".c" before requiring that they include unistd.h if they
1252 reference SEEK_(SET|CUR|END).
1254 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
1256 * tests/ports.test ("string ports"): test seeking/unreading from
1257 an input string and seeking an output string.
1259 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
1261 * tests/ports.test: in seek/tell test on input port, also test
1262 that ftell doesn't discard unread chars.
1264 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
1266 * tests/ports.test: add seek/tell tests for unidirectional ports.
1268 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
1270 * tests/reader.test: Check that number->string checks its radix
1273 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1275 * tests/ports.test: Check that our input functions cope when
1276 current-input-port is closed.
1278 * tests/regexp.test: Check regexp-substitute/global when there are
1281 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1283 * tests/c-api.test: New file. Add test to check that all source
1284 files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.
1286 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
1288 * tests/ports.test: test non-blocking I/O.
1290 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1292 * tests/strings.test: Add test for substring-move! argument checking.
1294 * lib.scm (signals-error?, signals-error?*): New macro and function.
1295 * tests/reader.test: Use them.
1297 * tests/interp.test: Add copyright notice.
1299 * tests/reader.test: New test file.
1301 * tests/regexp.test: New test file.
1303 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1305 * tests/interp.test: Added tests for evaluation of closure bodies.
1307 1999-09-03 James Blandy <jimb@mule.m17n.org>
1309 * tests/multilingual.nottest: New file, which we will turn into a
1310 test file once we actually have multilingual support to test.
1312 * tests/load.test: New test file.
1314 1999-08-30 James Blandy <jimb@mule.m17n.org>
1316 * tests/strings.test: New test file.
1318 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
1320 * tests/ports.test: test unread-char and unread-string.
1322 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
1324 * tests/ports.test: test line-buffering of fports.
1326 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
1328 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
1330 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
1332 * tests/ports.test: lseek -> seek.
1334 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
1336 * tests/ports.test: tests for buffered and unbuffered input/output
1337 fports with seeking.
1339 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
1341 * tests/r4rs.test (SECTION 3 4): Each element of type-matrix
1342 corresponds to an example object, not a predicate. Aubrey
1343 probably never noticed this because SCM doesn't check the lengths
1344 of the arguments to for-each and map...
1346 * tests/ports.test: Add some regression tests for char-ready?.
1348 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1350 * tests/ports.test: Fix copyright years.
1352 * tests/guardians.test: New test file.
1354 * tests/ports.test ("read-delimited!"): New tests.
1356 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
1358 * tests/interp.test: New file.
1360 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1362 * tests/time.test: New test file.
1364 * tests/r4rs.test: New set of tests, taken from Guile's test
1365 script, taken from SCM.
1367 * tests/ports.test: Group the string port tests under a new
1370 * tests/ports.test ("line counter"): Check the final column, too.
1372 * lib.scm: Import (test-suite paths).
1373 (data-file): New exported function.
1375 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
1377 * tests/ports.test ("line counter"): Add test for correct column
1380 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1382 * tests/ports.test ("line counter"): Verify that we do eventually
1383 get EOF on the port --- don't just read forever.
1385 * lib.scm (full-reporter): The test name is the cadr of the
1386 result, not the cdr. I'm not macho enough to handle run-time
1389 * lib.scm (print-counts): XFAILS are "expected failures", not
1390 "unexpected failures."
1392 * lib.scm, guile-test, paths.scm: Log begins.