X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/b7d9b1cf5a1e1736b416e2e2dea1da46710154ba..da48db629c4f554518af65bf7b47a316e8c9f85f:/test-suite/ChangeLog diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index dbdec40cb..a42891980 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,3 +1,582 @@ +2003-10-18 Dirk Herrmann + + * tests/syntax.test (exception:bad-var): Removed. + + Adapted tests for 'set!' to the new way of error reporting. + +2003-10-18 Dirk Herrmann + + * tests/dynamic-scope.test (exception:missing-expr): Introduced + temporarily until all memoizers use the new way of error + reporting. + +2003-10-18 Dirk Herrmann + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * tests/syntax.test: Fixed and activated test of empty case label + support. + +2003-10-11 Dirk Herrmann + + * 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 + + * lib.scm (run-test-exception): Handle syntax errors. + +2003-10-10 Marius Vollmer + + * 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 + + * tests/numbers.test (inexact->exact): New tests. + + * tests/poe.test: New file. + * Makefile.am: Add it. + +2003-10-07 Dirk Herrmann + + * 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-), + 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 + + * tests/ports.test (call-with-output-string): Test proc closing port. + +2003-09-22 Dirk Herrmann + + * 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 + + * tests/popen.test: New file. + * Makefile.am (SCM_TESTS): Add it. + +2003-09-17 Dirk Herrmann + + * tests/numbers.test (equal?): Added tests. + + * tests/numbers.test (=): Fixed and added some bignum related + tests. + +2003-08-30 Kevin Ryde + + * tests/numbers.test (logcount): Add tests. + +2003-08-23 Kevin Ryde + + * tests/srfi-1.test (list-copy): New tests. + + * tests/srfi-19.test (date-week-number): Add tests. + +2003-08-22 Kevin Ryde + + * tests/numbers.test (-): Exercise bignum - inum. + +2003-08-17 Kevin Ryde + + * tests/syntax.test (while): Exercise break and continue from + recursive nested loops. + +2003-08-14 Kevin Ryde + + * tests/syntax.test (while): New tests. + +2003-08-10 Dirk Herrmann + + * 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 + + * tests/srcprop.test: New file. + * Makefile.am (SCM_TESTS): Add it. + +2003-07-29 Kevin Ryde + + * 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 + + * tests/numbers.test (angle): New tests. + +2003-07-18 Kevin Ryde + + * tests/numbers.test (*): Add complex/bignum test. + +2003-07-14 Matthias Koeppe + + * tests/srfi-1.test (partition): Add tests. + +2003-07-08 Kevin Ryde + + * 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 + + * tests/numbers.test (truncate, round, asinh, acosh, atanh): Add some + tests. + +2003-06-19 Kevin Ryde + + * 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 + + * tests/srfi-6.test: New file. + * Makefile.am (SCM_TESTS): Add it. + +2003-06-05 Dirk Herrmann + + * 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 + + * 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 + + * 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 + + * tests/pairs.test: Added. + +2003-06-01 Dirk Herrmann + + * tests/vectors.test: Added. + +2003-06-01 Dirk Herrmann + + * tests/guardians.test: Uses module (ice-9 weak-vector). + +2003-05-30 Dirk Herrmann + + * lib.scm: Documented the short form for pass-if and expect-fail. + + (pass-if, expect-fail): Simplified. + +2003-05-30 Kevin Ryde + + * tests/numbers.test (max, min): Add tests involving NaNs. + +2003-05-29 Stefan Jahn + + * standalone/Makefile.am: Setup to build on mingw32. + +2003-05-27 Dirk Herrmann + + * tests/elisp.test: Added missing quote around vector constants. + +2003-05-25 Dirk Herrmann + + * tests/r5rs_pitfall.test: Test 2.1 now passes. + +2003-05-13 Kevin Ryde + + * 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 + + * 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 + + * tests/numbers.test (-): Add test for negative inum subtract bignum. + (logcount): New tests, exercising some negatives. + +2003-05-03 Marius Vollmer + + * tests/r5rs_pitfall.test: New. Thanks to Dale P. Smith for + pointing us to these tests. + +2003-04-30 Neil Jerram + + * Makefile.am (SCM_TESTS): Add tests/srfi-34.test. + + * tests/srfi-34.test: New file. + +2003-04-23 Dirk Herrmann + + * 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 + + * tests/guardians.test: Added some more elaborate and + sophisticated tests for the guardian functionality. + +2003-04-21 Dirk Herrmann + + * 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 + + * 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 + + * tests/goops.test: Added tests for class redefinition, object + update and active slots. + +2003-04-14 Rob Browning + + * 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 + + * standalone/Makefile.am (snarfcppopts): use DEFAULT_INCLUDES + instead of INCLUDES + +2003-04-07 Rob Browning + + * 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 + + * Changed license terms to the plain LGPL thru-out. + +2003-03-24 Rob Browning + + * 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 + + * tests/format.test ("format basic output"): Added test for "~F" + from Matthias Koeppe. + +2003-02-19 Mikael Djurfeldt + + * tests/elisp.test: Use module (ice-9 weak-vector). + + * tests/weaks.test: Use module (ice-9 weak-vector). + +2002-12-08 Rob Browning + + * tests/version.test: test (effective-version). + +2002-11-06 Neil Jerram + + * tests/options.test: New. + +2002-10-04 Rob Browning + + * tests/numbers.test ("expt"): add tests. + +2002-09-09 Marius Vollmer + + * Makefile.am (dist-hook): Do not distribute CVS directories. + Thanks to Greg Troxel! + +2002-08-06 Han-Wen Nienhuys + + * tests/reader.test: change misc-error in read-error. + +2002-07-13 Dirk Herrmann + + * tests/goops.test: Added tests for define-generic and + define-accessor. + +2002-07-13 Dirk Herrmann + + * tests/goops.test: Added tests for define-class. + +2002-05-07 Marius Vollmer + + * tests/numbers.test (/): Expect divison by an inexact zero to + yield +inf.0. + +2002-05-06 Marius Vollmer + + * 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 + + * tests/srfi-13.test (string-tokenize): Updated for fixed + semantics. + +2002-04-16 Marius Vollmer + + * Makefile.am (SCM_TESTS_DIRS, dist-hook): New, distribute + directories manually. + +2002-02-09 Thien-Thi Nguyen + + * 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 + + * tests/elisp.test: Add tests of Elisp expression evaluation. + +2002-01-25 Neil Jerram + + * 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 + + * tests/elisp.test: More new tests for the Elisp nil value. + +2002-01-22 Neil Jerram + + * Makefile.am (SCM_TESTS): Added elisp.test. + + * tests/elisp.test: New file. + +2001-11-22 Dirk Herrmann + + * tests/numbers.test: Added more division by zero tests. + +2001-11-22 Dirk Herrmann + + * tests/numbers.test: Added division by zero tests. + +2001-11-17 Dirk Herrmann + + * 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 + + * tests/ports.test: Run (close-port) before (delete-file) if + necessary/advisory. + +2001-10-26 Dirk Herrmann + + * tests/eval.test: Added tests for promises. + +2001-10-21 Mikael Djurfeldt + + * 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 + + * 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 + + * tests/syntax.test: Added test cases for 'lambda' syntax. + +2001-10-13 Dirk Herrmann + + * tests/syntax.test: Added test cases for 'case' syntax. + 2001-10-13 Dirk Herrmann * tests/numbers.test: Added a test case that checks if valid