2003-11-18 Marius Vollmer * tests/numbers.test ("string->number"): Expect exact rationals for things like "1/2" and "#e1.2". ("inexact->exact"): Expect overflow error for infs and nans. * tests/fractions.test: New file from Bill Schottstaedt. Thanks! * tests/bit-operations.test (fixnum-bit): Round the result so that fixnum-bit really is an integer. 2003-11-17 Marius Vollmer * tests/srfi-17.test: Expect a "Bad variable" error for (set! #f 1). 2003-11-15 Dirk Herrmann * tests/syntax.test: Tests that check for the correct handling of internal defines with begin work now. 2003-11-15 Dirk Herrmann * tests/syntax.test: Fixed test that checks for the correct handling of macros in the context of internal defines. 2003-11-15 Kevin Ryde * tests/bit-operations.test: Use (test-suite lib), for the benefit of standalone execution. 2003-11-09 Dirk Herrmann * tests/optargs.test: Wrap tests in module (test-suite test-). Rewrite test to be R5RS conforming. * tests/syntax.test: Added test to check correct handling of internal defines. 2003-11-08 Dirk Herrmann * 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 * 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 * 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 * 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 number strings are transformed correctly by string->number. 2001-09-21 Rob Browning * tests/numbers.test (fixnum-bit): compute dynamically. * tests/bit-operations.test (fixnum-bit): compute dynamically. 2001-09-07 Thien-Thi Nguyen * tests/getopt-long.test ("apples-blimps-catalexis example", "multiple occurances"): New top-level sections. 2001-08-31 Dirk Herrmann * tests/numbers.test: Made some of the patterns better readable. 2001-08-25 Thien-Thi Nguyen * 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 * tests/dynamic-scope.test: New file. 2001-08-24 Thien-Thi Nguyen * tests/srfi-13.test (string-for-each, string-for-each-index): Add tests. (Thanks to Alex Shinn.) 2001-08-22 Mikael Djurfeldt * 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 * 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 * tests/numbers.test: Added Some syntax tests for string->number. 2001-08-09 Marius Vollmer * 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 * 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 * Makefile.am: New file, to control distribution of the test-suite. 2001-08-02 Thien-Thi Nguyen * tests/getopt-long.test: New file. 2001-08-01 Thien-Thi Nguyen * 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 * 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 * tests/srfi-14.test: New file. 2001-07-13 Marius Vollmer * tests/import.test: New file. 2001-06-30 Dirk Herrmann * tests/goops.test: Started with some real tests. 2001-06-30 Dirk Herrmann * guile-test: Use module (ice-9 rdelim). 2001-06-27 Martin Grabmueller * tests/srfi-4.test: New file. 2001-06-16 Marius Vollmer 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 * tests/symbols.test ("gensym"): New tests for long gensym prefices and embedded NULs in prefices. 2001-05-21 Marius Vollmer * test/goops.test, test/syncase.test: New, minimal tests. 2001-05-19 Marius Vollmer * tests/version.test: Updated test for new micro version stuff. 2001-05-16 Martin Grabmueller * tests/srfi-13.test: More tests. 2001-05-10 Martin Grabmueller * 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 * tests/eval.test: ("evaluator" "memoization"): New test prefix block. ("transparency"): New "evaluator memoization" test. 2001-05-08 Martin Grabmueller * tests/srfi-13.test: Added module access kludge, and uncommented some tests depending on this. 2001-05-07 Martin Grabmueller * tests/srfi-13.test: New file testing the SRFI string library. 2001-04-26 Gary Houston * 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 * tests/symbols.c: Added some tests. 2001-03-19 Gary Houston * 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 * guile-test: use #!/bogus-path/..., not #!/home/dirk/... in the first line. 2001-03-12 Dirk Herrmann * tests/syntax.test: Added a test for let* bindings and re-arranged and slightly improved the existing one. 2001-03-09 Martin Grabmueller * 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 * lib.scm (run-test-exception): Preserve the original error's stack for re-throwing. 2001-03-04 Marius Vollmer * tests/syntax.test ("let,duplicate bindings", "let*,duplicate bindings", "letrec,duplicate bindings"): Expect to pass, bug has been fixed. 2001-03-03 Marius Vollmer * 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 * 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 * 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 * 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 * 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 * 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 * lib.scm (signals-error?, signals-error?*): Removed. 2001-02-28 Dirk Herrmann * 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 * tests/alist.test: Remove redundant test name prefix. 2001-02-28 Dirk Herrmann * 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 * lib.scm (data-file): Remove from export list. 2001-02-22 Thien-Thi Nguyen * 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 * guile-test: Use (ice-9 and-let-star) instead of (ice-9 and-let*). 2001-01-26 Dirk Herrmann This patch fixes things that I have broken with the last one :-( * guile-test (test-suite): New variable. (data-file-name): New function. Has the same purpose as the former function data-file from lib.scm. Moved here in order to have all file name handling at the same place. In contrast to the former 'data-file function, it is not checked whether a file exists. This allows to use this function also for file names of files that are still to be created. (test-file-name): Use the global 'test-suite variable. (main): Initialize 'test-suite instead of a local variable. * lib.scm: Don't import paths any more. (data-file): Removed. Resurrected with a sligtly different functionality as 'data-file-name' in guile-test. * r4rs.scm: For all references to temporary file, make use of data-file-name. 2001-01-26 Dirk Herrmann The following patch was sent by Thien-Thi Nguyen and a little bit modified by me. * guile-test: Usage and installation comments improved. Added support for --test-suite and --debug command line options. (default-test-suite): Added to allow for simplified configurability. No need to load the paths file any more. (enable-debug-mode): New function. Will be called when the --debug command line option is given. (test-root): Removed. The test directory has to be fully given. This allows for arbitrarily named test directories. (test-file-name, enumerate-tets): Take the test directory as a paramter instead of using the global variable 'test-root'. (main): Handle the new command line options. Return an exit code depending on whether all tests came out as expected. * README: Updated. * paths.scm: Removed. 2001-01-24 Gary Houston * tests/ports.test: include (ice-9 rdelim) module. 2001-01-18 Dirk Herrmann * tests/numbers.test: Converted to do real boundary testing. 2001-01-17 Dirk Herrmann * tests/bit-operations.test: Added. 2000-11-03 Dirk Herrmann * tests/gc.test: Added. 2000-10-30 Dirk Herrmann * tests/strings.test: string=? is fixed. 2000-10-13 Dirk Herrmann * tests/list.test: Removed references to sloppy-mem(q|v|ber) 2000-09-26 Dirk Herrmann * tests/strings.test: Added a test to help remember that string=? and friends need fixing. 2000-09-12 Dirk Herrmann * tests/environments.test: For tests that rely on garbage collection, conservative scanning can be a problem. Add a comment for these tests and make them turn out unresolved if things don't work as expected. 2000-09-05 Dirk Herrmann * tests/environments.test: Finished and cleaned up the tests for the leaf environments. Added a complete set of testcases for the leaf environment based eval environments. Started with the tests for the import environments. 2000-08-25 Dirk Herrmann * tests/environments.test: Added. 2000-08-21 Dirk Herrmann * lib.scm (pass-if, expect-fail): Generalized to allow a sequence of expressions. * tests/eval.test: Fix documentation test. 2000-06-30 Dirk Herrmann * tests/list.test: Added tests for list-ref, list-set! and list-cdr-set! 2000-06-21 Dirk Herrmann * tests/common-list.test: Added. 2000-06-21 Dirk Herrmann * tests/eval.test: Added. 2000-06-16 Dirk Herrmann * tests/list.test: Use cons* instead of list*. 2000-06-13 Mikael Djurfeldt * tests/numbers.test, tests/list.test: Updated for new documentation module. 2000-05-26 Dirk Herrmann * tests/hooks.test: make-hook-with-name is deprecated. 2000-05-08 Dirk Herrmann * tests/list.test, tests/numbers.test: Added. 2000-05-08 Dirk Herrmann * guile-test: Eliminate use of catch-test-errors. * lib.scm: Adopted a couple of nice ideas from Greg. (pass, fail, expect-failure, expect-failure-if, expect-failure-if*, catch-test-errors, catch-test-errors*, expected-failure-fluid, pessimist?): Removed. (run-test, expect-fail, result-tags, important-result-tags): Added. (report, make-count-reporter, print-counts, make-log-reporter, full-reporter, user-reporter): Reporters take two mandatory arguments and make use of the tag descriptions in result-tags and important-result-tags. * tests/alist.test, tests/hooks.test, tests/ports.test, tests/weaks.test: Don't use catch-test-errors and expect-failure-if. 2000-05-05 Dirk Herrmann * mambo.test: Removed dummy file. 2000-03-31 Gary Houston * tests/ports.test (non-blocking-I/O): a couple more details: a) combine the O_NONBLOCK flag with the default flags instead of replacing them. b) check EWOULDBLOCK as well as EAGAIN. 2000-03-22 Jim Blandy * lib.scm: Doc fixes. Sun Jan 16 14:01:51 2000 Greg J. Badros * paths.scm: Assume that ~/guile-core/test-suite is the location of the test suite now. * tests/version.test: Added -- version.c had 0% coverage before, now at 100%. * tests/chars.test: Added -- needed test of char-is-both?. 1999-12-22 Greg Harvey * tests/weaks.test, tests/hooks.test: Added. 1999-12-18 Greg Harvey * tests/alist.test: Added. Fri Dec 17 12:14:10 1999 Greg J. Badros * 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 in ".c" before requiring that they include unistd.h if they reference SEEK_(SET|CUR|END). 1999-10-24 Gary Houston * tests/ports.test ("string ports"): test seeking/unreading from an input string and seeking an output string. 1999-10-20 Gary Houston * tests/ports.test: in seek/tell test on input port, also test that ftell doesn't discard unread chars. 1999-10-18 Gary Houston * tests/ports.test: add seek/tell tests for unidirectional ports. 1999-09-25 Jim Blandy * tests/reader.test: Check that number->string checks its radix properly. 1999-09-20 Jim Blandy * tests/ports.test: Check that our input functions cope when current-input-port is closed. * tests/regexp.test: Check regexp-substitute/global when there are no matches. (Duh.) 1999-09-15 Mikael Djurfeldt * tests/c-api.test: New file. Add test to check that all source files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h. 1999-09-14 Gary Houston * tests/ports.test: test non-blocking I/O. 1999-09-11 Jim Blandy * tests/strings.test: Add test for substring-move! argument checking. * lib.scm (signals-error?, signals-error?*): New macro and function. * tests/reader.test: Use them. * tests/interp.test: Add copyright notice. * tests/reader.test: New test file. * tests/regexp.test: New test file. 1999-09-06 Mikael Djurfeldt * tests/interp.test: Added tests for evaluation of closure bodies. 1999-09-03 James Blandy * tests/multilingual.nottest: New file, which we will turn into a test file once we actually have multilingual support to test. * tests/load.test: New test file. 1999-08-30 James Blandy * tests/strings.test: New test file. 1999-08-29 Gary Houston * tests/ports.test: test unread-char and unread-string. 1999-08-19 Gary Houston * tests/ports.test: test line-buffering of fports. 1999-08-18 Gary Houston * tests/ports.test: tests for NUL and non-ASCII chars to fports. 1999-08-12 Gary Houston * tests/ports.test: lseek -> seek. 1999-08-04 Gary Houston * tests/ports.test: tests for buffered and unbuffered input/output fports with seeking. 1999-08-01 Jim Blandy * tests/r4rs.test (SECTION 3 4): Each element of type-matrix corresponds to an example object, not a predicate. Aubrey probably never noticed this because SCM doesn't check the lengths of the arguments to for-each and map... * tests/ports.test: Add some regression tests for char-ready?. 1999-07-19 Jim Blandy * tests/ports.test: Fix copyright years. * tests/guardians.test: New test file. * tests/ports.test ("read-delimited!"): New tests. 1999-06-19 Jim Blandy * tests/interp.test: New file. 1999-06-15 Jim Blandy * tests/time.test: New test file. * tests/r4rs.test: New set of tests, taken from Guile's test script, taken from SCM. * tests/ports.test: Group the string port tests under a new test name prefix. * tests/ports.test ("line counter"): Check the final column, too. * lib.scm: Import (test-suite paths). (data-file): New exported function. 1999-06-12 Jim Blandy * tests/ports.test ("line counter"): Add test for correct column at EOF. 1999-06-09 Jim Blandy * tests/ports.test ("line counter"): Verify that we do eventually get EOF on the port --- don't just read forever. * lib.scm (full-reporter): The test name is the cadr of the result, not the cdr. I'm not macho enough to handle run-time typechecking. * lib.scm (print-counts): XFAILS are "expected failures", not "unexpected failures." * lib.scm, guile-test, paths.scm: Log begins.