1 2003-10-02 Kevin Ryde <user42@zip.com.au>
3 * tests/ports.test (call-with-output-string): Test proc closing port.
5 2003-09-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
7 * guile-test: Wrapped in module (test-suite guile-test).
9 (main data-file-name test-file-name): Exported.
11 ((guile-user)::main): New function, wrapper for function
12 (test-suite guile-test)::main.
14 * tests/load.test: Wrapped in module (test-suite test-load).
16 * tests/ports.test: Wrapped in module (test-suite test-ports).
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
23 * tests/syntax.test: Wrapped in module (test-suite test-syntax)
25 2003-09-19 Kevin Ryde <user42@zip.com.au>
27 * tests/popen.test: New file.
28 * Makefile.am (SCM_TESTS): Add it.
30 2003-09-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
32 * tests/numbers.test (equal?): Added tests.
34 * tests/numbers.test (=): Fixed and added some bignum related
37 2003-08-30 Kevin Ryde <user42@zip.com.au>
39 * tests/numbers.test (logcount): Add tests.
41 2003-08-23 Kevin Ryde <user42@zip.com.au>
43 * tests/srfi-1.test (list-copy): New tests.
45 * tests/srfi-19.test (date-week-number): Add tests.
47 2003-08-22 Kevin Ryde <user42@zip.com.au>
49 * tests/numbers.test (-): Exercise bignum - inum.
51 2003-08-17 Kevin Ryde <user42@zip.com.au>
53 * tests/syntax.test (while): Exercise break and continue from
54 recursive nested loops.
56 2003-08-14 Kevin Ryde <user42@zip.com.au>
58 * tests/syntax.test (while): New tests.
60 2003-08-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
67 2003-08-09 Kevin Ryde <user42@zip.com.au>
69 * tests/srcprop.test: New file.
70 * Makefile.am (SCM_TESTS): Add it.
72 2003-07-29 Kevin Ryde <user42@zip.com.au>
74 * tests/srfi-1.test (concatenate, concatenate!): New tests.
77 * tests/srfi-34.test: Check cond-expand srfi-34.
79 2003-07-24 Kevin Ryde <user42@zip.com.au>
81 * tests/numbers.test (angle): New tests.
83 2003-07-18 Kevin Ryde <user42@zip.com.au>
85 * tests/numbers.test (*): Add complex/bignum test.
87 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
89 * tests/srfi-1.test (partition): Add tests.
91 2003-07-08 Kevin Ryde <user42@zip.com.au>
93 * tests/numbers.test (make-polar, magnitude): New tests.
95 * tests/srfi-1.test (delete, delete!): Add more tests.
96 (delete-duplicates, delete-duplicates!): New tests.
98 2003-06-21 Kevin Ryde <user42@zip.com.au>
100 * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
103 2003-06-19 Kevin Ryde <user42@zip.com.au>
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.
109 2003-06-07 Kevin Ryde <user42@zip.com.au>
111 * tests/srfi-6.test: New file.
112 * Makefile.am (SCM_TESTS): Add it.
114 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
116 * tests/chars.test: Fixed test comment. The bug that this test
117 detects was actually introduced by my patch from 2003-05-31.
119 2003-06-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
125 2003-06-05 Kevin Ryde <user42@zip.com.au>
127 * tests/numbers.test (logcount): Add a few more tests, to exercise
128 recent scm_logcount change.
130 * tests/reader.test (reading): Test bad # error message is formattable.
132 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
134 * tests/pairs.test: Added.
136 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
138 * tests/vectors.test: Added.
140 2003-06-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
142 * tests/guardians.test: Uses module (ice-9 weak-vector).
144 2003-05-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
146 * lib.scm: Documented the short form for pass-if and expect-fail.
148 (pass-if, expect-fail): Simplified.
150 2003-05-30 Kevin Ryde <user42@zip.com.au>
152 * tests/numbers.test (max, min): Add tests involving NaNs.
154 2003-05-29 Stefan Jahn <stefan@lkcc.org>
156 * standalone/Makefile.am: Setup to build on mingw32.
158 2003-05-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
160 * tests/elisp.test: Added missing quote around vector constants.
162 2003-05-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
164 * tests/r5rs_pitfall.test: Test 2.1 now passes.
166 2003-05-13 Kevin Ryde <user42@zip.com.au>
168 * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
171 * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
173 2003-05-10 Kevin Ryde <user42@zip.com.au>
175 * tests/numbers.test (=, <): Add tests involving NaNs.
177 * tests/numbers.test (integer-length): Exercise some negatives, in
178 particular -2^n which is ...11100..00.
180 * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
183 * tests/srfi-1.test: New file, exercising take and drop.
184 * Makefile.am (SCM_TESTS): Add it.
186 2003-05-06 Kevin Ryde <user42@zip.com.au>
188 * tests/numbers.test (-): Add test for negative inum subtract bignum.
189 (logcount): New tests, exercising some negatives.
191 2003-05-03 Marius Vollmer <mvo@zagadka.de>
193 * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for
194 pointing us to these tests.
196 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
198 * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
200 * tests/srfi-34.test: New file.
202 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
209 2003-04-23 Dirk Herrmann <D.Herrmann@tu-bs.de>
211 * tests/guardians.test: Added some more elaborate and
212 sophisticated tests for the guardian functionality.
214 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
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
220 2003-04-17 Mikael Djurfeldt <djurfeldt@nada.kth.se>
222 * tests/goops.test: Added tests for correctness of class
223 precedence list in all basic classes and tests for eqv? and
226 2003-04-15 Mikael Djurfeldt <djurfeldt@nada.kth.se>
228 * tests/goops.test: Added tests for class redefinition, object
229 update and active slots.
231 2003-04-14 Rob Browning <rlb@defaultvalue.org>
233 * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
234 test-asmobs-lib.x rather than test-asmobs-lib.x.c.
236 * standalone/Makefile.am: change from .c.x to .x to be consistent
237 with the rest of guile.
239 2003-04-09 Han-Wen Nienhuys <hanwen@cs.uu.nl>
241 * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
244 2003-04-07 Rob Browning <rlb@defaultvalue.org>
246 * Makefile.am (SUBDIRS): add standalone.
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.
252 * standalone/test-num2integral.c: new test -- one new regression
255 * standalone/test-gh.c: new test code (migrated from
256 tests/c-api/) -- a trivial start.
258 * standalone/test-asmobs-lib.c: new test script (migrated from
261 * standalone/test-asmobs: new test script.
263 * standalone/README: new file.
265 * standalone/Makefile.am: new file.
267 * standalone/.cvsignore: new file.
269 * tests/asmobs/Makefile: removed (functionality is now in standalone/).
271 * tests/asmobs/README: removed (functionality is now in standalone/).
273 * tests/asmobs/asmobs-test.scm: removed (functionality is now in
276 * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
278 * tests/asmobs/: removed (functionality is now in standalone/).
280 * tests/c-api/strings.c: add a note to the source about this code
283 2003-04-05 Marius Vollmer <mvo@zagadka.de>
285 * Changed license terms to the plain LGPL thru-out.
287 2003-03-24 Rob Browning <rlb@defaultvalue.org>
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.
303 ("zero?"): added tests.
304 ("positive?"): added tests.
305 ("negative?"): added tests.
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)).
312 2003-03-19 Marius Vollmer <mvo@zagadka.de>
314 * tests/format.test ("format basic output"): Added test for "~F"
315 from Matthias Koeppe.
317 2003-02-19 Mikael Djurfeldt <djurfeldt@nada.kth.se>
319 * tests/elisp.test: Use module (ice-9 weak-vector).
321 * tests/weaks.test: Use module (ice-9 weak-vector).
323 2002-12-08 Rob Browning <rlb@defaultvalue.org>
325 * tests/version.test: test (effective-version).
327 2002-11-06 Neil Jerram <neil@ossau.uklinux.net>
329 * tests/options.test: New.
331 2002-10-04 Rob Browning <rlb@defaultvalue.org>
333 * tests/numbers.test ("expt"): add tests.
335 2002-09-09 Marius Vollmer <mvo@zagadka.ping.de>
337 * Makefile.am (dist-hook): Do not distribute CVS directories.
338 Thanks to Greg Troxel!
340 2002-08-06 Han-Wen Nienhuys <hanwen@cs.uu.nl>
342 * tests/reader.test: change misc-error in read-error.
344 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
346 * tests/goops.test: Added tests for define-generic and
349 2002-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
351 * tests/goops.test: Added tests for define-class.
353 2002-05-07 Marius Vollmer <mvo@zagadka.ping.de>
355 * tests/numbers.test (/): Expect divison by an inexact zero to
358 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
360 * tests/regexp.test (regexp-substitute/global): Do not test with
361 empty regexp. Empty regexps do not work on NetBSD.
363 * tests/syncase.test (basic syncase macro): Added.
365 2002-04-26 Marius Vollmer <mvo@zagadka.ping.de>
367 * tests/srfi-13.test (string-tokenize): Updated for fixed
370 2002-04-16 Marius Vollmer <mvo@zagadka.ping.de>
372 * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
373 directories manually.
375 2002-02-09 Thien-Thi Nguyen <ttn@giblet.glug.org>
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.
381 2002-02-08 Neil Jerram <neil@ossau.uklinux.net>
383 * tests/elisp.test: Add tests of Elisp expression evaluation.
385 2002-01-25 Neil Jerram <neil@ossau.uklinux.net>
387 * tests/load.test: New test; for search-path with Elisp
388 nil-terminated lists for PATH and EXTENSIONS.
390 * tests/elisp.test: More tests for Scheme primitives that should
391 accept Elisp nil-terminated lists.
393 2002-01-24 Neil Jerram <neil@ossau.uklinux.net>
395 * tests/elisp.test: More new tests for the Elisp nil value.
397 2002-01-22 Neil Jerram <neil@ossau.uklinux.net>
399 * Makefile.am (SCM_TESTS): Added elisp.test.
401 * tests/elisp.test: New file.
403 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
405 * tests/numbers.test: Added more division by zero tests.
407 2001-11-22 Dirk Herrmann <D.Herrmann@tu-bs.de>
409 * tests/numbers.test: Added division by zero tests.
411 2001-11-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
417 * tests/srfi-17.test: New file.
419 2001-11-04 Stefan Jahn <stefan@lkcc.org>
421 * tests/ports.test: Run (close-port) before (delete-file) if
424 2001-10-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
426 * tests/eval.test: Added tests for promises.
428 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
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
435 2001-10-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
441 2001-10-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
443 * tests/syntax.test: Added test cases for 'lambda' syntax.
445 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
447 * tests/syntax.test: Added test cases for 'case' syntax.
449 2001-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
451 * tests/numbers.test: Added a test case that checks if valid
452 number strings are transformed correctly by string->number.
454 2001-09-21 Rob Browning <rlb@defaultvalue.org>
456 * tests/numbers.test (fixnum-bit): compute dynamically.
458 * tests/bit-operations.test (fixnum-bit): compute dynamically.
460 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
462 * tests/getopt-long.test ("apples-blimps-catalexis example",
463 "multiple occurances"): New top-level sections.
465 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
467 * tests/numbers.test: Made some of the patterns better readable.
469 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
471 * tests/srfi-19.test (test-time-comparision,
472 test-time-arithmatic): New procs.
474 Add time comparison tests using new procs.
475 Thanks to Alex Shinn.
477 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
479 * tests/dynamic-scope.test: New file.
481 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
483 * tests/srfi-13.test (string-for-each, string-for-each-index):
484 Add tests. (Thanks to Alex Shinn.)
486 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
488 * tests/srfi-13.test (string-map): Swapped order of string and
489 proc args to conform with the srfi. (Thanks to Alex Shinn.)
491 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
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):
499 ("option-ref", "required", "specified no value, given anyway",
500 "specified arg required"): New top-level sections.
502 2001-08-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
504 * tests/numbers.test: Added Some syntax tests for
507 2001-08-09 Marius Vollmer <marius.vollmer@uni-dortmund.de>
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?
513 2001-08-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
515 * Makefile.am (TESTS): List tests explicitely instead of using a
516 wildcard. Wildcards don't seem to work for VPATH "make dist"s.
518 2001-08-07 Marius Vollmer <mvo@zagadka.ping.de>
520 * Makefile.am: New file, to control distribution of the
523 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
525 * tests/getopt-long.test: New file.
527 2001-08-01 Thien-Thi Nguyen <ttn@revel.glug.org>
529 * lib.scm (run-test-exception): Add special handling for
530 `error'-generated exceptions, which pass key `misc-error' and
531 leave messages unformatted.
533 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
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
543 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
545 * tests/srfi-14.test: New file.
547 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
549 * tests/import.test: New file.
551 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
553 * tests/goops.test: Started with some real tests.
555 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
557 * guile-test: Use module (ice-9 rdelim).
559 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
561 * tests/srfi-4.test: New file.
563 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
565 Thanks to Matthias Köppe!
567 * tests/ports.test: New test for output port line counts.
568 * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
571 2001-05-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
573 * tests/symbols.test ("gensym"): New tests for long gensym
574 prefices and embedded NULs in prefices.
576 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
578 * test/goops.test, test/syncase.test: New, minimal tests.
580 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
582 * tests/version.test: Updated test for new micro version stuff.
584 2001-05-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
586 * tests/srfi-13.test: More tests.
588 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
590 * tests/srfi-10.test: New file.
592 * tests/srfi-9.test: New file.
594 * tests/srfi-13.test: Added some more tests.
596 2001-05-09 Thien-Thi Nguyen <ttn@revel.glug.org>
598 * tests/eval.test: ("evaluator" "memoization"): New test
600 ("transparency"): New "evaluator memoization" test.
602 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
604 * tests/srfi-13.test: Added module access kludge, and uncommented
605 some tests depending on this.
607 2001-05-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
609 * tests/srfi-13.test: New file testing the SRFI string library.
611 2001-04-26 Gary Houston <ghouston@arglist.com>
613 * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
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.
621 2001-04-02 Dirk Herrmann <D.Herrmann@tu-bs.de>
623 * tests/symbols.c: Added some tests.
625 2001-03-19 Gary Houston <ghouston@arglist.com>
627 * tests/r4rs.test: use test-file-name to locate r4rs.test,
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,
635 2001-03-18 Gary Houston <ghouston@arglist.com>
637 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
640 2001-03-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
642 * tests/syntax.test: Added a test for let* bindings and
643 re-arranged and slightly improved the existing one.
645 2001-03-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
647 * tests/syntax.test ("let*"): Changed the `duplicate bindings'
648 test, dups are allowed in `let*' and are now expected to pass.
650 2001-03-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
652 * lib.scm (run-test-exception): Preserve the original error's
653 stack for re-throwing.
655 2001-03-04 Marius Vollmer <mvo@zagadka.ping.de>
657 * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
658 bindings", "letrec,duplicate bindings"): Expect to pass, bug has
661 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
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.
667 * tests/alist.test: Use "'()" instead of "()" in all places
668 where the empty list is meant.
670 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
672 * lib.scm (exception:unbound-var, exception:wrong-num-args): New
675 * tests/r4rs.test: Make sure that no bindings for x and y exist
676 after the file is loaded.
678 * tests/syntax.test: New file.
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.
685 * tests/exceptions.test: Added some test cases that check guile's
688 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
690 * tests/exceptions.test, tests/numbers.test: Moved the number
691 related test cases from tests/exceptions.test to
694 * tests/numbers.test: Added a test case.
696 2001-03-01 Dirk Herrmann <D.Herrmann@tu-bs.de>
698 * tests/symbols.test: New file.
700 (exception:immutable-string): New constant. Currently, this is a
701 dummy since guile does not have immutable strings.
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
708 * tests/strings.test: Copyright notice updated. Added a couple
711 (exception:immutable-string): New constant. Currently, this is a
712 dummy since guile does not have immutable strings.
714 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
716 * tests/exceptions.test: Use expect-fail-exception to indicate
717 test cases where exceptions should occur, but don't.
719 (exception:bad-bindings, exception:bad-formals, exception:bad-var,
720 exception:missing/extra-expr): New constants.
722 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
724 * tests/reader.test, tests/exceptions.test: Moved the reader
725 related test cases from tests/exceptions.test to
728 * tests/reader.test (exception:eof, exception:unexpected-rparen):
731 * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
734 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
736 * lib.scm (signals-error?, signals-error?*): Removed.
738 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
740 * lib.scm: Added comment about new convenience functions/macros
741 to test for exceptions.
743 (exception:out-of-range, exception:wrong-type-arg): New exported
746 (run-test-exception): New function.
748 (pass-if-exception, expect-fail-exception): New exported macros.
750 * tests/environments.test: Fixed tests that were checking for
751 exceptions when set!ing an unbound symbol.
753 (exception:unbound-symbol): New constant.
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.
764 * tests/hooks.test (exception:wrong-num-hook-args): New constant.
765 Maybe a standard wrong-num-arg exception should be thrown instead
768 * tests/reader.test (try-to-read): Replaced by read-string.
770 (read-string): New function.
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.
777 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
779 * tests/alist.test: Remove redundant test name prefix.
781 2001-02-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
783 * lib.scm (pass-if): Tests shall return a boolean value.
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.
792 * tests/list.test (documented?): New function, replace all checks
793 for documentation with calls to this function.
795 2001-02-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
797 * lib.scm (data-file): Remove from export list.
799 2001-02-22 Thien-Thi Nguyen <ttn@revel.glug.org>
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.
814 * tests/exceptions.test: New file.
816 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
818 * guile-test: Use (ice-9 and-let-star) instead of (ice-9
821 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
823 This patch fixes things that I have broken with the last one :-(
825 * guile-test (test-suite): New variable.
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.
834 (test-file-name): Use the global 'test-suite variable.
836 (main): Initialize 'test-suite instead of a local variable.
838 * lib.scm: Don't import paths any more.
840 (data-file): Removed. Resurrected with a sligtly different
841 functionality as 'data-file-name' in guile-test.
843 * r4rs.scm: For all references to temporary file, make use of
846 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
848 The following patch was sent by Thien-Thi Nguyen and a little bit
851 * guile-test: Usage and installation comments improved. Added
852 support for --test-suite and --debug command line options.
854 (default-test-suite): Added to allow for simplified
855 configurability. No need to load the paths file any more.
857 (enable-debug-mode): New function. Will be called when the
858 --debug command line option is given.
860 (test-root): Removed. The test directory has to be fully given.
861 This allows for arbitrarily named test directories.
863 (test-file-name, enumerate-tets): Take the test directory as a
864 paramter instead of using the global variable 'test-root'.
866 (main): Handle the new command line options. Return an exit code
867 depending on whether all tests came out as expected.
871 * paths.scm: Removed.
873 2001-01-24 Gary Houston <ghouston@arglist.com>
875 * tests/ports.test: include (ice-9 rdelim) module.
877 2001-01-18 Dirk Herrmann <D.Herrmann@tu-bs.de>
879 * tests/numbers.test: Converted to do real boundary testing.
881 2001-01-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
883 * tests/bit-operations.test: Added.
885 2000-11-03 Dirk Herrmann <D.Herrmann@tu-bs.de>
887 * tests/gc.test: Added.
889 2000-10-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
891 * tests/strings.test: string=? is fixed.
893 2000-10-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
895 * tests/list.test: Removed references to sloppy-mem(q|v|ber)
897 2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
899 * tests/strings.test: Added a test to help remember that string=?
900 and friends need fixing.
902 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
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
909 2000-09-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
916 2000-08-25 Dirk Herrmann <D.Herrmann@tu-bs.de>
918 * tests/environments.test: Added.
920 2000-08-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
922 * lib.scm (pass-if, expect-fail): Generalized to allow a sequence
925 * tests/eval.test: Fix documentation test.
927 2000-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
929 * tests/list.test: Added tests for list-ref, list-set! and
932 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
934 * tests/common-list.test: Added.
936 2000-06-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
938 * tests/eval.test: Added.
940 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
942 * tests/list.test: Use cons* instead of list*.
944 2000-06-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
946 * tests/numbers.test, tests/list.test: Updated for new
947 documentation module.
949 2000-05-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
951 * tests/hooks.test: make-hook-with-name is deprecated.
953 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
955 * tests/list.test, tests/numbers.test: Added.
957 2000-05-08 Dirk Herrmann <D.Herrmann@tu-bs.de>
959 * guile-test: Eliminate use of catch-test-errors.
961 * lib.scm: Adopted a couple of nice ideas from Greg.
963 (pass, fail, expect-failure, expect-failure-if,
964 expect-failure-if*, catch-test-errors, catch-test-errors*,
965 expected-failure-fluid, pessimist?): Removed.
967 (run-test, expect-fail, result-tags, important-result-tags):
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.
975 * tests/alist.test, tests/hooks.test, tests/ports.test,
976 tests/weaks.test: Don't use catch-test-errors and
979 2000-05-05 Dirk Herrmann <D.Herrmann@tu-bs.de>
981 * mambo.test: Removed dummy file.
983 2000-03-31 Gary Houston <ghouston@arglist.com>
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.
989 2000-03-22 Jim Blandy <jimb@savonarola.red-bean.com>
991 * lib.scm: Doc fixes.
993 Sun Jan 16 14:01:51 2000 Greg J. Badros <gjb@cs.washington.edu>
995 * paths.scm: Assume that ~/guile-core/test-suite is the location
996 of the test suite now.
998 * tests/version.test: Added -- version.c had 0% coverage before,
1001 * tests/chars.test: Added -- needed test of char-is-both?.
1003 1999-12-22 Greg Harvey <Greg.Harvey@thezone.net>
1005 * tests/weaks.test, tests/hooks.test: Added.
1007 1999-12-18 Greg Harvey <Greg.Harvey@thezone.net>
1009 * tests/alist.test: Added.
1011 Fri Dec 17 12:14:10 1999 Greg J. Badros <gjb@cs.washington.edu>
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).
1019 1999-10-24 Gary Houston <ghouston@freewire.co.uk>
1021 * tests/ports.test ("string ports"): test seeking/unreading from
1022 an input string and seeking an output string.
1024 1999-10-20 Gary Houston <ghouston@freewire.co.uk>
1026 * tests/ports.test: in seek/tell test on input port, also test
1027 that ftell doesn't discard unread chars.
1029 1999-10-18 Gary Houston <ghouston@freewire.co.uk>
1031 * tests/ports.test: add seek/tell tests for unidirectional ports.
1033 1999-09-25 Jim Blandy <jimb@savonarola.red-bean.com>
1035 * tests/reader.test: Check that number->string checks its radix
1038 1999-09-20 Jim Blandy <jimb@savonarola.red-bean.com>
1040 * tests/ports.test: Check that our input functions cope when
1041 current-input-port is closed.
1043 * tests/regexp.test: Check regexp-substitute/global when there are
1046 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
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.
1051 1999-09-14 Gary Houston <ghouston@freewire.co.uk>
1053 * tests/ports.test: test non-blocking I/O.
1055 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1057 * tests/strings.test: Add test for substring-move! argument checking.
1059 * lib.scm (signals-error?, signals-error?*): New macro and function.
1060 * tests/reader.test: Use them.
1062 * tests/interp.test: Add copyright notice.
1064 * tests/reader.test: New test file.
1066 * tests/regexp.test: New test file.
1068 1999-09-06 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1070 * tests/interp.test: Added tests for evaluation of closure bodies.
1072 1999-09-03 James Blandy <jimb@mule.m17n.org>
1074 * tests/multilingual.nottest: New file, which we will turn into a
1075 test file once we actually have multilingual support to test.
1077 * tests/load.test: New test file.
1079 1999-08-30 James Blandy <jimb@mule.m17n.org>
1081 * tests/strings.test: New test file.
1083 1999-08-29 Gary Houston <ghouston@easynet.co.uk>
1085 * tests/ports.test: test unread-char and unread-string.
1087 1999-08-19 Gary Houston <ghouston@easynet.co.uk>
1089 * tests/ports.test: test line-buffering of fports.
1091 1999-08-18 Gary Houston <ghouston@easynet.co.uk>
1093 * tests/ports.test: tests for NUL and non-ASCII chars to fports.
1095 1999-08-12 Gary Houston <ghouston@easynet.co.uk>
1097 * tests/ports.test: lseek -> seek.
1099 1999-08-04 Gary Houston <ghouston@easynet.co.uk>
1101 * tests/ports.test: tests for buffered and unbuffered input/output
1102 fports with seeking.
1104 1999-08-01 Jim Blandy <jimb@savonarola.red-bean.com>
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...
1111 * tests/ports.test: Add some regression tests for char-ready?.
1113 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1115 * tests/ports.test: Fix copyright years.
1117 * tests/guardians.test: New test file.
1119 * tests/ports.test ("read-delimited!"): New tests.
1121 1999-06-19 Jim Blandy <jimb@savonarola.red-bean.com>
1123 * tests/interp.test: New file.
1125 1999-06-15 Jim Blandy <jimb@savonarola.red-bean.com>
1127 * tests/time.test: New test file.
1129 * tests/r4rs.test: New set of tests, taken from Guile's test
1130 script, taken from SCM.
1132 * tests/ports.test: Group the string port tests under a new
1135 * tests/ports.test ("line counter"): Check the final column, too.
1137 * lib.scm: Import (test-suite paths).
1138 (data-file): New exported function.
1140 1999-06-12 Jim Blandy <jimb@savonarola.red-bean.com>
1142 * tests/ports.test ("line counter"): Add test for correct column
1145 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1147 * tests/ports.test ("line counter"): Verify that we do eventually
1148 get EOF on the port --- don't just read forever.
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
1154 * lib.scm (print-counts): XFAILS are "expected failures", not
1155 "unexpected failures."
1157 * lib.scm, guile-test, paths.scm: Log begins.