* tests/reader.test: change misc-error in read-error.
[bpt/guile.git] / test-suite / ChangeLog
index 77f6827..0a6cca9 100644 (file)
@@ -1,3 +1,484 @@
+2002-08-06  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * tests/reader.test: change misc-error in read-error.
+
+2002-07-13  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/goops.test: Added tests for define-generic and
+       define-accessor.
+
+2002-07-13  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/goops.test: Added tests for define-class.
+
+2002-05-07  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/numbers.test (/): Expect divison by an inexact zero to
+       yield +inf.0.
+
+2002-05-06  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/regexp.test (regexp-substitute/global): Do not test with
+       empty regexp.  Empty regexps do not work on NetBSD.
+
+       * tests/syncase.test (basic syncase macro): Added.
+
+2002-04-26  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/srfi-13.test (string-tokenize): Updated for fixed
+       semantics.
+
+2002-04-16  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute
+       directories manually.
+
+2002-02-09  Thien-Thi Nguyen  <ttn@giblet.glug.org>
+
+       * guile-test (main): Handle `--flag-unresolved'.  No longer set
+       exit value to #f unconditionally on UNRESOLVED results.
+       (for-each-file): Do not recurse into "CVS" or "RCS" subdirs.
+
+2002-02-08  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/elisp.test: Add tests of Elisp expression evaluation.
+
+2002-01-25  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/load.test: New test; for search-path with Elisp
+       nil-terminated lists for PATH and EXTENSIONS.
+
+       * tests/elisp.test: More tests for Scheme primitives that should
+       accept Elisp nil-terminated lists.
+
+2002-01-24  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/elisp.test: More new tests for the Elisp nil value.
+
+2002-01-22  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * Makefile.am (SCM_TESTS): Added elisp.test.
+
+       * tests/elisp.test: New file.
+
+2001-11-22  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test: Added more division by zero tests.
+
+2001-11-22  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test: Added division by zero tests.
+
+2001-11-17  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test: Added some tests, updated some others with
+       respect to recent changes in eval.c.  Further, extracted test
+       cases for guile's extended set! functionality to srfi-17.test.
+
+       * tests/srfi-17.test:  New file.
+
+2001-11-04  Stefan Jahn  <stefan@lkcc.org>
+
+       * tests/ports.test: Run (close-port) before (delete-file) if
+       necessary/advisory.
+
+2001-10-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/eval.test:  Added tests for promises.
+
+2001-10-21  Mikael Djurfeldt  <mdj@linnaeus>
+
+       * lib.scm: Move module the system directives `export',
+         `export-syntax', `re-export' and `re-export-syntax' into the
+         `define-module' form.  This is the recommended way of exporting
+         bindings.
+
+2001-10-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test:  Added test cases for 'cond =>' syntax with
+       else clause.  Changed some tests and comments related to the
+       'case' form to reflect recent changes in the implementation.
+
+2001-10-14  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test:  Added test cases for 'lambda' syntax.
+
+2001-10-13  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test:  Added test cases for 'case' syntax.
+
+2001-10-13  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test:  Added a test case that checks if valid
+       number strings are transformed correctly by string->number.
+
+2001-09-21  Rob Browning  <rlb@defaultvalue.org>
+
+       * tests/numbers.test (fixnum-bit): compute dynamically.
+
+       * tests/bit-operations.test (fixnum-bit): compute dynamically.
+
+2001-09-07  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/getopt-long.test ("apples-blimps-catalexis example",
+       "multiple occurances"): New top-level sections.
+
+2001-08-31  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test:  Made some of the patterns better readable.
+
+2001-08-25  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/srfi-19.test (test-time-comparision,
+       test-time-arithmatic): New procs.
+
+       Add time comparison tests using new procs.
+       Thanks to Alex Shinn.
+
+2001-08-25  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/dynamic-scope.test: New file.
+
+2001-08-24  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/srfi-13.test (string-for-each, string-for-each-index):
+       Add tests.  (Thanks to Alex Shinn.)
+
+2001-08-22  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * tests/srfi-13.test (string-map): Swapped order of string and
+       proc args to conform with the srfi.  (Thanks to Alex Shinn.)
+
+2001-08-12  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/getopt-long.test (exception:no-such-option,
+       exception:option-does-not-support-arg,
+       exception:option-must-be-specified,
+       exception:option-must-have-arg, exception:not-enough-args):
+       New vars.
+
+       ("option-ref", "required", "specified no value, given anyway",
+       "specified arg required"): New top-level sections.
+
+2001-08-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test:  Added Some syntax tests for
+       string->number.
+
+2001-08-09  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * Makefile.am (TESTS): Do not call the variable "TESTS", call it
+       "SCM_TESTS".  This has special meaning to automake.  How many
+       tries left to get this right, mvo?
+
+2001-08-08  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * Makefile.am (TESTS): List tests explicitely instead of using a
+       wildcard.  Wildcards don't seem to work for VPATH "make dist"s.
+
+2001-08-07  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * Makefile.am: New file, to control distribution of the
+       test-suite.
+
+2001-08-02  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/getopt-long.test: New file.
+
+2001-08-01  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * lib.scm (run-test-exception): Add special handling for
+       `error'-generated exceptions, which pass key `misc-error' and
+       leave messages unformatted.
+
+2001-07-18  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/alist.test, tests/bit-operations.test,
+       tests/common-list.test, tests/environments.test, tests/eval.test,
+       tests/gc.test, tests/hooks.test, tests/import.test,
+       tests/interp.test, tests/list.test, tests/load.test,
+       tests/numbers.test, tests/ports.test, tests/r4rs.test,
+       tests/version.test, tests/weaks.test, lib.scm, guile-test: Updated
+       copyright notice.
+
+2001-07-16  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-14.test: New file.
+
+2001-07-13  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/import.test: New file.
+
+2001-06-30  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/goops.test:  Started with some real tests.
+
+2001-06-30  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * guile-test:  Use module (ice-9 rdelim).
+
+2001-06-27  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-4.test: New file.
+
+2001-06-16  Marius Vollmer  <mvo@zagadka.ping.de>
+
+        Thanks to Matthias Köppe!
+
+       * tests/ports.test: New test for output port line counts.
+       * tests/format.test, tests/optargs.test, tests/srfi-19.test: New
+       files.
+
+2001-05-28  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/symbols.test ("gensym"): New tests for long gensym
+       prefices and embedded NULs in prefices.
+
+2001-05-21  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * test/goops.test, test/syncase.test: New, minimal tests.
+
+2001-05-19  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/version.test: Updated test for new micro version stuff.
+
+2001-05-16  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-13.test: More tests.
+
+2001-05-10  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-10.test: New file.
+
+       * tests/srfi-9.test: New file.
+
+       * tests/srfi-13.test: Added some more tests.
+
+2001-05-09  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/eval.test: ("evaluator" "memoization"): New test
+       prefix block.
+       ("transparency"): New "evaluator memoization" test.
+
+2001-05-08  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-13.test: Added module access kludge, and uncommented
+       some tests depending on this.
+
+2001-05-07  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/srfi-13.test: New file testing the SRFI string library.
+
+2001-04-26  Gary Houston  <ghouston@arglist.com>
+
+       * tests/r4rs.test: delete files tmp1, tmp2, tmp3 after the tests
+       have run.
+
+       * tests/ports.test (test-file), tests/load.test (temp-dir):
+       redefined using data-file-name instead of tmpnam.  the test files
+       will be created in the build directory instead of /var/tmp or
+       whereever tmpnam puts them.
+
+2001-04-02  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/symbols.c:  Added some tests.
+
+2001-03-19  Gary Houston  <ghouston@arglist.com>
+
+       * tests/r4rs.test: use test-file-name to locate r4rs.test,
+       not data-file-name.
+
+       * guile-test: define tmp-dir, the location where r4rs.test will
+       create it's temporary files.
+       (data-file-name): use tmp-dir.  this must be under build-dir,
+       not src-dir.
+
+2001-03-18  Gary Houston  <ghouston@arglist.com>
+
+       * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the
+       first line.
+
+2001-03-12  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test:  Added a test for let* bindings and
+       re-arranged and slightly improved the existing one.
+
+2001-03-09  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * tests/syntax.test ("let*"): Changed the `duplicate bindings'
+       test, dups are allowed in `let*' and are now expected to pass.
+
+2001-03-05  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (run-test-exception):  Preserve the original error's
+       stack for re-throwing.
+
+2001-03-04  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/syntax.test ("let,duplicate bindings", "let*,duplicate
+       bindings", "letrec,duplicate bindings"): Expect to pass, bug has
+       been fixed.
+
+2001-03-03  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * tests/syntax.test ("duplicate formals"): New category, move
+       appropriate tests here.  Expect them to pass.
+       ("empty parentheses"): Expect to pass, bug has been fixed.
+
+       * tests/alist.test: Use "'()" instead of "()" in all places
+       where the empty list is meant.
+
+2001-03-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (exception:unbound-var, exception:wrong-num-args):  New
+       exported constants.
+
+       * tests/r4rs.test:  Make sure that no bindings for x and y exist
+       after the file is loaded.
+
+       * tests/syntax.test:  New file.
+
+       * tests/exceptions.test, tests/syntax.test, tests/eval.test:
+       Moved the test cases that are related to guile's syntactic forms
+       from tests/exceptions.test to tests/syntax.test.  Moved tests
+       related to evaluation and application to tests/eval.test.
+
+       * tests/exceptions.test:  Added some test cases that check guile's
+       exception handling.
+
+2001-03-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/exceptions.test, tests/numbers.test:  Moved the number
+       related test cases from tests/exceptions.test to
+       tests/numbers.test.
+
+       * tests/numbers.test:  Added a test case.
+
+2001-03-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/symbols.test:  New file.
+
+       (exception:immutable-string):  New constant.  Currently, this is a
+       dummy since guile does not have immutable strings.
+
+       * tests/exceptions.test, tests/strings.test, tests/symbols.test:
+       Moved the string related test cases from tests/exceptions.test to
+       tests/strings.test and the symbol related test cases to
+       tests/symbols.test.
+
+       * tests/strings.test:  Copyright notice updated.  Added a couple
+       of test cases.
+
+       (exception:immutable-string):  New constant.  Currently, this is a
+       dummy since guile does not have immutable strings.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/exceptions.test:  Use expect-fail-exception to indicate
+       test cases where exceptions should occur, but don't.
+
+       (exception:bad-bindings, exception:bad-formals, exception:bad-var,
+       exception:missing/extra-expr):  New constants.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/reader.test, tests/exceptions.test:  Moved the reader
+       related test cases from tests/exceptions.test to
+       tests/reader.test.
+
+       * tests/reader.test (exception:eof, exception:unexpected-rparen):
+       New constants.
+
+       * tests/exceptions.test (read-string, x:eof, x:unexpected-rparen):
+       Removed.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (signals-error?, signals-error?*):  Removed.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm:  Added comment about new convenience functions/macros
+       to test for exceptions.
+
+       (exception:out-of-range, exception:wrong-type-arg):  New exported
+       constants.
+
+       (run-test-exception):  New function.
+
+       (pass-if-exception, expect-fail-exception):  New exported macros.
+
+       * tests/environments.test:  Fixed tests that were checking for
+       exceptions when set!ing an unbound symbol.
+
+       (exception:unbound-symbol):  New constant.
+
+       * tests/hooks.test (catch-error-returning-true, pass-if-not,
+       catch-error-returning-false), tests/weaks.test
+       (catch-error-returning-true, pass-if-not,
+       catch-error-returning-false):  Removed.  The macro pass-if-not was
+       not used.  The macro catch-error-returning-false is unnecessary
+       since exceptions are caught by the test-suite anyway.  The
+       functionality of catch-error-returning-true is provided by the new
+       convenience macro pass-if-exception.
+
+       * tests/hooks.test (exception:wrong-num-hook-args):  New constant.
+       Maybe a standard wrong-num-arg exception should be thrown instead
+       of a misc-error?
+
+       * tests/reader.test (try-to-read):  Replaced by read-string.
+
+       (read-string):  New function.
+
+       * tests/alist.test, tests/environments.test, tests/eval.test,
+       tests/hooks.test, tests/list.test, tests/ports.test,
+       tests/reader.test, tests/strings.test, tests/weaks.test:  Replace
+       tests for exceptions with the new convenience macros.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/alist.test:  Remove redundant test name prefix.
+
+2001-02-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (pass-if):  Tests shall return a boolean value.
+
+       * tests/bit-operations.test (documented?), tests/common-list.test
+       (documented?), tests/environments.test (documented?),
+       tests/eval.test (documented?), tests/gc.test (documented?),
+       tests/numbers.test (documented?), tests/guardians.test,
+       tests/hooks.test, tests/interp.test, tests/weaks.test:  Make sure
+       that tests return a boolean value.
+
+       * tests/list.test (documented?):  New function, replace all checks
+       for documentation with calls to this function.
+
+2001-02-27  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (data-file):  Remove from export list.
+
+2001-02-22  Thien-Thi Nguyen  <ttn@revel.glug.org>
+
+       * tests/exceptions.test (syntax lambda): Renamed from (lambda).
+       (syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
+       (syntax reading): New section.
+       (syntax let*): New section.
+       (syntax letrec): New section.
+       (syntax set!): New section.
+       (syntax misc): New section.
+       (bindings unbound): New section.
+       (bindings immutable-modification): New section.
+       (bindings let): New section.
+       (bindings let*): New section.
+       (bindings letrec): New section.
+
+       * tests/exceptions.test: New file.
+
+2001-02-08  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * guile-test: Use (ice-9 and-let-star) instead of (ice-9
+       and-let*).
+
 2001-01-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        This patch fixes things that I have broken with the last one :-(
@@ -192,7 +673,7 @@ Fri Dec 17 12:14:10 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
        * tests/c-api.test: Refine the list of files that are checked in
        the seek-offset-test.  Was just using files that end in "c", but
-       that caught the new ".doc" files, too, so make sure that files end 
+       that caught the new ".doc" files, too, so make sure that files end
        in ".c" before requiring that they include unistd.h if they
        reference SEEK_(SET|CUR|END).
 
@@ -214,7 +695,7 @@ Fri Dec 17 12:14:10 1999  Greg J. Badros  <gjb@cs.washington.edu>
 
        * tests/reader.test: Check that number->string checks its radix
        properly.
-       
+
 1999-09-20  Jim Blandy  <jimb@savonarola.red-bean.com>
 
        * tests/ports.test: Check that our input functions cope when