*** empty log message ***
[bpt/guile.git] / test-suite / ChangeLog
index 7ee1d51..0d6e7a6 100644 (file)
@@ -1,3 +1,598 @@
+2003-11-15  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/bit-operations.test: Use (test-suite lib), for the benefit of
+       standalone execution.
+
+2003-11-09  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/optargs.test: Wrap tests in module (test-suite
+       test-<file-name without .test>).  Rewrite test to be R5RS
+       conforming.
+
+       * tests/syntax.test: Added test to check correct handling of
+       internal defines.
+
+2003-11-08  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing-body-expr): New.
+
+       Renamed section 'define' to 'top-level define' and added a new
+       section 'internal define' with some tests.
+
+2003-11-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing/extra-expr-misc): Removed.
+
+       (exception:illegal-empty-combination): New.
+
+       (exception:missing/extra-expr): Unified capitalization.
+
+       Adapted test for '()' to the new way of error reporting.
+
+2003-10-19  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test: Use define-module to hide helper defines.
+       (dbl-mant-dig, ash-flo): New helpers.
+       (exact->inexact): New tests.
+
+2003-10-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:bad-var): Removed.
+
+       Adapted tests for 'set!' to the new way of error reporting.
+
+2003-10-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/dynamic-scope.test (exception:missing-expr): Introduced
+       temporarily until all memoizers use the new way of error
+       reporting.
+
+2003-10-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing/extra-expr,
+       exception:missing/extra-expr-misc): Renamed
+       exception:missing/extra-expr to exception:missing/extra-expr-misc.
+
+       (exception:missing/extra-expr-syntax,
+       exception:missing/extra-expr): Renamed
+       exception:missing/extra-expr-syntax to
+       exception:missing/extra-expr.
+
+2003-10-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (exception:bad-variable): New.
+
+       * tests/syntax.test (exception:bad-binding,
+       exception:duplicate-binding): New.
+
+       (exception:duplicate-bindings): Removed.
+
+       Adapted tests for 'let', 'let*' and 'letrec' to the new way of
+       error reporting.
+
+2003-10-12  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (define exception:bad-formal, define
+       exception:duplicate-formal): New.
+
+       (exception:duplicate-formals): Removed.
+
+       (exception:bad-formals): Adapted to the new way of error
+       reporting.
+
+       Adapted tests for 'lambda' to the new way of error reporting.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing/extra-expr-syntax): Fixed
+       to be unaware of whether line number information is given or not.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing/extra-expr-syntax): New,
+       introduced temporarily until all memoizers use the new way of
+       error reporting.
+
+       Adapted tests for 'if' to the new way of error reporting.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:missing-expr,
+       exception:extra-expr): New.
+
+       Adapted tests for 'begin' to the new way of error
+       reporting.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:misplaced-else-clause,
+       exception:bad-cond-clause): New.
+
+       (exception:bad/missing-clauses, exception:extra-case-clause):
+       Removed.
+
+       Adapted tests for 'case' and 'cond' to the new way of error
+       reporting.
+
+       The tests that check if cond is hygienic pass now.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test: Fixed and activated test of empty case label
+       support.
+
+2003-10-11  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test (exception:bad-expression,
+       exception:missing-clauses, exception:bad-case-clause,
+       exception:extra-case-clause, exception:bad-case-labels): New.
+
+       Added some tests and adapted tests for 'case' to the new way of
+       error reporting.
+
+2003-10-10  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (run-test-exception): Handle syntax errors.
+
+2003-10-10  Marius Vollmer  <mvo@zagadka.de>
+
+       * tests/numbers.test (inexact->exact): Use corrent argument order
+       for pass-if-exception.  Use "+inf.0" instead of "+.inf", etc.
+
+2003-10-09  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (inexact->exact): New tests.
+
+       * tests/poe.test: New file.
+       * Makefile.am: Add it.
+
+2003-10-07  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm (exception:missing-expression): New.
+
+       * tests/dynamic-scope.test, tests/eval.test,
+       tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test:
+       Wrap tests in module (test-suite test-<file-name without .test>),
+       following a practice that was used on a couple of files already.
+
+       * tests/dynamic-scope.test (exception:duplicate-binding,
+       exception:bad-binding): New.
+
+       * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test:
+       Execute syntactically wrong tests using eval.  With the upcoming
+       new memoizer this is necessary in order to postpone the syntax
+       check to the actual evaluation of the syntactically wrong form.
+
+       * tests/syntax.test: Added some test cases and modified one test
+       case.
+
+2003-10-02  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/ports.test (call-with-output-string): Test proc closing port.
+
+2003-09-22  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * guile-test: Wrapped in module (test-suite guile-test).
+
+       (main data-file-name test-file-name): Exported.
+
+       ((guile-user)::main): New function, wrapper for function
+       (test-suite guile-test)::main.
+
+       * tests/load.test: Wrapped in module (test-suite test-load).
+
+       * tests/ports.test: Wrapped in module (test-suite test-ports).
+
+       * tests/r4rs.test: Wrapped in module (test-suite test-r4rs).
+       Added comments about the required structure of the file itself,
+       since it is subject to some tests.  Removed some now unnecessary
+       undefine operations.
+
+       * tests/syntax.test: Wrapped in module (test-suite test-syntax)
+
+2003-09-19  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/popen.test: New file.
+       * Makefile.am (SCM_TESTS): Add it.
+
+2003-09-17  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test (equal?): Added tests.
+
+       * tests/numbers.test (=): Fixed and added some bignum related
+       tests.
+
+2003-08-30  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (logcount): Add tests.
+
+2003-08-23  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srfi-1.test (list-copy): New tests.
+
+       * tests/srfi-19.test (date-week-number): Add tests.
+
+2003-08-22  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (-): Exercise bignum - inum.
+
+2003-08-17  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/syntax.test (while): Exercise break and continue from
+       recursive nested loops.
+
+2003-08-14  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/syntax.test (while): New tests.
+
+2003-08-10  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/numbers.test: Eliminated misuses of expect-fail.  It
+       should only be used in cases, where guile has a known bug.  It
+       should not be used in cases where an expression is expected to
+       return #f as its correct result.
+
+2003-08-09  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srcprop.test: New file.
+       * Makefile.am (SCM_TESTS): Add it.
+
+2003-07-29  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srfi-1.test (concatenate, concatenate!): New tests.
+       (length+): New tests.
+
+       * tests/srfi-34.test: Check cond-expand srfi-34.
+
+2003-07-24  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (angle): New tests.
+
+2003-07-18  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (*): Add complex/bignum test.
+
+2003-07-14  Matthias Koeppe  <mkoeppe@mail.math.uni-magdeburg.de>
+
+       * tests/srfi-1.test (partition): Add tests.
+
+2003-07-08  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (make-polar, magnitude): New tests.
+
+       * tests/srfi-1.test (delete, delete!): Add more tests.
+       (delete-duplicates, delete-duplicates!): New tests.
+
+2003-06-21  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some
+       tests.
+       
+2003-06-19  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
+       * tests/threads.test: New file, exercising parallel.
+       * Makefile.am (SCM_TESTS): Add them.
+
+2003-06-07  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/srfi-6.test: New file.
+       * Makefile.am (SCM_TESTS): Add it.
+
+2003-06-05  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/chars.test: Fixed test comment.  The bug that this test
+       detects was actually introduced by my patch from 2003-05-31.
+
+2003-06-05  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/chars.test: Added test, attempting to apply a character.
+       This test will only pass if the other changes that are submitted
+       together with this patch are also applied.
+
+2003-06-05  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (logcount): Add a few more tests, to exercise
+       recent scm_logcount change.
+
+       * tests/reader.test (reading): Test bad # error message is formattable.
+       
+2003-06-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/pairs.test: Added.
+
+2003-06-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/vectors.test: Added.
+
+2003-06-01  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/guardians.test: Uses module (ice-9 weak-vector).
+
+2003-05-30  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * lib.scm: Documented the short form for pass-if and expect-fail.
+
+       (pass-if, expect-fail): Simplified.
+
+2003-05-30  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (max, min): Add tests involving NaNs.
+
+2003-05-29  Stefan Jahn  <stefan@lkcc.org>
+
+       * standalone/Makefile.am: Setup to build on mingw32.
+
+2003-05-27  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/elisp.test: Added missing quote around vector constants.
+
+2003-05-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/r5rs_pitfall.test: Test 2.1 now passes.
+
+2003-05-13  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (=, <, max, min): Add tests of bignum/inf
+       combinations.
+
+       * tests/srfi-1.test (delete, delete!): Test predicate call arg order.
+
+2003-05-10  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (=, <): Add tests involving NaNs.
+
+       * tests/numbers.test (integer-length): Exercise some negatives, in
+       particular -2^n which is ...11100..00.
+
+       * tests/numbers.test (gcd): Exercise bignum/inum with a bignum not
+       fitting a ulong.
+
+       * tests/srfi-1.test: New file, exercising take and drop.
+       * Makefile.am (SCM_TESTS): Add it.
+
+2003-05-06  Kevin Ryde  <user42@zip.com.au>
+
+       * tests/numbers.test (-): Add test for negative inum subtract bignum.
+       (logcount): New tests, exercising some negatives.
+       
+2003-05-03  Marius Vollmer  <mvo@zagadka.de>
+
+       * tests/r5rs_pitfall.test: New.  Thanks to Dale P. Smith for
+       pointing us to these tests.
+
+2003-04-30  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * Makefile.am (SCM_TESTS): Add tests/srfi-34.test.
+
+       * tests/srfi-34.test: New file.
+
+2003-04-23  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/syntax.test: Modified some tests to use eval when
+       providing bad syntax.  Otherwise, the memoizer will report an
+       error immediately after reading the form, without even the chance
+       to get the pass-if-exception mechanism started.
+
+2003-04-23  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/guardians.test: Added some more elaborate and
+       sophisticated tests for the guardian functionality.
+
+2003-04-21  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tests/sort.test: Added.  Both tests in that file did fail (one
+       even with a segfault) with CVS guile before the recent changes to
+       sort.c.
+
+2003-04-17  Mikael Djurfeldt  <djurfeldt@nada.kth.se>
+
+       * tests/goops.test: Added tests for correctness of class
+       precedence list in all basic classes and tests for eqv? and
+       equal?.
+
+2003-04-15  Mikael Djurfeldt  <djurfeldt@nada.kth.se>
+
+       * tests/goops.test: Added tests for class redefinition, object
+       update and active slots.
+
+2003-04-14  Rob Browning  <rlb@defaultvalue.org>
+
+       * standalone/test-asmobs-lib.c (libtest_asmobs_init): include
+       test-asmobs-lib.x rather than test-asmobs-lib.x.c.
+
+       * standalone/Makefile.am: change from .c.x to .x to be consistent
+       with the rest of guile.
+
+2003-04-09  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES
+       instead of INCLUDES
+
+2003-04-07  Rob Browning  <rlb@defaultvalue.org>
+
+       * Makefile.am (SUBDIRS): add standalone.
+
+       * guile-test: added "Running test FOO" output by default.  There
+       may be a good reason to remove this, but the output can be helpful
+       in determining where a failure occurred.
+
+       * standalone/test-num2integral.c: new test -- one new regression
+       check.
+
+       * standalone/test-gh.c: new test code (migrated from
+       tests/c-api/) -- a trivial start.
+
+       * standalone/test-asmobs-lib.c: new test script (migrated from
+       tests/asmobs/).
+
+       * standalone/test-asmobs: new test script.
+
+       * standalone/README: new file.
+
+       * standalone/Makefile.am: new file.
+
+       * standalone/.cvsignore: new file.
+
+       * tests/asmobs/Makefile: removed (functionality is now in standalone/).
+
+       * tests/asmobs/README: removed (functionality is now in standalone/).
+
+       * tests/asmobs/asmobs-test.scm: removed (functionality is now in
+       standalone/).
+
+       * tests/asmobs/asmobs.c: removed (functionality is now in standalone/).
+
+       * tests/asmobs/: removed (functionality is now in standalone/).
+
+       * tests/c-api/strings.c: add a note to the source about this code
+       being unused.
+
+2003-04-05  Marius Vollmer  <mvo@zagadka.de>
+
+        * Changed license terms to the plain LGPL thru-out.
+
+2003-03-24  Rob Browning  <rlb@defaultvalue.org>
+
+       * tests/numbers.test: added tests (some simple) for various funcs.
+       ("odd?"): added tests.
+       ("even?"): added tests.
+       ("nan?"): added tests.
+       ("abs"): added tests.
+       ("lcm"): added tests.
+       ("number->string"): added tests.
+       ("number?"): added tests.
+       ("complex?"): added tests.
+       ("real?"): added tests.
+       ("rational?"): added tests.
+       ("integer?"): added tests.
+       ("inexact?"): added tests.
+       ("="): added tests.
+       ("zero?"): added tests.
+       ("positive?"): added tests.
+       ("negative?"): added tests.
+
+       * lib.scm (pass-if): allow really simple tests where the test code
+       is also the name like (pass-if (even? 2)).
+       (expect-fail): allow really simple tests where the test code is
+       also the test name like (expect-fail (even? 2)).
+
+2003-03-19  Marius Vollmer  <mvo@zagadka.de>
+
+       * tests/format.test ("format basic output"): Added test for "~F"
+       from Matthias Koeppe.
+
+2003-02-19  Mikael Djurfeldt  <djurfeldt@nada.kth.se>
+
+       * tests/elisp.test: Use module (ice-9 weak-vector).
+
+       * tests/weaks.test: Use module (ice-9 weak-vector).
+
+2002-12-08  Rob Browning  <rlb@defaultvalue.org>
+
+       * tests/version.test: test (effective-version).
+
+2002-11-06  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * tests/options.test: New.
+
+2002-10-04  Rob Browning  <rlb@defaultvalue.org>
+
+       * tests/numbers.test ("expt"): add tests.
+
+2002-09-09  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * Makefile.am (dist-hook): Do not distribute CVS directories.
+       Thanks to Greg Troxel!
+
+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',